Fatal error: Uncaught Symfony\Component\HttpKernel\Exception\NotFoundHttpException: Shop was not found. in /var/www/src/ShopBundle/Request/ShopNotFoundListener.php:26 Stack trace: #0 /var/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(212): ShopBundle\Request\ShopNotFoundListener->onRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #1 /var/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #2 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(125): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #3 /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(66): Symfony in /var/www/src/ShopBundle/Request/ShopNotFoundListener.php on line 26