Fatal error: Uncaught Error: Call to a member function getId() on null in /home/spyeegedoca6/public_html/application/Controller/ListController.php:46 Stack trace: #0 /home/spyeegedoca6/public_html/application/Core/Application.php(68): Mini\Controller\ListController->index() #1 /home/spyeegedoca6/public_html/public/index.php(127): Mini\Core\Application->__construct(Object(Twig\Environment), Object(Twig\Environment), Object(Doctrine\ORM\EntityManager)) #2 {main} thrown in /home/spyeegedoca6/public_html/application/Controller/ListController.php on line 46