Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#1671 -statusCode: 404 -headers: [] }
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/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php
->
onKernelRequest
(line 58)
// This call is required in all cases, because the default router needs our webspace information// Would be nice to also only call this if the _requestAnalyzer attribute is set, but it's set on the next line$this->requestAnalyzer->analyze($request);$this->baseRouteListener->onKernelRequest($event);if (false !== $request->attributes->getBoolean(static::REQUEST_ANALYZER, true)) {$this->requestAnalyzer->validate($request);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
onKernelRequest
(line 260)
$closure = static function (...$args) use (&$listener, &$closure) {if ($listener[0] instanceof \Closure) {$listener[0] = $listener[0]();$listener[1] ??= '__invoke';}($closure = $listener(...))(...$args);};} else {$closure = $listener instanceof WrappedListener ? $listener : $listener(...);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
::
Symfony\Component\EventDispatcher\{closure}
(line 220)
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 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 157)
*/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 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 197)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
// When using the HttpCache, you need to call the method in your front controller// instead of relying on the configuration parameter// https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-overrideRequest::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Symfony\Component\Routing\Exception\ ResourceNotFoundException
in
vendor/symfony-cmf/routing/src/ChainRouter.php
(line 180)
$info = $request? "this request\n$request": "url '$pathinfo'";throw $methodNotAllowed ?: new ResourceNotFoundException("None of the routers in the chain matched $info");}/*** {@inheritdoc}*
in
vendor/symfony-cmf/routing/src/ChainRouter.php
->
doMatch
(line 134)
** Loops through all routes and tries to match the passed request.*/public function matchRequest(Request $request): array{return $this->doMatch($request->getPathInfo(), $request);}/*** Loops through all routers and tries to match the passed request or url.*
in
vendor/symfony/http-kernel/EventListener/RouterListener.php
->
matchRequest
(line 105)
// 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());}$this->logger?->info('Matched route "{route}".', [
in
vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php
->
onKernelRequest
(line 58)
// This call is required in all cases, because the default router needs our webspace information// Would be nice to also only call this if the _requestAnalyzer attribute is set, but it's set on the next line$this->requestAnalyzer->analyze($request);$this->baseRouteListener->onKernelRequest($event);if (false !== $request->attributes->getBoolean(static::REQUEST_ANALYZER, true)) {$this->requestAnalyzer->validate($request);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
onKernelRequest
(line 260)
$closure = static function (...$args) use (&$listener, &$closure) {if ($listener[0] instanceof \Closure) {$listener[0] = $listener[0]();$listener[1] ??= '__invoke';}($closure = $listener(...))(...$args);};} else {$closure = $listener instanceof WrappedListener ? $listener : $listener(...);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
::
Symfony\Component\EventDispatcher\{closure}
(line 220)
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 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 157)
*/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 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 197)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
// When using the HttpCache, you need to call the method in your front controller// instead of relying on the configuration parameter// https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-overrideRequest::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 20:09:44 | deprecation |
User Deprecated: Short namespace aliases such as "SuluMediaBundle:Collection" are deprecated and will be removed in Doctrine ORM 3.0. (EntityManager.php:824 called by App_KernelDevDebugContainer.php:2574, https://github.com/doctrine/orm/issues/8818, package doctrine/orm) {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:77 called by App_KernelDevDebugContainer.php:1395, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\ORM\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:177, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm) {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Short namespace aliases such as "SuluMediaBundle:Collection" are deprecated, use ::class constant instead. (AbstractClassMetadataFactory.php:250 called by EntityManager.php:329, https://github.com/doctrine/persistence/issues/204, package doctrine/persistence) {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Persistence\EventSubscriber\ORM\MetadataSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Persistence\EventSubscriber\ORM\UserBlameSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Doctrine\ReferencesOption" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Doctrine\ORM\Tools\ResolveTargetEntityListener" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: The "Symfony\Bridge\Doctrine\SchemaListener\DoctrineDbalCacheAdapterSchemaSubscriber" class is deprecated. Use "Symfony\Bridge\Doctrine\SchemaListener\DoctrineDbalCacheAdapterSchemaListener" instead. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Symfony\Bridge\Doctrine\SchemaListener\DoctrineDbalCacheAdapterSchemaSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: The "Symfony\Bridge\Doctrine\SchemaListener\RememberMeTokenProviderDoctrineSchemaSubscriber" class is deprecated. Use "Symfony\Bridge\Doctrine\SchemaListener\RememberMeTokenProviderDoctrineSchemaListener" instead. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Symfony\Bridge\Doctrine\SchemaListener\RememberMeTokenProviderDoctrineSchemaSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Massive\Bundle\SearchBundle\Search\EventSubscriber\DoctrineOrmSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Persistence\EventSubscriber\ORM\TimestampableSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Bundle\SecurityBundle\EventListener\PermissionInheritanceSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Bundle\ActivityBundle\Infrastructure\Doctrine\Subscriber\DomainEventCollectorSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::getXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "getDefaultLocalization" instead. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::setXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "setDefaultLocalization" instead. {
"exception": {}
}
|
| INFO 20:09:44 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "5e4f26"
},
"request_uri": "https://da.wdemo.net/_profiler/5e4f26?panel=exception",
"method": "GET"
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: Enabling the "path" parameter is deprecated. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Since sulu/sulu 2.3: Enabling the "path" parameter is deprecated. {
"exception": {}
}
|
| INFO 20:09:44 | deprecation |
User Deprecated: Class "Nyholm\Psr7\Factory\HttplugFactory" is deprecated since version 1.8, use "Nyholm\Psr7\Factory\Psr17Factory" instead. {
"exception": {}
}
|
Stack Traces 2
|
[2/2]
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://da.wdemo.net/"
at vendor/symfony/http-kernel/EventListener/RouterListener.php:127
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php:58)
at Sulu\Bundle\WebsiteBundle\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/EventDispatcher.php:260)
at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:157)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:66)
|
|
[1/2]
ResourceNotFoundException
|
|---|
Symfony\Component\Routing\Exception\ResourceNotFoundException:
None of the routers in the chain matched this request
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
Host: da.wdemo.net
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
X-Php-Ob-Level: 1
at vendor/symfony-cmf/routing/src/ChainRouter.php:180
at Symfony\Cmf\Component\Routing\ChainRouter->doMatch()
(vendor/symfony-cmf/routing/src/ChainRouter.php:134)
at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest()
(vendor/symfony/http-kernel/EventListener/RouterListener.php:105)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php:58)
at Sulu\Bundle\WebsiteBundle\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/EventDispatcher.php:260)
at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:157)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:66)
|