Admin Configuration Panel not displaying on 1.5.0.1

Please LogIn to Reply!

Post By: admin | 26-01-2012 06:35 Reply

 

Magento Version: 1.5.0.1

Issue:
When I try to access the configuration in the System>Configuration I receive this error:

Fatal error: Call to undefined method Mage_Eav_Model_Mysql4_Entity_Attribute_Collection::addVisibleFilter() in /home/tunerzed/public_html/app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Columns/Show.php on line 19

I have changed nothing in the code and I also tried reinstalling through the Magento Connect. Still have the error.

I am able to view the products enhanced grid just unable to change the viewable columns.

Any help would be great full.

 

Have you tried opening that file and removing the line?

->addFilter("is_visible"1)

make sure you leave the ending ; in there

 

I had same error in same file but on line 10
Magento ver. 1.5.1.0
EAPG Version 1.3.2.3 stable
Changing

$collection Mage::getResourceModel('eav/entity_attribute_collection')
            ->
setEntityTypeFilterMage::getModel('eav/entity')->setType('catalog_product')->getTypeId() )
            ->
addVisibleFilter();
to
$collection Mage::getResourceModel('eav/entity_attribute_collection')
            ->
setEntityTypeFilterMage::getModel('eav/entity')->setType('catalog_product')->getTypeId() )
           
// ->addVisibleFilter()
            
;
resolved this problem for me.
Thanks to furnituretoyoultd for advice.

 

Can confirm that the above fix worked for me as well.

`Reply Or Comment!
Please LogIn to Reply!