Warning: include_once(/home/apcefrs/public_html/web/../var/bootstrap.php.cache): failed to open stream: No such file or directory in /home/apcefrs/public_html/web/app.php on line 9

Warning: include_once(): Failed opening '/home/apcefrs/public_html/web/../var/bootstrap.php.cache' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/apcefrs/public_html/web/app.php on line 9
No route found for "GET /noticias/article/%27%20+%20content.relacionados%5Bi%5D.id%20+%20%27" (404 Not Found)

Symfony Exception

ResourceNotFoundException NotFoundHttpException

HTTP 404 Not Found

No route found for "GET /noticias/article/%27%20+%20content.relacionados%5Bi%5D.id%20+%20%27"

Exceptions 2

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1. } catch (ResourceNotFoundException $e) {
  2. $message sprintf('No route found for "%s %s"'$request->getMethod(), $request->getPathInfo());
  3. if ($referer $request->headers->get('referer')) {
  4. $message .= sprintf(' (from "%s")'$referer);
  5. }
  6. throw new NotFoundHttpException($message$e);
  7. } catch (MethodNotAllowedException $e) {
  8. $message sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)'$request->getMethod(), $request->getPathInfo(), implode(', '$e->getAllowedMethods()));
  9. throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message$e);
  10. }
  11. }
RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 104)
  1.     {
  2.         $this->called true;
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         call_user_func($this->listener$event$eventName$this->dispatcher ?: $dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in var/cache/prod/classes.php (line 4026)
  1. {
  2. foreach ($listeners as $listener) {
  3. if ($event->isPropagationStopped()) {
  4. break;
  5. }
  6. call_user_func($listener$event$eventName$this);
  7. }
  8. }
  9. private function sortListeners($eventName)
  10. {
  11. krsort($this->listeners[$eventName]);
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in var/cache/prod/classes.php (line 3909)
  1. {
  2. if (null === $event) {
  3. $event = new Event();
  4. }
  5. if ($listeners $this->getListeners($eventName)) {
  6. $this->doDispatch($listeners$eventName$event);
  7. }
  8. return $event;
  9. }
  10. public function getListeners($eventName null)
  11. {
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 139)
  1.         $this->preProcess($eventName);
  2.         $this->preDispatch($eventName$event);
  3.         $e $this->stopwatch->start($eventName'section');
  4.         $this->dispatcher->dispatch($eventName$event);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in var/cache/prod/classes.php (line 4991)
  1. }
  2. private function handleRaw(Request $request$type self::MASTER_REQUEST)
  3. {
  4. $this->requestStack->push($request);
  5. $event = new GetResponseEvent($this$request$type);
  6. $this->dispatcher->dispatch(KernelEvents::REQUEST$event);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request$type);
  9. }
  10. if (false === $controller $this->resolver->getController($request)) {
  11. throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
HttpKernel->handleRaw(object(Request), 1) in var/cache/prod/classes.php (line 4961)
  1. }
  2. public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  3. {
  4. $request->headers->set('X-Php-Ob-Level'ob_get_level());
  5. try {
  6. return $this->handleRaw($request$type);
  7. } catch (\Exception $e) {
  8. if ($e instanceof RequestExceptionInterface) {
  9. $e = new BadRequestHttpException($e->getMessage(), $e);
  10. }
  11. if (false === $catch) {
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 169)
  1.     {
  2.         if (false === $this->booted) {
  3.             $this->boot();
  4.         }
  5.         return $this->getHttpKernel()->handle($request$type$catch);
  6.     }
  7.     /**
  8.      * Gets a HTTP kernel from the container.
  9.      *
Kernel->handle(object(Request)) in web/app.php (line 21)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Symfony\Component\Routing\Exception\ ResourceNotFoundException

  1.             return array (  '_controller' => 'Captcha\\Bundle\\CaptchaBundle\\Controller\\CaptchaHandlerController::indexAction',  '_route' => 'captcha_handler',);
  2.         }
  3.         not_captcha_handler:
  4.         throw count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  5.     }
  6. }
appProdDebugProjectContainerUrlMatcher->match('/noticias/article/%27%20+%20content.relacionados%5Bi%5D.id%20+%20%27') in var/cache/prod/classes.php (line 2161)
  1. : new ResourceNotFoundException(sprintf('No routes found for "%s".'$pathinfo));
  2. }
  3. public function matchRequest(Request $request)
  4. {
  5. $this->request $request;
  6. $ret $this->match($request->getPathInfo());
  7. $this->request null;
  8. return $ret;
  9. }
  10. public function addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider)
  11. {
UrlMatcher->matchRequest(object(Request)) in var/cache/prod/classes.php (line 2030)
  1. {
  2. $matcher $this->getMatcher();
  3. if (!$matcher instanceof RequestMatcherInterface) {
  4. return $matcher->match($request->getPathInfo());
  5. }
  6. return $matcher->matchRequest($request);
  7. }
  8. public function getMatcher()
  9. {
  10. if (null !== $this->matcher) {
  11. return $this->matcher;
Router->matchRequest(object(Request)) in var/cache/prod/classes.php (line 4247)
  1. if ($request->attributes->has('_controller')) {
  2. return;
  3. }
  4. try {
  5. if ($this->matcher instanceof RequestMatcherInterface) {
  6. $parameters $this->matcher->matchRequest($request);
  7. } else {
  8. $parameters $this->matcher->match($request->getPathInfo());
  9. }
  10. if (null !== $this->logger) {
  11. $this->logger->info('Matched route "{route}".', array('route'=> isset($parameters['_route']) ? $parameters['_route'] :'n/a','route_parameters'=> $parameters,'request_uri'=> $request->getUri(),'method'=> $request->getMethod(),
RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 104)
  1.     {
  2.         $this->called true;
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         call_user_func($this->listener$event$eventName$this->dispatcher ?: $dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in var/cache/prod/classes.php (line 4026)
  1. {
  2. foreach ($listeners as $listener) {
  3. if ($event->isPropagationStopped()) {
  4. break;
  5. }
  6. call_user_func($listener$event$eventName$this);
  7. }
  8. }
  9. private function sortListeners($eventName)
  10. {
  11. krsort($this->listeners[$eventName]);
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in var/cache/prod/classes.php (line 3909)
  1. {
  2. if (null === $event) {
  3. $event = new Event();
  4. }
  5. if ($listeners $this->getListeners($eventName)) {
  6. $this->doDispatch($listeners$eventName$event);
  7. }
  8. return $event;
  9. }
  10. public function getListeners($eventName null)
  11. {
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 139)
  1.         $this->preProcess($eventName);
  2.         $this->preDispatch($eventName$event);
  3.         $e $this->stopwatch->start($eventName'section');
  4.         $this->dispatcher->dispatch($eventName$event);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in var/cache/prod/classes.php (line 4991)
  1. }
  2. private function handleRaw(Request $request$type self::MASTER_REQUEST)
  3. {
  4. $this->requestStack->push($request);
  5. $event = new GetResponseEvent($this$request$type);
  6. $this->dispatcher->dispatch(KernelEvents::REQUEST$event);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request$type);
  9. }
  10. if (false === $controller $this->resolver->getController($request)) {
  11. throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
HttpKernel->handleRaw(object(Request), 1) in var/cache/prod/classes.php (line 4961)
  1. }
  2. public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  3. {
  4. $request->headers->set('X-Php-Ob-Level'ob_get_level());
  5. try {
  6. return $this->handleRaw($request$type);
  7. } catch (\Exception $e) {
  8. if ($e instanceof RequestExceptionInterface) {
  9. $e = new BadRequestHttpException($e->getMessage(), $e);
  10. }
  11. if (false === $catch) {
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 169)
  1.     {
  2.         if (false === $this->booted) {
  3.             $this->boot();
  4.         }
  5.         return $this->getHttpKernel()->handle($request$type$catch);
  6.     }
  7.     /**
  8.      * Gets a HTTP kernel from the container.
  9.      *
Kernel->handle(object(Request)) in web/app.php (line 21)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

No log messages

Stack Traces 2

[2/2] NotFoundHttpException

Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET /noticias/article/%27%20+%20content.relacionados%5Bi%5D.id%20+%20%27"

  at var/cache/prod/classes.php:4263
  at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
  at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
  at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
     (var/cache/prod/classes.php:4026)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
     (var/cache/prod/classes.php:3909)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:139)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
     (var/cache/prod/classes.php:4991)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (var/cache/prod/classes.php:4961)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/app.php:21)

[1/2] ResourceNotFoundException

Symfony\Component\Routing\Exception\ResourceNotFoundException:

  at var/cache/prod/appProdDebugProjectContainerUrlMatcher.php:407
  at appProdDebugProjectContainerUrlMatcher->match('/noticias/article/%27%20+%20content.relacionados%5Bi%5D.id%20+%20%27')
     (var/cache/prod/classes.php:2161)
  at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest(object(Request))
     (var/cache/prod/classes.php:2030)
  at Symfony\Component\Routing\Router->matchRequest(object(Request))
     (var/cache/prod/classes.php:4247)
  at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
  at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
  at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
     (var/cache/prod/classes.php:4026)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
     (var/cache/prod/classes.php:3909)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:139)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
     (var/cache/prod/classes.php:4991)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (var/cache/prod/classes.php:4961)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/app.php:21)