Item (Mage_SalesRule_Model_Rule) with the same id "192" already exist
#0 /home/site/web/website.com/public_html/lib/Varien/Data/Collection/Db.php(582): Varien_Data_Collection->addItem(Object(Mage_SalesRule_Model_Rule))

     public function load($printQuery = false, $logQuery = false)
        if ($this->isLoaded()) {
            return $this;



        $this->printLogQuery($printQuery, $logQuery);
        $data = $this->getData();

        if (is_array($data)) {
            foreach ($data as $row) {
                $item = $this->getNewEmptyItem();
                if ($this->getIdFieldName()) {

        return $this;

#1 /home/site/web/website.com/public_html/lib/Varien/Data/Collection.php(741): Varien_Data_Collection_Db->load()

    public function getIterator()
        return new ArrayIterator($this->_items);

This error working after click product on list for view detail enter image description here


I think you added something in your collection, which adds duplicates to the query result.

so check your collection, if they have ambiguous join then remove that join or make other model as parent model and join other


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.