Exceptions
Stack Trace
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->getUriForPath($request->getPathInfo()), implode(', ', $e->getAllowedMethods())); throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);}
RouterListener->onKernelRequest()
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
(line 122)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally { if ($e->isStarted()) { $e->stop(); }}
WrappedListener->__invoke()
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
(line 115)
foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); }} finally { if ($e->isStarted()) { $e->stop(); } */private function handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response{ // request $event = new RequestEvent($this, $request, $type); $this->dispatcher->dispatch($event, KernelEvents::REQUEST); if ($event->hasResponse()) { return $this->filterResponse($event->getResponse(), $request, $type); }$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try { return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } if (!$this->handlingHttpCache) { $this->resetServices = true; } try { return $this->getHttpKernel()->handle($request, $type, $catch); } finally { --$this->requestStackSize; }}) {}public function run(): int{ $response = $this->kernel->handle($this->request); $response->send(false); if (\function_exists('fastcgi_finish_request') && !$this->debug) { fastcgi_finish_request();$app = $app(...$args);exit( $runtime ->getRunner($app) ->run());<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return static function (array $context) { return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://yackr.io/robots.txt"
at vendor/symfony/http-kernel/EventListener/RouterListener.php:185
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:122)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:115)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:174)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:156)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/html/webapp/vendor/autoload_runtime.php')
(public/index.php:5)Stack Trace
$pathinfo = $fallbackPathinfo; goto redirect_scheme; } } throw new ResourceNotFoundException(\sprintf('No routes found for "%s".', $pathinfo));}private function doMatch(string $pathinfo, array &$allow = [], array &$allowSchemes = [], array &$trailingSlashSchemes = []): array{ $allow = $allowSchemes = $trailingSlashSchemes = []; $this->request = $request; $originalContext = $this->context; $this->context = (clone $originalContext)->fromRequest($request); try { return $this->match($request->getPathInfo()); } finally { $this->context = $originalContext; $this->request = null; }} if (!$matcher instanceof RequestMatcherInterface) { // fallback to the default UrlMatcherInterface return $matcher->match($request->getPathInfo()); } return $matcher->matchRequest($request);}/** * Gets the UrlMatcher or RequestMatcher instance associated with this Router. */// add attributes based on the request (routing)try { // matching a request is more powerful than matching a URL path + context, so try that first if ($this->matcher instanceof RequestMatcherInterface) { $parameters = $this->matcher->matchRequest($request); } else { $parameters = $this->matcher->match($request->getPathInfo()); } $this->logger?->info('Matched route "{route}".', [
RouterListener->onKernelRequest()
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
(line 122)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally { if ($e->isStarted()) { $e->stop(); }}
WrappedListener->__invoke()
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
(line 115)
foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); }} finally { if ($e->isStarted()) { $e->stop(); } */private function handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response{ // request $event = new RequestEvent($this, $request, $type); $this->dispatcher->dispatch($event, KernelEvents::REQUEST); if ($event->hasResponse()) { return $this->filterResponse($event->getResponse(), $request, $type); }$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try { return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } if (!$this->handlingHttpCache) { $this->resetServices = true; } try { return $this->getHttpKernel()->handle($request, $type, $catch); } finally { --$this->requestStackSize; }}) {}public function run(): int{ $response = $this->kernel->handle($this->request); $response->send(false); if (\function_exists('fastcgi_finish_request') && !$this->debug) { fastcgi_finish_request();$app = $app(...$args);exit( $runtime ->getRunner($app) ->run());<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return static function (array $context) { return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Symfony\Component\Routing\Exception\ResourceNotFoundException:
No routes found for "/robots.txt/".
at vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:76
at Symfony\Component\Routing\Matcher\CompiledUrlMatcher->match()
(vendor/symfony/routing/Matcher/UrlMatcher.php:102)
at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest()
(vendor/symfony/routing/Router.php:188)
at Symfony\Component\Routing\Router->matchRequest()
(vendor/symfony/http-kernel/EventListener/RouterListener.php:103)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:122)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:115)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:174)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:156)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/html/webapp/vendor/autoload_runtime.php')
(public/index.php:5)