I'm having this error when entering one certain category in frontend:
Exception #0 (Exception): Item (Magento\Review\Model\Review\Summary) with the same ID "519" already exists.
Any ideas what that could be about?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
After looking on internet for days i can't find exact solution of this. Then i found if we change the URLKEY of the category it will not show this error so i have done this.
$category->setPath($parentCategory->getPath()) ->setParentId($parentId) ->setName('test1') ->setIsActive(true) ->setUrlKey(rand(1,1000000000)); $category->save();
I use random function to add category in database with random no using ->setUrlKey(rand(1,1000000000)); you can add any thing in this like duplicate category name with some random no etc. and errors gone if it helps you give an UP. thanks