Call to undefined method Mage_Eav_Model_Resource_Entity_Attribute_Collection::addVisibleFilter()

Article ID #1297
Revision: 1.0
Last update: 2013-01-15

applies to: Magento 1.7.0.2

 

Symptoms

After Magento upgrade with TBT Enhanced Product Grid the following error thrown at System > Configuration > Enhanced Product Grid screen:

PHP Fatal error:  Call to undefined method Mage_Eav_Model_Resource_Entity_Attribute_Collection::addVisibleFilter() in app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Columns/Show.php on line 10


Solution

addVisibleFilter() call in app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Columns/Show.php at line 10 should be changed from

 

->addVisibleFilter(); 

  to

->addFilter("is_visible", 1);
Did this article help you solve your issue?


Average rating: 5 (22 votes)

completely useless 1 2 3 4 5 most valuable

Tags: , , ,