Fatal error: Uncaught Error: Call to a member function getId() on boolean in /usr/home/WokLublin/domains/wok.lublin.pl/module/Site/Gallery/src/Gallery/Controller/GalleryController.php:139 Stack trace: #0 /usr/home/WokLublin/domains/wok.lublin.pl/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Site\Gallery\Controller\GalleryController->showAction() #1 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #2 /usr/home/WokLublin/domains/wok.lublin.pl/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #3 /usr/home/WokLublin/domains/wok.lublin.pl/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #4 /usr/home/WokLublin/domains/wok.lublin.pl/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', O in /usr/home/WokLublin/domains/wok.lublin.pl/module/Site/Gallery/src/Gallery/Controller/GalleryController.php on line 139