Fixed: Enable Flat Catalog – Category and Product issue in …mobinav.phtml on line 43

Issue:

When enable Flat Catalog – Category and Product has :

Fatal error: Call to undefined method Mage_Catalog_Model_Resource_Category_Flat_Collection::addPathFilter() in /home/ebao/public_html/__sub.fabio/app/design/frontend/default/sm_theme/template/catalog/navigation/mobinav.phtml on line 43

Solution:

Please go to \app\design\frontend\default\sm_theme\template\catalog\navigation\mobinav.phtml and find:

=> change to:

- and find:

=> change to:

- and find:

=> change to:

Thanks!