-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Item (Magento\Catalog\Model\Product\Interceptor) with the same ID "137324" already exists. #23578
Comments
Hi @humanwere. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @humanwere do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @humanwere thank you for your report. Unfortunately, there are not enough information to reproduce issue you described. |
Hello,
I'm facing a problem and can't solvin. All my product detail pages are returns "Item (Magento\Catalog\Model\Product\Interceptor) with the same ID "137324" already exists." error.
Preconditions (*)
Steps to reproduce (*)
Packages :
Expected result (*)
Working product detail page.
Actual result (*)
https://imgur.com/i92ieF8
When I open the report file It says :
{"0":"Item (Magento\\Catalog\\Model\\Product\\Interceptor) with the same ID \"137324\" already exists.","1":"<pre>#1 Magento\\Eav\\Model\\Entity\\Collection\\AbstractCollection->addItem() called at [vendor\/magento\/module-eav\/Model\/Entity\/Collection\/AbstractCollection.php:1134]\n#2 Magento\\Eav\\Model\\Entity\\Collection\\AbstractCollection->_loadEntities() called at [vendor\/magento\/module-eav\/Model\/Entity\/Collection\/AbstractCollection.php:924]\n#3 Magento\\Eav\\Model\\Entity\\Collection\\AbstractCollection->load() called at [vendor\/magento\/module-catalog\/Model\/ResourceModel\/Product\/Collection.php:799]\n#4 Magento\\Catalog\\Model\\ResourceModel\\Product\\Collection->load() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#5 Magento\\Catalog\\Model\\ResourceModel\\Product\\Collection\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#6 Magento\\Catalog\\Model\\ResourceModel\\Product\\Collection\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#7 Magento\\Catalog\\Model\\ResourceModel\\Product\\Collection\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Catalog\/Model\/ResourceModel\/Product\/Collection\/Interceptor.php:26]\n#8 Magento\\Catalog\\Model\\ResourceModel\\Product\\Collection\\Interceptor->load() called at [vendor\/magento\/framework\/Data\/Collection.php:835]\n#9 Magento\\Framework\\Data\\Collection->getIterator() called at [vendor\/magento\/module-catalog\/Block\/Product\/ListProduct.php:348]\n#10 Magento\\Catalog\\Block\\Product\\ListProduct->getIdentities() called at [vendor\/magento\/module-page-cache\/Model\/Layout\/LayoutPlugin.php:71]\n#11 Magento\\PageCache\\Model\\Layout\\LayoutPlugin->afterGetOutput() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:146]\n#12 Magento\\Framework\\View\\Layout\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#13 Magento\\Framework\\View\\Layout\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/View\/Layout\/Interceptor.php:494]\n#14 Magento\\Framework\\View\\Layout\\Interceptor->getOutput() called at [vendor\/magento\/framework\/View\/Result\/Page.php:258]\n#15 Magento\\Framework\\View\\Result\\Page->render() called at [vendor\/magento\/framework\/View\/Result\/Layout.php:171]\n#16 Magento\\Framework\\View\\Result\\Layout->renderResult() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#17 Magento\\Framework\\View\\Result\\Page\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#18 Magento\\Framework\\View\\Result\\Page\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#19 Magento\\Framework\\View\\Result\\Page\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/View\/Result\/Page\/Interceptor.php:130]\n#20 Magento\\Framework\\View\\Result\\Page\\Interceptor->renderResult() called at [vendor\/magento\/framework\/App\/Http.php:140]\n#21 Magento\\Framework\\App\\Http->launch() called at [generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php:24]\n#22 Magento\\Framework\\App\\Http\\Interceptor->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:258]\n#23 Magento\\Framework\\App\\Bootstrap->run() called at [pub\/index.php:40]\n<\/pre>","url":"\/greyder-54830-duz-siyah-kadin-terlik.html","script_name":"\/index.php"}
note : 137324 the ID of a product that is different from the product I'm requesting. When I delete the 137324 ID (configurable product ID) the ID changing and return next configurable product ID. For eg: 137330
What I tried To fix
This returns nothing :
SELECT * FROM cataloginventory_stock_item WHERE product_id in (SELECT product_id FROM cataloginventory_stock_item GROUP BY product_id HAVING ( COUNT(product_id) > 1 ))
Also I tried a couple time reinstall all products (about 15K product)
I read many articles but I couldn't find a solution. I've seen most people encounter this problem. But there is nothing to solve..
The text was updated successfully, but these errors were encountered: