Fatal error: Uncaught Error: Call to a member function setEntityTypeFilter() on boolean in /mgs/html/demo1/app/code/core/Mage/Eav/Model/Config.php:468 Stack trace: #0 /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)) #1 /mgs/html/demo1/app/code/core/Mage/Eav/Model/Entity/Abstract.php(952): Mage_Eav_Model_Entity_Abstract->loadAllAttributes(Object(Mage_Catalog_Model_Category)) #2 /mgs/html/demo1/app/code/core/Mage/Catalog/Model/Resource/Abstract.php(698): Mage_Eav_Model_Entity_Abstract->load(Object(Mage_Catalog_Model_Category), '2', NULL) #3 /mgs/html/demo1/app/code/core/Mage/Core/Model/Abstract.php(225): Mage_Catalog_Model_Resource_Abstract->load(Object(Mage_Catalog_Model_Category), '2', NULL) #4 /mgs/html/demo1/app/code/core/Mage/Catalog/Model/Layer.php(167): Mage_Core_Model_Abstract->load('2') #5 /mgs/html/demo1/app/code/core/Mage/Catalog/Model/Layer.php(70): Mage_Catalog_Model_Laye in /mgs/html/demo1/app/code/core/Mage/Eav/Model/Config.php on line 468