Symfony Exception

No route found for "GET https://spielzeugmuseummuenchen.de/muzeum/" (from "http://spielzeugmuseummuenchen.de/muzeum/")

Exceptions 2

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.             if ($referer $request->headers->get('referer')) {
  2.                 $message .= sprintf(' (from "%s")'$referer);
  3.             }
  4.             throw new NotFoundHttpException($message$e);
  5.         } catch (MethodNotAllowedException $e) {
  6.             $message sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)'$request->getMethod(), $request->getUriForPath($request->getPathInfo()), implode(', '$e->getAllowedMethods()));
  7.             throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message$e);
  8.         }
  1.         $request $event->getRequest();
  2.         // This call is required in all cases, because the default router needs our webspace information
  3.         // Would be nice to also only call this if the _requestAnalyzer attribute is set, but it's set on the next line
  4.         $this->requestAnalyzer->analyze($request);
  5.         $this->baseRouteListener->onKernelRequest($event);
  6.         if (false !== $request->attributes->getBoolean(static::REQUEST_ANALYZERtrue)) {
  7.             $this->requestAnalyzer->validate($request);
  8.         }
  9.     }
  1.                     $closure = static function (...$args) use (&$listener, &$closure) {
  2.                         if ($listener[0] instanceof \Closure) {
  3.                             $listener[0] = $listener[0]();
  4.                             $listener[1] = $listener[1] ?? '__invoke';
  5.                         }
  6.                         ($closure \Closure::fromCallable($listener))(...$args);
  7.                     };
  8.                 } else {
  9.                     $closure $listener instanceof \Closure || $listener instanceof WrappedListener $listener \Closure::fromCallable($listener);
  10.                 }
  11.             }
in vendor/symfony/event-dispatcher/EventDispatcher.php :: Symfony\Component\EventDispatcher\{closure} (line 230)
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.     {
  2.         $this->requestStack->push($request);
  3.         // request
  4.         $event = new RequestEvent($this$request$type);
  5.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  6.         if ($event->hasResponse()) {
  7.             return $this->filterResponse($event->getResponse(), $request$type);
  8.         }
  1.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 66)
  1. // When using the HttpCache, you need to call the method in your front controller
  2. // instead of relying on the configuration parameter
  3. // https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-override
  4. Request::enableHttpMethodParameterOverride();
  5. $request Request::createFromGlobals();
  6. $response $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request$response);

Symfony\Component\Routing\Exception\ ResourceNotFoundException

None of the routers in the chain matched this request GET /muzeum/ HTTP/2.0 Accept: */* Content-Length: Content-Type: Host: spielzeugmuseummuenchen.de Referer: http://spielzeugmuseummuenchen.de/muzeum/ User-Agent: claudebot X-Php-Ob-Level: 1

  1.         $info $request
  2.             "this request\n$request"
  3.             "url '$pathinfo'";
  4.         throw $methodNotAllowed ?: new ResourceNotFoundException("None of the routers in the chain matched $info");
  5.     }
  6.     /**
  7.      * {@inheritdoc}
  8.      *
  1.      *
  2.      * Loops through all routes and tries to match the passed request.
  3.      */
  4.     public function matchRequest(Request $request)
  5.     {
  6.         return $this->doMatch($request->getPathInfo(), $request);
  7.     }
  8.     /**
  9.      * Loops through all routers and tries to match the passed request or url.
  10.      *
  1.         // add attributes based on the request (routing)
  2.         try {
  3.             // matching a request is more powerful than matching a URL path + context, so try that first
  4.             if ($this->matcher instanceof RequestMatcherInterface) {
  5.                 $parameters $this->matcher->matchRequest($request);
  6.             } else {
  7.                 $parameters $this->matcher->match($request->getPathInfo());
  8.             }
  9.             if (null !== $this->logger) {
  1.         $request $event->getRequest();
  2.         // This call is required in all cases, because the default router needs our webspace information
  3.         // Would be nice to also only call this if the _requestAnalyzer attribute is set, but it's set on the next line
  4.         $this->requestAnalyzer->analyze($request);
  5.         $this->baseRouteListener->onKernelRequest($event);
  6.         if (false !== $request->attributes->getBoolean(static::REQUEST_ANALYZERtrue)) {
  7.             $this->requestAnalyzer->validate($request);
  8.         }
  9.     }
  1.                     $closure = static function (...$args) use (&$listener, &$closure) {
  2.                         if ($listener[0] instanceof \Closure) {
  3.                             $listener[0] = $listener[0]();
  4.                             $listener[1] = $listener[1] ?? '__invoke';
  5.                         }
  6.                         ($closure \Closure::fromCallable($listener))(...$args);
  7.                     };
  8.                 } else {
  9.                     $closure $listener instanceof \Closure || $listener instanceof WrappedListener $listener \Closure::fromCallable($listener);
  10.                 }
  11.             }
in vendor/symfony/event-dispatcher/EventDispatcher.php :: Symfony\Component\EventDispatcher\{closure} (line 230)
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.     {
  2.         $this->requestStack->push($request);
  3.         // request
  4.         $event = new RequestEvent($this$request$type);
  5.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  6.         if ($event->hasResponse()) {
  7.             return $this->filterResponse($event->getResponse(), $request$type);
  8.         }
  1.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 66)
  1. // When using the HttpCache, you need to call the method in your front controller
  2. // instead of relying on the configuration parameter
  3. // https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-override
  4. Request::enableHttpMethodParameterOverride();
  5. $request Request::createFromGlobals();
  6. $response $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request$response);

Logs 1

Level Channel Message
INFO 09:56:21 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead.
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Return type of Jackalope\NamespaceRegistry::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Return type of Jackalope\NodeType\NodeTypeManager::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy.
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Sulu\Bundle\SecurityBundle\Entity\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Return type of Sulu\Bundle\ContactBundle\Entity\ContactTitle::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Return type of Sulu\Component\Webspace\Manager\WebspaceCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Return type of Sulu\Component\Localization\Localization::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::isXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "isDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::isXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "isDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::isXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "isDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Webspace\Portal::getXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "getDefaultLocalization" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Webspace\Portal::setXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "setDefaultLocalization" instead.
{
    "exception": {}
}
INFO 09:56:21 php User Deprecated: The "Sulu\Component\Localization\Localization::isXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "isDefault" instead.
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
{
    "exception": {}
}
DEBUG 09:56:21 app Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "No routes found for "/muzeum"."
DEBUG 09:56:21 app Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message ""
DEBUG 09:56:21 doctrine SELECT 1 FROM phpcr_workspaces WHERE name = ?
[
    "default_live"
]
DEBUG 09:56:21 doctrine SELECT prefix, uri FROM phpcr_namespaces
DEBUG 09:56:21 doctrine SELECT * FROM phpcr_nodes WHERE path = :path AND workspace_name = :workspace ORDER BY depth, sort_order ASC
{
    "path": "/cmf/spielzeugmuseummuench [...]",
    "pathd": "/cmf/spielzeugmuseummuench [...]",
    "workspace": "default_live"
}
INFO 09:56:21 php Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated
{
    "exception": {}
}
DEBUG 09:56:21 app Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message ""
DEBUG 09:56:21 doctrine SELECT r0_.path AS path_0, r0_.locale AS locale_1, r0_.entity_class AS entity_class_2, r0_.entity_id AS entity_id_3, r0_.history AS history_4, r0_.id AS id_5, r0_.created AS created_6, r0_.changed AS changed_7, r1_.path AS path_8, r1_.locale AS locale_9, r1_.entity_class AS entity_class_10, r1_.entity_id AS entity_id_11, r1_.history AS history_12, r1_.id AS id_13, r1_.created AS created_14, r1_.changed AS changed_15, r0_.target_id AS target_id_16, r0_.idUsersCreator AS idUsersCreator_17, r0_.idUsersChanger AS idUsersChanger_18, r1_.target_id AS target_id_19, r1_.idUsersCreator AS idUsersCreator_20, r1_.idUsersChanger AS idUsersChanger_21 FROM ro_routes r0_ LEFT JOIN ro_routes r1_ ON r0_.target_id = r1_.id WHERE r0_.path = ? AND r0_.locale = ?
[
    "/muzeum/",
    "de"
]
DEBUG 09:56:21 app Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message ""
ERROR 09:56:21 request Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET https://spielzeugmuseummuenchen.de/muzeum/" (from "http://spielzeugmuseummuenchen.de/muzeum/")" at /var/www/hosting/spielzeugmuseummuenchen_de/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Return type of Sulu\Component\Content\Compat\Structure::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{
    "exception": {}
}
INFO 09:56:21 php Deprecated: Return type of Sulu\Component\Content\Compat\Property::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{
    "exception": {}
}
DEBUG 09:56:21 app Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "No routes found for "/muzeum/"."
DEBUG 09:56:21 app Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message ""
DEBUG 09:56:21 doctrine SELECT * FROM phpcr_nodes WHERE path = :path AND workspace_name = :workspace ORDER BY depth, sort_order ASC
{
    "path": "/cmf/spielzeugmuseummuench [...]",
    "pathd": "/cmf/spielzeugmuseummuench [...]",
    "workspace": "default_live"
}
INFO 09:56:21 php Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated
{
    "exception": {}
}
DEBUG 09:56:21 app Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message ""
DEBUG 09:56:21 doctrine SELECT r0_.path AS path_0, r0_.locale AS locale_1, r0_.entity_class AS entity_class_2, r0_.entity_id AS entity_id_3, r0_.history AS history_4, r0_.id AS id_5, r0_.created AS created_6, r0_.changed AS changed_7, r1_.path AS path_8, r1_.locale AS locale_9, r1_.entity_class AS entity_class_10, r1_.entity_id AS entity_id_11, r1_.history AS history_12, r1_.id AS id_13, r1_.created AS created_14, r1_.changed AS changed_15, r0_.target_id AS target_id_16, r0_.idUsersCreator AS idUsersCreator_17, r0_.idUsersChanger AS idUsersChanger_18, r1_.target_id AS target_id_19, r1_.idUsersCreator AS idUsersCreator_20, r1_.idUsersChanger AS idUsersChanger_21 FROM ro_routes r0_ LEFT JOIN ro_routes r1_ ON r0_.target_id = r1_.id WHERE r0_.path = ? AND r0_.locale = ?
[
    "/muzeum",
    "de"
]
DEBUG 09:56:21 app Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message ""

Stack Traces 2

[2/2] NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://spielzeugmuseummuenchen.de/muzeum/" (from "http://spielzeugmuseummuenchen.de/muzeum/")

  at vendor/symfony/http-kernel/EventListener/RouterListener.php:136
  at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
     (vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php:57)
  at Sulu\Bundle\WebsiteBundle\EventListener\RouterListener->onKernelRequest()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:270)
  at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
     (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/http-kernel/HttpKernel.php:132)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:78)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:199)
  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 /muzeum/ HTTP/2.0
Accept:         */*
Content-Length: 
Content-Type:   
Host:           spielzeugmuseummuenchen.de
Referer:        http://spielzeugmuseummuenchen.de/muzeum/
User-Agent:     claudebot
X-Php-Ob-Level: 1



  at vendor/symfony-cmf/routing/src/ChainRouter.php:210
  at Symfony\Cmf\Component\Routing\ChainRouter->doMatch()
     (vendor/symfony-cmf/routing/src/ChainRouter.php:158)
  at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest()
     (vendor/symfony/http-kernel/EventListener/RouterListener.php:112)
  at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
     (vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php:57)
  at Sulu\Bundle\WebsiteBundle\EventListener\RouterListener->onKernelRequest()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:270)
  at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
     (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/http-kernel/HttpKernel.php:132)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:78)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:199)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:66)