Fatal error: Uncaught Error: Call to a member function getPath() on boolean in /var/www/vhosts/naturalhealthpractice.com/httpdocs/app/code/local/Dat/Productdosage/controllers/CategoryController.php:60 Stack trace: #0 /var/www/vhosts/naturalhealthpractice.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Dat_Productdosage_CategoryController->viewAction() #1 /var/www/vhosts/naturalhealthpractice.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #2 /var/www/vhosts/naturalhealthpractice.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #3 /var/www/vhosts/naturalhealthpractice.com/httpdocs/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() #4 /var/www/vhosts/naturalhealthpractice.com/httpdocs/app/Mage.php(686): Mage_Core_Model_App->run(Array) #5 /var/www/vhosts/naturalhea in /var/www/vhosts/naturalhealthpractice.com/httpdocs/app/code/local/Dat/Productdosage/controllers/CategoryController.php on line 60