在magento 2中删除存储视图后插入产品时出错
我使用演示软件包安装了themeforest布局。一切都很好。 例如,这个演示有一些商店视图。我删除了所有我不需要的店面,前端工作正常 问题是: 当我尝试插入新产品时,我收到以下错误:在magento 2中删除存储视图后插入产品时出错,magento,magento2,Magento,Magento2,我使用演示软件包安装了themeforest布局。一切都很好。 例如,这个演示有一些商店视图。我删除了所有我不需要的店面,前端工作正常 问题是: 当我尝试插入新产品时,我收到以下错误: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`loja_magento`.`catalog_product_websi
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`loja_magento`.`catalog_product_website`, CONSTRAINT `CATALOG_PRODUCT_WEBSITE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELET), query was: INSERT INTO `catalog_product_website` (`product_id`,`website_id`) VALUES (?, ?)
我不知道如何修理它。有人能帮我吗
Magento 2.4