Skip to content

Magento 2.4.7 – Wishlist page Exception #0 (Exception): Item (MagentoWishlistModelItemInterceptor) with the same ID “3562886” already exists

My Wishlist page return following errot, how to resolve the issue.

1 exception(s):
Exception #0 (Exception): Item (MagentoWishlistModelItemInterceptor) with the same ID “3562886” already exists.

Exception #0 (Exception): Item (MagentoWishlistModelItemInterceptor) with the same ID "3562886" already exists.
<pre>#1 MagentoFrameworkDataCollectionAbstractDb->loadWithFilter() called at [generated/code/Magento/Wishlist/Model/ResourceModel/Item/Collection/Interceptor.php:32]
#2 MagentoWishlistModelResourceModelItemCollectionInterceptor->loadWithFilter() called at [vendor/magento/framework/Data/Collection/AbstractDb.php:777]
#3 MagentoFrameworkDataCollectionAbstractDb->load() called at [vendor/magento/framework/Data/Collection.php:859]
#4 MagentoFrameworkDataCollection->count() called at [vendor/magento/module-wishlist/Model/Wishlist.php:653]
#5 MagentoWishlistModelWishlist->getItemsCount() called at [vendor/magento/module-wishlist/Block/AbstractBlock.php:276]
#6 MagentoWishlistBlockAbstractBlock->getWishlistItemsCount() called at [vendor/magento/module-wishlist/Block/AbstractBlock.php:301]
#7 MagentoWishlistBlockAbstractBlock->hasWishlistItems() called at [vendor/magento/module-wishlist/view/frontend/templates/view.phtml:21]
#8 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:67]
#9 MagentoFrameworkViewTemplateEnginePhp->render() called at [vendor/magento/framework/View/Element/Template.php:263]
#10 MagentoFrameworkViewElementTemplate->fetchView() called at [vendor/magento/framework/View/Element/Template.php:293]
#11 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/module-wishlist/Block/Customer/Wishlist.php:272]
#12 MagentoWishlistBlockCustomerWishlist->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1128]
#13 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1132]
#14 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:676]
#15 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#16 MagentoWishlistBlockCustomerWishlistInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#17 MagentoWishlistBlockCustomerWishlistInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#18 MagentoWishlistBlockCustomerWishlistInterceptor->___callPlugins() called at [generated/code/Magento/Wishlist/Block/Customer/Wishlist/Interceptor.php:32]
#19 MagentoWishlistBlockCustomerWishlistInterceptor->toHtml() called at [vendor/magento/framework/View/Layout.php:578]
#20 MagentoFrameworkViewLayout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:555]
#21 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#22 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#23 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#24 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#25 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#26 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#27 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#28 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#29 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#30 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#31 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#32 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#33 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#34 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#35 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#36 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#37 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#38 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#39 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#40 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#41 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#42 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#43 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:975]
#44 MagentoFrameworkViewLayout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#45 MagentoFrameworkViewLayoutInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#46 MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#47 MagentoFrameworkViewLayoutInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:50]
#48 MagentoFrameworkViewLayoutInterceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:260]
#49 MagentoFrameworkViewResultPage->render() called at [vendor/magento/framework/View/Result/Layout.php:171]
#50 MagentoFrameworkViewResultLayout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#51 MagentoFrameworkViewResultPageInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#52 MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#53 MagentoFrameworkViewResultPageInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:32]
#54 MagentoFrameworkViewResultPageInterceptor->renderResult() called at [vendor/magento/framework/App/Http.php:120]
#55 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#56 MagentoFrameworkAppHttpInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#57 MagentoFrameworkAppHttpInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php:38]
#58 MagentoApplicationPerformanceMonitorPluginApplicationPerformanceMonitor->aroundLaunch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#59 MagentoFrameworkAppHttpInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#60 MagentoFrameworkAppHttpInterceptor->___callPlugins() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#61 MagentoFrameworkAppHttpInterceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#62 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:30]
</pre>