Fatal error: Uncaught Error: Call to a member function setEntityTypeFilter() on boolean in /mgs/html/demo1/app/code/core/Mage/Eav/Model/Config.php:355 Stack trace: #0 /mgs/html/demo1/app/code/core/Mage/Eav/Model/Config.php(478): Mage_Eav_Model_Config->_initAttributes(Object(Mage_Eav_Model_Entity_Type)) #1 /mgs/html/demo1/app/code/core/Mage/Eav/Model/Entity/Abstract.php(512): Mage_Eav_Model_Config->getEntityAttributeCodes(Object(Mage_Eav_Model_Entity_Type), Object(Mage_Catalog_Model_Category)) #2 /mgs/html/demo1/app/code/core/Mage/Eav/Model/Entity/Abstract.php(952): Mage_Eav_Model_Entity_Abstract->loadAllAttributes(Object(Mage_Catalog_Model_Category)) #3 /mgs/html/demo1/app/code/core/Mage/Catalog/Model/Resource/Abstract.php(698): Mage_Eav_Model_Entity_Abstract->load(Object(Mage_Catalog_Model_Category), 56, NULL) #4 /mgs/html/demo1/app/code/core/Mage/Core/Model/Abstract.php(225): Mage_Catalog_Model_Resource_Abstract->load(Object(Mage_Catalog_Model_Category), 56, NULL) #5 /mgs/html/demo1/app/code/core/Mage/Catalog/controller in /mgs/html/demo1/app/code/core/Mage/Eav/Model/Config.php on line 355