diff --git a/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php b/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php index c6ff2e91992..b00181f8885 100644 --- a/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php +++ b/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php @@ -438,6 +438,10 @@ public function addAttributeToSelect($attribute, $joinType = false) } else { $attrInstance = Mage::getSingleton('eav/config') ->getAttribute($this->getEntity()->getType(), $attribute); + // failure to resolve an attribute from the eav config implies it does not exist + if (empty($attrInstance)) { + return $this; + } } if (empty($attrInstance)) { throw Mage::exception(