I have enabled flat catalog in the magento admin. When i want to post image and hyperlink to website from facebook it cause fatal error

Fatal error: Call to undefined method Mage_Catalog_Model_Resource_Category_Flat::getProductsPosition() in /app/code/core/Mage/Catalog/Model/Category.php on line 330

the website has 6000 products and without flat catalog enabled the product page load time is 8 second so i cannot afford to disable flat catalog.

  • what's the code that calls getProductsPosition in the first place. Normally this is called in actions that are not supposed to be called from the frontend. Check your custom modules.
    – Marius
    Nov 4, 2015 at 12:24
  • when i search a product on the search tab, it fetches the product but when i click on it, it pops up the same error Nov 4, 2015 at 12:30
  • which Magento version you are using ? Nov 5, 2015 at 4:54
  • The version is Nov 7, 2015 at 5:00


Your Answer

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

Browse other questions tagged or ask your own question.