Magento: Integrity constraint violation: 1062 Duplicate entry '100002112' for key 2

主宰稳场 提交于 2020-01-25 10:29:20

问题


Hey I'm a complete magento noob, but we upgraded our version to the latest and now when you finish checking out and finish payment, you are presented with this error.

I've truncated the log tables like everyone seems to suggest, I've checked for duplicate skus. I've looked into reindexing our product prices as it says it needs to be reindexed, but when I do, i'm presented with this: 'There was a problem with reindexing process.'.

Here's the error from the checkout. Any help or direction would be greatly appreciated!

There has been an error processing your request SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '100002112' for key


回答1:


Try increasing the increment_last_id in the table eav_entity_store.Make sure that the value is greater than the increment id of currently existing orders.



来源:https://stackoverflow.com/questions/15270777/magento-integrity-constraint-violation-1062-duplicate-entry-100002112-for-ke

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!