Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Fatal error: Call to undefined method Mage_Eav_Model_Resource_Entity_Attribute_Collection::addIsFilterableFilter()
 
flourishdna
Jr. Member
 
Total Posts:  22
Joined:  2011-07-22
 

Hi,

I recently upgraded my Magento to latest stable version and now I am getting following error whil visiting hoe page. I can\’t visit any other page in front-end. Everything works in back-end though.

Fatal errorCall to undefined method Mage_Eav_Model_Resource_Entity_Attribute_Collection::addIsFilterableFilter() in /home/dev/public_html/app/code/local/Mage/Catalog/Model/Layer.php on line 308

in Layer.php on line 308 I have following code.

/**
* Add filters to attribute collection
*
* @param Mage_Eav_Model_Mysql4_Entity_Attribute_Collection $collection
* @return Mage_Eav_Model_Mysql4_Entity_Attribute_Collection
*/
protected function _prepareAttributeCollection($collection)
{
$collection->addIsFilterableFilter(); (line 308)
return $collection;
}

Did I miss anything while upgrading? I never faced this error before.

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top