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 error: Call 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)
Did I miss anything while upgrading? I never faced this error before.