Fatal error: Uncaught Error: Call to a member function get() on null in /home/meypaw13/domains/shop/module/Application/src/Application/Model/Kategoria.php:130 Stack trace: #0 /home/meypaw13/domains/shop/module/Application/src/Application/Controller/KategoriaController.php(89): Application\Model\Kategoria->getNadrzedneKategorie() #1 /home/meypaw13/domains/shop/vendor/ZF2/library/Zend/Mvc/Controller/AbstractActionController.php(82): Application\Controller\KategoriaController->pokazAction() #2 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #3 /home/meypaw13/domains/shop/vendor/ZF2/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #4 /home/meypaw13/domains/shop/vendor/ZF2/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #5 /home/meypaw13/domains/shop/vendor/ZF2/library/Zend/Mvc/Controller/AbstractController.php(118): Z in /home/meypaw13/domains/shop/module/Application/src/Application/Model/Kategoria.php on line 130