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