No route found for "GET /fr/animations-pour-les-petits"
404 Not Found - NotFoundHttpException
1 linked Exception:
- ResourceNotFoundException »
[2/2] NotFoundHttpException: No route found for "GET /fr/animations-pour-les-petits"
-
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php at line 145
$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->getPathInfo(), implode(', ', $e->getAllowedMethods()));
- at RouterListener ->onKernelRequest (object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
-
at
call_user_func
(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 391return function (Event $event) use ($self, $eventName, $eventId, $listener) {
$e = $self->preListenerCall($eventName, $eventId, $listener);
call_user_func($listener, $event, $eventName, $self);
if ($e->isStarted()) {
$e->stop();
- at TraceableEventDispatcher ->Symfony\Component\HttpKernel\Debug\{closure} (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
-
at
call_user_func
(object(Closure), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php at line 164protected function doDispatch($listeners, $eventName, Event $event)
{
foreach ($listeners as $listener) {
call_user_func($listener, $event, $eventName, $this);
if ($event->isPropagationStopped()) {
break;
}
-
at
EventDispatcher
->doDispatch
(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php at line 53return $event;
}
$this->doDispatch($this->getListeners($eventName), $eventName, $event);
return $event;
}
-
at
EventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php at line 167{
$this->lazyLoad($eventName);
return parent::dispatch($eventName, $event);
}
public function getContainer()
-
at
ContainerAwareEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 138$this->firstCalledEvent[$eventName]->stop();
}
$this->dispatcher->dispatch($eventName, $event);
unset($this->firstCalledEvent[$eventName]);
-
at
TraceableEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in kernel.root_dir/bootstrap.php.cache at line 2946{
$this->requestStack->push($request);
$event = new GetResponseEvent($this, $request, $type);
$this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2929public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
$this->finishRequest($request, $type);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 3068$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2336if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/web/app.php at line 31Request::setTrustedProxies(['127.0.0.1', '87.252.12.57']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
//
//if (!in_array('ROLE_FRONT_USER', $kernel->getContainer()->get('security.context')->getToken()->getRoles())) {
// $response->headers->clearCookie('myhomepage');
[1/2]
ResourceNotFoundException: None of the routers in the chain matched this request
GET /fr/animations-pour-les-petits HTTP/1.0
Accept: */*
Connection: close
Host: backend.nice.fr
User-Agent: claudebot
X-Accel-Internal: /internal-nginx-static-location
X-Forwarded-For: 3.224.147.211
X-Php-Ob-Level: 1
X-Real-Ip: 3.224.147.211
-
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php at line 201
$info = $request
? "this request\n$request"
: "url '$url'";
throw $methodNotAllowed ?: new ResourceNotFoundException("None of the routers in the chain matched $info");
}
/**
-
at
ChainRouter
->doMatch
('/fr/animations-pour-les-petits', object(Request))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php at line 156*/
public function matchRequest(Request $request)
{
return $this->doMatch($request->getPathInfo(), $request);
}
/**
-
at
ChainRouter
->matchRequest
(object(Request))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php at line 125try {
// 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());
}
- at RouterListener ->onKernelRequest (object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
-
at
call_user_func
(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 391return function (Event $event) use ($self, $eventName, $eventId, $listener) {
$e = $self->preListenerCall($eventName, $eventId, $listener);
call_user_func($listener, $event, $eventName, $self);
if ($e->isStarted()) {
$e->stop();
- at TraceableEventDispatcher ->Symfony\Component\HttpKernel\Debug\{closure} (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
-
at
call_user_func
(object(Closure), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php at line 164protected function doDispatch($listeners, $eventName, Event $event)
{
foreach ($listeners as $listener) {
call_user_func($listener, $event, $eventName, $this);
if ($event->isPropagationStopped()) {
break;
}
-
at
EventDispatcher
->doDispatch
(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php at line 53return $event;
}
$this->doDispatch($this->getListeners($eventName), $eventName, $event);
return $event;
}
-
at
EventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php at line 167{
$this->lazyLoad($eventName);
return parent::dispatch($eventName, $event);
}
public function getContainer()
-
at
ContainerAwareEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 138$this->firstCalledEvent[$eventName]->stop();
}
$this->dispatcher->dispatch($eventName, $event);
unset($this->firstCalledEvent[$eventName]);
-
at
TraceableEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in kernel.root_dir/bootstrap.php.cache at line 2946{
$this->requestStack->push($request);
$event = new GetResponseEvent($this, $request, $type);
$this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2929public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
$this->finishRequest($request, $type);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 3068$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2336if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /var/www/vhosts/backend.nice.fr/httpdocs/www/web/app.php at line 31Request::setTrustedProxies(['127.0.0.1', '87.252.12.57']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
//
//if (!in_array('ROLE_FRONT_USER', $kernel->getContainer()->get('security.context')->getToken()->getRoles())) {
// $response->headers->clearCookie('myhomepage');
Stack Trace (Plain Text)
[1] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /fr/animations-pour-les-petits" at n/a in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 145 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in line at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 391 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->Symfony\Component\HttpKernel\Debug\{closure}(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in line at call_user_func(object(Closure), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 164 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 53 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 167 at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 138 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 2946 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 2929 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 3068 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 2336 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/web/app.php line 31 [2] Symfony\Component\Routing\Exception\ResourceNotFoundException: None of the routers in the chain matched this request GET /fr/animations-pour-les-petits HTTP/1.0 Accept: */* Connection: close Host: backend.nice.fr User-Agent: claudebot X-Accel-Internal: /internal-nginx-static-location X-Forwarded-For: 3.224.147.211 X-Php-Ob-Level: 1 X-Real-Ip: 3.224.147.211 at n/a in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php line 201 at Symfony\Cmf\Component\Routing\ChainRouter->doMatch('/fr/animations-pour-les-petits', object(Request)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php line 156 at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest(object(Request)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 125 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in line at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 391 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->Symfony\Component\HttpKernel\Debug\{closure}(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in line at call_user_func(object(Closure), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 164 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 53 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 167 at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 138 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 2946 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 2929 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 3068 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/vhosts/backend.nice.fr/httpdocs/www/app/bootstrap.php.cache line 2336 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/vhosts/backend.nice.fr/httpdocs/www/web/app.php line 31