When I'm trying to save a product in Magento I receive this issue:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
papet_mag
.innobyte_emag_marketplace_product_cat_characteristic
, CONSTRAINTFK_FC8B248E7E23F0E4DAEC8D31641C9910
FOREIGN KEY (product_id
) REFERENCES `innobyte_emag_marketplace_category_c)
query was:
INSERT INTO `innobyte_emag_marketplace_product_cat_characteristic` (`product_id`,`characteristic_id`,`value`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?), (?, ?, ?), (?, ?, ?), (?, ?, ?), (?, ?, ?), (?, ?, ?)
What can I do to resolve it ? This is new for me. This issue appear recently