Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getId() on null in /homepages/18/d889012820/htdocs/ionicstone/src/MainBundle/Controller/HeaderController.php:69 Stack trace: #0 /homepages/18/d889012820/htdocs/ionicstone/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): MainBundle\Controller\HeaderController->indexAction(Object(Symfony\Component\HttpFoundation\Request)) #1 /homepages/18/d889012820/htdocs/ionicstone/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2) #2 /homepages/18/d889012820/htdocs/ionicstone/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php(79): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false) #3 /homepages/18/d889012820/htdocs/ionicstone/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragm in /homepages/18/d889012820/htdocs/ionicstone/src/MainBundle/Controller/HeaderController.php on line 69