Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getId() on boolean in /var/www/src/Moustic/FrontOfficeBundle/Controller/FrontController.php:25 Stack trace: #0 [internal function]: Moustic\FrontOfficeBundle\Controller\FrontController->menuAction() #1 /var/www/app/bootstrap.php.cache(3237): call_user_func_array(Array, Array) #2 /var/www/app/bootstrap.php.cache(3196): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2) #3 /var/www/app/bootstrap.php.cache(3350): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false) #4 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php(85): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false) #5 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/FragmentHandler.php(136): Symfo in /var/www/src/Moustic/FrontOfficeBundle/Controller/FrontController.php on line 25