I have installed “Order Approuver ” and Order Notification on my site. I have updated Core on 3.2 and
update extentions too. (System proposed me)
I cannot order anything after this installation. I have this Message just after Checkout Button:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (dolcevitadullike_datenbank
.ti_order_menus
, CONSTRAINT ti_order_menus_menu_id_foreign
FOREIGN KEY (menu_id
) REFERENCES ti_menus
(menu_id
) ON DELETE CASCADE ON UPDATE CASCADE) (SQL: insert into ti_order_menus
(order_id
, menu_id
, name
, quantity
, price
, subtotal
, comment
, option_values
) values (1, 13, Margherita, 1, 14, 14, ?, O:34:“Igniter\Flame\Cart\CartItemOptions”:2:{s:8:“items”;a:0:{}s:28:“escapeWhenCastingToString”;b:0;}))
and new installation give me following error:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (magentex_datenbank
.ti_menu_item_options
, CONSTRAINT ti_menu_item_options_menu_id_foreign
FOREIGN KEY (menu_id
) REFERENCES ti_menus
(menu_id
) ON DELETE CASCADE ON UPDATE CASCADE) (SQL: insert into ti_menu_item_options
(option_id
, menu_id
) values (4, 1))