https://life-insurance.representationmedia.co.uk/config.json

Exceptions

No route found for "GET https://life-insurance.representationmedia.co.uk/config.json"

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.     private function handleRaw(Request $requestint $type self::MAIN_REQUEST): Response
  3.     {
  4.         // request
  5.         $event = new RequestEvent($this$request$type);
  6.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  7.         if ($event->hasResponse()) {
  8.             return $this->filterResponse($event->getResponse(), $request$type);
  9.         }
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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 /config.json HTTP/1.1 Accept-Encoding: gzip Connection: close Host: life-insurance.representationmedia.co.uk User-Agent: Go-http-client/1.1 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.     private function handleRaw(Request $requestint $type self::MAIN_REQUEST): Response
  3.     {
  4.         // request
  5.         $event = new RequestEvent($this$request$type);
  6.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  7.         if ($event->hasResponse()) {
  8.             return $this->filterResponse($event->getResponse(), $request$type);
  9.         }
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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

Level Channel Message
INFO 10:06:36 deprecation User Deprecated: Since symfony/security-core 5.4: Not setting the 5th argument of "Symfony\Component\Security\Core\Authorization\AuthorizationChecker::__construct" to "false" is deprecated.
{
    "exception": {}
}
INFO 10:06:36 deprecation User Deprecated: Since symfony/security-bundle 5.3: The "sulu_security.encoder_factory" service is deprecated, use "security.password_hasher_factory" instead.
{
    "exception": {}
}
INFO 10:06:36 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactory" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory" instead.
{
    "exception": {}
}
INFO 10:06:36 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface" instead.
{
    "exception": {}
}
INFO 10:06:36 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 10:06:36 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 10:06:36 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 10:06:36 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 10:06:36 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 10:06:36 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 10:06:36 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 10:06:36 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 10:06:36 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "92b9d8"
    },
    "request_uri": "https://life-insurance.representationmedia.co.uk/_profiler/92b9d8",
    "method": "GET"
}
INFO 10:06:36 deprecation User Deprecated: Since symfony/security-bundle 5.4: Setting the $authenticatorManagerEnabled argument of "Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector::__construct" to "false" is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 10:06:36 deprecation User Deprecated: Class "Nyholm\Psr7\Factory\HttplugFactory" is deprecated since version 1.8, use "Nyholm\Psr7\Factory\Psr17Factory" instead.
{
    "exception": {}
}
INFO 10:06:36 deprecation User Deprecated: Since symfony/http-kernel 5.3: "Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest()" is deprecated, use "isMainRequest()" instead.
{
    "exception": {}
}
INFO 10:06:36 deprecation User Deprecated: Since symfony/http-kernel 5.3: "Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest()" is deprecated, use "isMainRequest()" instead.
{
    "exception": {}
}

Stack Traces 2

[2/2] NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://life-insurance.representationmedia.co.uk/config.json"

  at vendor/symfony/http-kernel/EventListener/RouterListener.php:135
  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: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:66)                
[1/2] ResourceNotFoundException
Symfony\Component\Routing\Exception\ResourceNotFoundException:
None of the routers in the chain matched this request
GET /config.json HTTP/1.1
Accept-Encoding: gzip
Connection:      close
Host:            life-insurance.representationmedia.co.uk
User-Agent:      Go-http-client/1.1
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:111)
  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: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:66)