Fatal error: Call to undefined method
Desbest_Brands_Adminhtml_BrandsController::_addBreadcrumb() in
/home/desbest/public_html/clients/magentofull/app/code/local/Desbest/Brands/controllers/Adminhtml/BrandsController.php
on line 8Fatal error: Call to undefined method
Desbest_Brands_Adminhtml_BrandsController::_setActiveMenu() in
/home/desbest/public_html/clients/magentofull/app/code/local/Desbest/Brands/controllers/Adminhtml/BrandsController.php
on line 7
From what I see, the Data.php file inside Helpers/ folder should be left as it is blank like what the tutorials say.
So what’s with the errors?
Seems you controller class is extended from
Mage_Core_Controller_Front_Action. You should extend it fromMage_Adminhtml_Controller_Actionclass instead, because only it has methods called_addBreadcrumb()and_setActiveMenu().