Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getCountry() on null in /var/www/src/AppBundle/Service/LinkService.php:31 Stack trace: #0 /var/www/src/AppBundle/Controller/LayoutController.php(56): AppBundle\Service\LinkService->getLink('section/o-kompa...') #1 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): AppBundle\Controller\LayoutController->headerAction(Object(Symfony\Component\HttpFoundation\Request)) #2 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2) #3 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php(79): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false) #4 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/AbstractSurrogateFragmentRenderer.php(69): Sym in /var/www/src/AppBundle/Service/LinkService.php on line 31