mage2pro / ipay88

iPay88 integration with Magento 2
https://upwork.com/fl/mage2pro
6 stars 4 forks source link

«Cannot add or update a child row: a foreign key constraint fails (magento2.sales_order_status_history, CONSTRAINT SALES_ORDER_STATUS_HISTORY_PARENT_ID_SALES_ORDER_ENTITY_ID FOREIGN KEY (parent_id) REFERENCES sales_order (entity_id) ON DELETE CASC), query was: INSERT INTO sales_order_status_history (is_customer_notified, is_visible_on_front, comment, status, entity_name)» #20

Closed PoiCheong closed 3 years ago

PoiCheong commented 3 years ago

"0":"SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (magento2.sales_order_status_history, CONSTRAINT SALES_ORDER_STATUS_HISTORY_PARENT_ID_SALES_ORDER_ENTITY_ID FOREIGN KEY (parent_id) REFERENCES sales_order (entity_id) ON DELETE CASC), query was: INSERT INTO sales_order_status_history (is_customer_notified, is_visible_on_front, comment, status, entity_name) VALUES (?, ?, ?, ?, ?)","1":"#1

dmitrii-fediuk commented 3 years ago

A duplicate of https://github.com/mage2pro/ipay88/issues/18