Fatal error: Uncaught Error: Call to a member function hasPages() on null in /var/www/vhosts/doberracunovodja.si/httpdocs/module/Content/src/Content/Controller/CategoryController.php:54 Stack trace: #0 /var/www/vhosts/doberracunovodja.si/httpdocs/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(82): Content\Controller\CategoryController->summaryAction() #1 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #2 /var/www/vhosts/doberracunovodja.si/httpdocs/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #3 /var/www/vhosts/doberracunovodja.si/httpdocs/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #4 /var/www/vhosts/doberracunovodja.si/httpdocs/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/A in /var/www/vhosts/doberracunovodja.si/httpdocs/module/Content/src/Content/Controller/CategoryController.php on line 54