iPay88 integration with Magento 2
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
"0":"SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
magento2
.sales_order_status_history
, CONSTRAINTSALES_ORDER_STATUS_HISTORY_PARENT_ID_SALES_ORDER_ENTITY_ID
FOREIGN KEY (parent_id
) REFERENCESsales_order
(entity_id
) ON DELETE CASC), query was: INSERT INTOsales_order_status_history
(is_customer_notified
,is_visible_on_front
,comment
,status
,entity_name
) VALUES (?, ?, ?, ?, ?)","1":"#1