Fatal error: Uncaught Error: Call to a member function parents_id() on null in /home/e-apa/ftp/apagroup_lipiec2019/module/Catalog/src/Controller/CategoryController.php:56 Stack trace: #0 /home/e-apa/ftp/apagroup_lipiec2019/module/Catalog/src/Controller/CategoryController.php(73): Catalog\Controller\CategoryController->prepareParentsList(NULL) #1 /home/e-apa/ftp/apagroup_lipiec2019/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(78): Catalog\Controller\CategoryController->indexAction() #2 /home/e-apa/ftp/apagroup_lipiec2019/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #3 /home/e-apa/ftp/apagroup_lipiec2019/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure)) #4 /home/e-apa/ftp/apagroup_lipiec2019/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(104): Zend\EventManager\Eve in /home/e-apa/ftp/apagroup_lipiec2019/module/Catalog/src/Controller/CategoryController.php on line 56