Fatal error: Uncaught Error: Call to a member function getId() on null in /home/designw/wydawnictwo-oaza/module/Catalog/src/Catalog/Controller/IndexController.php:365 Stack trace: #0 /home/designw/wydawnictwo-oaza/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(82): Catalog\Controller\IndexController->pokazAction() #1 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #2 /home/designw/wydawnictwo-oaza/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #3 /home/designw/wydawnictwo-oaza/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #4 /home/designw/wydawnictwo-oaza/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', in /home/designw/wydawnictwo-oaza/module/Catalog/src/Catalog/Controller/IndexController.php on line 365