Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
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);}
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 118)
$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();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 59)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 139)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Exception $e) {if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Request::setTrustedHosts([$trustedHosts]);}$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Symfony\Component\Routing\Exception\ ResourceNotFoundException
if ($allowSchemes) {goto redirect_scheme;}}throw new ResourceNotFoundException(sprintf('No routes found for "%s".', $pathinfo));}private function doMatch(string $pathinfo, array &$allow = [], array &$allowSchemes = []): array{$allow = $allowSchemes = [];
in
vendor/symfony/routing/Matcher/UrlMatcher.php
->
match
(line 106)
*/public function matchRequest(Request $request){$this->request = $request;$ret = $this->match($request->getPathInfo());$this->request = null;return $ret;}
in
vendor/symfony/routing/Router.php
->
matchRequest
(line 257)
if (!$matcher instanceof RequestMatcherInterface) {// fallback to the default UrlMatcherInterfacereturn $matcher->match($request->getPathInfo());}return $matcher->matchRequest($request);}/*** Gets the UrlMatcher or RequestMatcher instance associated with this Router.*
in
vendor/symfony/http-kernel/EventListener/RouterListener.php
->
matchRequest
(line 111)
// add attributes based on the request (routing)try {// matching a request is more powerful than matching a URL path + context, so try that firstif ($this->matcher instanceof RequestMatcherInterface) {$parameters = $this->matcher->matchRequest($request);} else {$parameters = $this->matcher->match($request->getPathInfo());}if (null !== $this->logger) {
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 118)
$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();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 59)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 139)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Exception $e) {if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Request::setTrustedHosts([$trustedHosts]);}$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 07:50:17 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "latest"
},
"request_uri": "https://test01.nextcaddy.com/_profiler/latest?panel=exception",
"method": "GET"
}
|
| INFO 07:50:17 | app | Request GET parameters: {"panel":"exception"} |
| INFO 07:50:17 | app | Request POST parameters: [] |
| INFO 07:50:17 | app | Request ATTRIBUTES parameters: {"_stopwatch_token":"c576dc","media_type":"text\/html","_route":"_profiler","_controller":"web_profiler.controller.profiler::panelAction","token":"latest","_route_params":{"token":"latest"},"_firewall_context":"security.firewall.map.context.dev"} |
| INFO 07:50:17 | app | Request COOKIES parameters: [] |
| INFO 07:50:17 | app | Request HEADERS parameters: {"accept-encoding":["gzip, br, zstd, deflate"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"connection":["close"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.215"],"host":["test01.nextcaddy.com"],"x-php-ob-level":["1"]} |
| INFO 07:50:17 | app | Request GET parameters: {"_path":"_format=html&_locale=es&_controller=web_profiler.controller.exception_panel%3A%3Astylesheet"} |
| INFO 07:50:17 | app | Request POST parameters: [] |
| INFO 07:50:17 | app | Request ATTRIBUTES parameters: {"token":"dd81c1","_format":"html","_locale":"es","_controller":"web_profiler.controller.exception_panel::stylesheet","_stopwatch_token":"d1f8aa"} |
| INFO 07:50:17 | app | Request COOKIES parameters: [] |
| INFO 07:50:17 | app | Request HEADERS parameters: {"host":["test01.nextcaddy.com"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"accept-language":["en-us,en;q=0.5"],"accept-charset":["ISO-8859-1,utf-8;q=0.7,*;q=0.7"],"accept-encoding":["gzip, br, zstd, deflate"],"connection":["close"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.215"],"forwarded":["for=\"216.73.216.215\";host=\"test01.nextcaddy.com\";proto=https"],"x-forwarded-for":["216.73.216.215"],"x-php-ob-level":["5"]} |
| INFO 07:50:17 | app | Request GET parameters: {"panel":"exception","_path":"_format=html&_locale=es&_controller=web_profiler.controller.profiler%3A%3AsearchBarAction"} |
| INFO 07:50:17 | app | Request POST parameters: [] |
| INFO 07:50:17 | app | Request ATTRIBUTES parameters: {"_format":"html","_locale":"es","_controller":"web_profiler.controller.profiler::searchBarAction","_stopwatch_token":"65fa51"} |
| INFO 07:50:17 | app | Request COOKIES parameters: [] |
| INFO 07:50:17 | app | Request HEADERS parameters: {"host":["test01.nextcaddy.com"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"accept-language":["en-us,en;q=0.5"],"accept-charset":["ISO-8859-1,utf-8;q=0.7,*;q=0.7"],"accept-encoding":["gzip, br, zstd, deflate"],"connection":["close"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.215"],"forwarded":["for=\"127.0.0.1\";host=\"test01.nextcaddy.com\";proto=https"],"x-forwarded-for":["127.0.0.1"],"x-php-ob-level":["5"]} |
| INFO 07:50:17 | app | Request GET parameters: {"_path":"_format=html&_locale=es&_controller=web_profiler.controller.exception_panel%3A%3Abody"} |
| INFO 07:50:17 | app | Request POST parameters: [] |
| INFO 07:50:17 | app | Request ATTRIBUTES parameters: {"_format":"html","token":"dd81c1","_locale":"es","_controller":"web_profiler.controller.exception_panel::body","_stopwatch_token":"456203"} |
| INFO 07:50:17 | app | Request COOKIES parameters: [] |
| INFO 07:50:17 | app | Request HEADERS parameters: {"host":["test01.nextcaddy.com"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"accept-language":["en-us,en;q=0.5"],"accept-charset":["ISO-8859-1,utf-8;q=0.7,*;q=0.7"],"accept-encoding":["gzip, br, zstd, deflate"],"connection":["close"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.215"],"forwarded":["for=\"127.0.0.1\";host=\"test01.nextcaddy.com\";proto=https"],"x-forwarded-for":["127.0.0.1"],"x-php-ob-level":["6"]} |
Stack Traces 2
|
[2/2]
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://test01.nextcaddy.com/robots.txt"
at vendor/symfony/http-kernel/EventListener/RouterListener.php:135
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:139)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:27)
|
|
[1/2]
ResourceNotFoundException
|
|---|
Symfony\Component\Routing\Exception\ResourceNotFoundException:
No routes found for "/robots.txt/".
at vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:74
at Symfony\Component\Routing\Matcher\CompiledUrlMatcher->match()
(vendor/symfony/routing/Matcher/UrlMatcher.php:106)
at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest()
(vendor/symfony/routing/Router.php:257)
at Symfony\Component\Routing\Router->matchRequest()
(vendor/symfony/http-kernel/EventListener/RouterListener.php:111)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:139)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:27)
|