Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getId() on null in /home/users/constancecare/public_html/constancecare.pl-20200330/src/App/FrontendBundle/Controller/NewsController.php:60 Stack trace: #0 /home/users/constancecare/public_html/constancecare.pl-20200330/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): App\FrontendBundle\Controller\NewsController->indexAction('news-1', Object(Symfony\Component\HttpFoundation\Request)) #1 /home/users/constancecare/public_html/constancecare.pl-20200330/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #2 /home/users/constancecare/public_html/constancecare.pl-20200330/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(200): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #3 /home/users/constanceca in /home/users/constancecare/public_html/constancecare.pl-20200330/app/Resources/TwigBundle/views/Exception/error500.html.twig on line 13