There has been an error processing your request

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`autogedal_m2`.`mageplaza_productattachments_log`, CONSTRAINT `FK_84DF42FB7705B69A78433065CC782D9C` FOREIGN KEY (`file_id`) REFERENCES `mageplaza_productattachments_file` (`file_id`) ON DELETE), query was: INSERT INTO `mageplaza_productattachments_log` (`file_id`, `customer_id`, `product_id`, `file_action`, `store_id`, `customer_group`) VALUES (?, ?, ?, ?, ?, ?)

Error log record number: d6e40c0da11ca6f6deaf254913be3bbaa8cb006304933c85a29e22515db07539