0

I hope someone could help me with the following fatal error in the Index Management:

Fatal error: Call to undefined method Mage_Catalog_Model_Resource_Category_Flat::isBuilt() in /www/htdocs/postmao/app/code/core/Mage/Catalog/Helper/Category/Flat.php on line 80

I did a fresh install of ver 1.8.0.0. I do have a theme installed but that doesn't affect the core right?

How could I solve this?

BR Fritz

1

The method Mage_Catalog_Model_Resource_Category_Flat::isBuilt was introduced in CE 1.8 and does not exist in any versions prior. This means that either the core has not been fully upgraded, the site has an override in the local code pool or some old code is being cached in a byte-code cache like APC.

I would open app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php and look for the method there. If it is not there, you need to upgrade the core to match what is in 1.8.

Assuming the core pool checks out ok, take a look in app/code/core/Mage to see if a file is there overriding the updated core class definition. If there is one here, it will take precedence. It would need to be removed and/or updated for 1.8.

If neither of the above are the issue, make sure compilation and caching are disabled in Magento, restart apache and/or php-fpm (if used) and see if the issue persists.

|improve this answer|||||
  • 2
    My money is local pool overrides – philwinkle Oct 25 '13 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.