Fatal error: Uncaught Error: Call to a member function getCategoryUrl() on null in /data/magento/app/code/local/Astralweb/Banner/Block/Bannermanagement.php:48 Stack trace: #0 /data/magento/app/design/frontend/astralweb/newmio/template/astralweb/aswbanner.phtml(3): Astralweb_Banner_Block_Bannermanagement->getBannerData() #1 /data/magento/app/code/core/Mage/Core/Block/Template.php(241): include('/data/magento/a...') #2 /data/magento/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/astral...') #3 /data/magento/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #4 /data/magento/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml() #5 /data/magento/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #6 /data/magento/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('aswbanner', true) #7 /data/magento/app/code/local/Mage/Page/Block/Html/Wrapper.p in /data/magento/app/code/local/Astralweb/Banner/Block/Bannermanagement.php on line 48