magento 2.2.3违反完整性约束:1062键“ PRIMARY”的重复条目“ 18274-0-1”

时间:2018-10-01 09:19:03

标签: magento

在通过迁移工具从Magento 1迁移数据的Magento 2.2.3实例上,exception.log中出现以下错误。商店运作良好,但是这个错误仍然存​​在,我无法确切指出。有办法的想法吗?

[2018-10-01 09:00:08] main.CRITICAL:SQLSTATE [23000]:违反完整性约束:1062键“ PRIMARY”的条目“ 18274-0-1”重复,查询为:INSERT INTO { {1}}选择catalog_product_index_price_tempcatalog_product_index_price_final_tempentity_idcatalog_product_index_price_final_tempcustomer_group_idcatalog_product_index_price_final_tempwebsite_id。{{1 }},catalog_product_index_price_final_temptax_class_idcatalog_product_index_price_final_temporig_pricepricecatalog_product_index_price_final_temppricefinal_pricecatalog_product_index_price_final_tempmin_pricecatalog_product_index_price_final_tempmax_price来自catalog_product_index_price_final_temp {“ exception”:“ [object](Magento \ Framework \ Exception \ LocalizedException(code: 0):SQLSTATE [23000]:违反完整性约束:1062键“ PRIMARY”的条目“ 18274-0-1”重复,查询为:INSERT INTO tier_price SELECT catalog_product_index_price_final_tempcatalog_product_index_price_tempcatalog_product_index_price_final_tempentity_idcatalog_product_index_price_final_tempcustomer_group_idcatalog_product_index_price_final_tempwebsite_idcatalog_product_index_price_final_temptax_class_id {1}},catalog_product_index_price_final_temporig_pricepricecatalog_product_index_price_final_temppricefinal_pricecatalog_product_index_price_final_temp,{{1 }}。min_price来自catalog_product_index_price_final_temp,位于/.../ public_html / vendor / magento / module-catalog / Model / Indexer / Product / Price / Action / Row.php:32,Magento \ Framework \ DB \ Adapter \ DuplicateException(代码:1062):SQLSTATE [23000]:违反完整性约束:1062键“ PRIMARY”的条目“ 18274-0-1”重复,查询为:INSERT INTO max_price SELECT {{1 }}。catalog_product_index_price_final_temptier_price。{ {1}},catalog_product_index_price_final_tempcatalog_product_index_price_tempcatalog_product_index_price_final_tempentity_idcatalog_product_index_price_final_tempcustomer_group_idcatalog_product_index_price_final_temp,{{1 }}。website_idcatalog_product_index_price_final_temptax_class_idcatalog_product_index_price_final_temporig_pricepricecatalog_product_index_price_final_tempprice在{...键“ PRIMARY”的条目“ 18274-0-1”,查询为:INSERT INTO final_price SELECT catalog_product_index_price_final_tempmin_pricecatalog_product_index_price_final_tempmax_price,{ {1}}。catalog_product_index_price_final_temptier_pricecatalog_product_index_price_final_tempcatalog_product_index_price_tempcatalog_product_index_price_final_tempentity_idcatalog_product_index_price_final_temp。{{1 }} customer_group_idcatalog_product_index_price_final_tempwebsite_idcatalog_product_index_price_final_temptax_class_idcatalog_product_index_price_final_temporig_price来自price在/.../public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:235,PDOException(code:23000):SQLSTATE [23000]:违反完整性约束:1062复制条目'18274- /.../public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228)上的键“ PRIMARY”为0-1”。“] []

0 个答案:

没有答案