Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getId() on null in /home/euro-trade2/ftp/starpakeu/src/Aliso/CoreBundle/EventListener/LocaleListener.php:82 Stack trace: #0 /home/euro-trade2/ftp/starpakeu/src/Aliso/CoreBundle/EventListener/LocaleListener.php(43): Aliso\CoreBundle\EventListener\LocaleListener->findSlugs(Array, 'AppBundle:Categ...', 'en') #1 [internal function]: Aliso\CoreBundle\EventListener\LocaleListener->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #2 /home/euro-trade2/ftp/starpakeu/var/cache/prod/classes.php(4072): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #3 /home/euro-trade2/ftp/starpakeu/var/cache/prod/classes.php(3987): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel in /home/euro-trade2/ftp/starpakeu/var/cache/prod/appProdProjectContainerUrlGenerator.php on line 188