SQLSTATE[HY000]: General error: 1823 Failed to add the foreign key constraint 'lampesecoenergie2/CAT_URL_REWRITE_PRD_CTGR_CTGR_ID_CAT_CTGR_ENTT_ENTT_ID' to system tables

After OneStepCheckout Module enable

And run the setup:upgrade php bin/magento setup:upgrade; got error

Now site is working but setup:upgrade php bin/magento setup:upgrade; run we got the error

  • Aheadworks_OneStepCheckout Module ?? – Rk Rathod May 9 '19 at 7:25
  • i disable the Module site is working but 'php bin/magento setup:upgrade;' run the code i get error – KGR May 9 '19 at 7:27
  • run first the di:compile – fmsthird May 9 '19 at 8:13
  • i try this also but error is same @magefms – KGR May 9 '19 at 9:21
  • onestepcheckout.com OneStepCheckout Module @RkRathod – KGR May 9 '19 at 9:23

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.