Exceptions
No route found for "GET /robots.txt" (from "https://the-room-menu-backend.sorin.dev.www.ro/robots.txt")
404 Not Found - NotFoundHttpException
1 linked Exception:
- ResourceNotFoundException »
[2/2] NotFoundHttpException: No route found for "GET /robots.txt" (from "https://the-room-menu-backend.sorin.dev.www.ro/robots.txt")
-
in app/cache/dev/classes.php at line 2107
if ($referer = $request->headers->get('referer')) {
$message .= sprintf(' (from "%s")', $referer);
}
throw new NotFoundHttpException($message, $e);
} catch (MethodNotAllowedException $e) {
$message = sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)', $request->getMethod(), $request->getPathInfo(), implode(', ', $e->getAllowedMethods()));
throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);
- at RouterListener ->onKernelRequest (object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
-
at
call_user_func
(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61$e = $this->stopwatch->start($this->name, 'event_listener');
call_user_func($this->listener, $event, $eventName, $this->dispatcher ?: $dispatcher);
if ($e->isStarted()) {
$e->stop();
- at WrappedListener ->__invoke (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
-
at
call_user_func
(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
in app/cache/dev/classes.php at line 1863if ($event->isPropagationStopped()) {
break;
}
call_user_func($listener, $event, $eventName, $this);
}
}
private function sortListeners($eventName)
-
at
EventDispatcher
->doDispatch
(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
in app/cache/dev/classes.php at line 1778$event->setDispatcher($this);
$event->setName($eventName);
if ($listeners = $this->getListeners($eventName)) {
$this->doDispatch($listeners, $eventName, $event);
}
return $event;
}
-
at
EventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 140$e = $this->stopwatch->start($eventName, 'section');
$this->dispatcher->dispatch($eventName, $event);
if ($e->isStarted()) {
$e->stop();
-
at
TraceableEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 125// request
$event = new GetResponseEvent($this, $request, $type);
$this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof ConflictingHeadersException) {
$e = new BadRequestHttpException('The request headers contain conflicting information regarding the origin of this request.', $e);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null, 'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
/**
-
at
Kernel
->handle
(object(Request))
in web/app_dev.php at line 30$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
[1/2] ResourceNotFoundException:
-
in app/cache/dev/appDevDebugProjectContainerUrlMatcher.php at line 9024
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}
-
at
appDevDebugProjectContainerUrlMatcher
->match
('/robots.txt')
in app/cache/dev/classes.php at line 1440public function matchRequest(Request $request)
{
$this->request = $request;
$ret = $this->match($request->getPathInfo());
$this->request = null;
return $ret;
}
-
at
UrlMatcher
->matchRequest
(object(Request))
in app/cache/dev/classes.php at line 1303if (!$matcher instanceof RequestMatcherInterface) {
return $matcher->match($request->getPathInfo());
}
return $matcher->matchRequest($request);
}
public function getMatcher()
{
-
at
Router
->matchRequest
(object(Request))
in app/cache/dev/classes.php at line 2091}
try {
if ($this->matcher instanceof RequestMatcherInterface) {
$parameters = $this->matcher->matchRequest($request);
} else {
$parameters = $this->matcher->match($request->getPathInfo());
}
- at RouterListener ->onKernelRequest (object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
-
at
call_user_func
(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61$e = $this->stopwatch->start($this->name, 'event_listener');
call_user_func($this->listener, $event, $eventName, $this->dispatcher ?: $dispatcher);
if ($e->isStarted()) {
$e->stop();
- at WrappedListener ->__invoke (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
-
at
call_user_func
(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
in app/cache/dev/classes.php at line 1863if ($event->isPropagationStopped()) {
break;
}
call_user_func($listener, $event, $eventName, $this);
}
}
private function sortListeners($eventName)
-
at
EventDispatcher
->doDispatch
(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
in app/cache/dev/classes.php at line 1778$event->setDispatcher($this);
$event->setName($eventName);
if ($listeners = $this->getListeners($eventName)) {
$this->doDispatch($listeners, $eventName, $event);
}
return $event;
}
-
at
EventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 140$e = $this->stopwatch->start($eventName, 'section');
$this->dispatcher->dispatch($eventName, $event);
if ($e->isStarted()) {
$e->stop();
-
at
TraceableEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 125// request
$event = new GetResponseEvent($this, $request, $type);
$this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof ConflictingHeadersException) {
$e = new BadRequestHttpException('The request headers contain conflicting information regarding the origin of this request.', $e);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null, 'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
/**
-
at
Kernel
->handle
(object(Request))
in web/app_dev.php at line 30$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Stack Trace (Plain Text)
[1] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /robots.txt" (from "https://the-room-menu-backend.sorin.dev.www.ro/robots.txt") at n/a in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 2107 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in line at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61 at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in line at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 1863 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 1778 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 140 at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 125 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/web/app_dev.php line 30 [2] Symfony\Component\Routing\Exception\ResourceNotFoundException: at n/a in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/appDevDebugProjectContainerUrlMatcher.php line 9024 at appDevDebugProjectContainerUrlMatcher->match('/robots.txt') in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 1440 at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest(object(Request)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 1303 at Symfony\Component\Routing\Router->matchRequest(object(Request)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 2091 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in line at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61 at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in line at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 1863 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/app/cache/dev/classes.php line 1778 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 140 at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 125 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/vhosts/dev.www.ro/the-room-menu-backend.sorin/web/app_dev.php line 30