1

I just updated to 2.3 and when i try to "setup:uprade" i'm getting next error:

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (project.catalog_product_entity_int, CONSTRAINT CAT_PRD_ENTT_INT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID FOREIGN KEY (entity_id) REFERENCES catalog_product_entity (entity_id) ON DELET), query was: INSERT INTO catalog_product_entity_int(attribute_id, store_id, entity_id, value) VALUES (:attribute_id0,:store_id0,:entity_id0,:value0),(:attribute_id1,:store_id1,:entity_id1,:value1),(:attribute_id2,:store_id2,:entity_id2,:value2),(:attribute_id3,:store_id3,:entity_id3,:value3) ON duplicate KEY UPDATE value = VALUES(value)

But cant i cant find 'CAT_PRD_ENTT_INT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID' entry in this table? How can i solve this? enter image description here

2
  • same issue here with table quote_address
    – Jared Chu
    Apr 24, 2019 at 9:00
  • Did you solve the issue?
    – zus
    Sep 20, 2020 at 13:40

1 Answer 1

0

Please check with catalog_product_entity table. I was check with this table its belongs to CAT_PRD_ENTT_INT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID

1
  • 2
    can you pls explain the steps to do that\ Jan 22, 2020 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.