{"0":"SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (mm_29.order_custom_engravings, CONSTRAINT FK_ORDER_CUSTOM_ENGRAVINGS_PRD_ID_SALES_FLAT_ORDER_ITEM_ITEM_ID FOREIGN KEY (order_item_id) REFERENCES sales_flat_order_item (item_id) ON ), query was: UPDATE order_custom_engravings SET order_id = ?, order_item_id = ?, updated_at = '2019-06-02 06:18:35' WHERE (engraving_id='143576')","1":"#0 /var/www/html/mm/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array)\n#1 /var/www/html/mm/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303):

Any help would be appreciated

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.