Fatal error: Uncaught Error: Call to a member function getId() on null in /srv/public_html/app/code/local/Viewsonic/News/controllers/CategoryController.php:31 Stack trace: #0 /srv/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Viewsonic_News_CategoryController->viewAction() #1 /srv/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #2 /srv/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #3 /srv/public_html/app/code/core/Mage/Core/Model/App.php(381): Mage_Core_Controller_Varien_Front->dispatch() #4 /srv/public_html/app/Mage.php(686): Mage_Core_Model_App->run(Array) #5 /srv/public_html/la/index.php(90): Mage::run('la', 'website') #6 {main} thrown in /srv/public_html/app/code/local/Viewsonic/News/controllers/CategoryController.php on line 31