Symfony Exception

The controller for URI "/ss20" is not callable: Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

Exceptions 5

InvalidArgumentException

  1.         }
  2.         try {
  3.             $callable $this->createController($controller);
  4.         } catch (\InvalidArgumentException $e) {
  5.             throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '$request->getPathInfo()).$e->getMessage(), 0$e);
  6.         }
  7.         if (!\is_callable($callable)) {
  8.             throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '$request->getPathInfo()).$this->getControllerError($callable));
  9.         }
  1.      */
  2.     public function getController(Request $request)
  3.     {
  4.         $e $this->stopwatch->start('controller.get_callable');
  5.         $ret $this->resolver->getController($request);
  6.         $e->stop();
  7.         return $ret;
  8.     }
  1.         if ($event->hasResponse()) {
  2.             return $this->filterResponse($event->getResponse(), $request$type);
  3.         }
  4.         // load controller
  5.         if (false === $controller $this->resolver->getController($request)) {
  6.             throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
  7.         }
  8.         $event = new ControllerEvent($this$controller$request$type);
  9.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_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.         $exception $event->getThrowable();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         try {
  4.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  5.         } catch (\Exception $e) {
  6.             $f FlattenException::createFromThrowable($e);
  7.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  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.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
in /app/vendor/symfony/http-kernel/HttpKernel.php -> handleThrowable (line 111)
  1.     {
  2.         if (!$request $request ?: $this->requestStack->getMasterRequest()) {
  3.             throw $exception;
  4.         }
  5.         $response $this->handleThrowable($exception$requestself::MASTER_REQUEST);
  6.         $response->sendHeaders();
  7.         $response->sendContent();
  8.         $this->terminate($request$response);
  1.                         if ($hasRun) {
  2.                             throw $e;
  3.                         }
  4.                         $hasRun true;
  5.                         $kernel->terminateWithException($e$request);
  6.                     };
  7.                 }
  8.             } elseif ($event instanceof ConsoleEvent && $app $event->getCommand()->getApplication()) {
  9.                 $output $event->getOutput();
  10.                 if ($output instanceof ConsoleOutputInterface) {
in /app/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 594)
  1.             $this->exceptionHandler null;
  2.         }
  3.         try {
  4.             if (null !== $exceptionHandler) {
  5.                 return $exceptionHandler($exception);
  6.             }
  7.             $handlerException $handlerException ?: $exception;
  8.         } catch (\Throwable $handlerException) {
  9.         }
  10.         if ($exception === $handlerException && null === $this->exceptionHandler) {
ErrorHandler->handleException()

InvalidArgumentException

Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

  1.             throw $e;
  2.         }
  3.         if (!\is_callable($controller)) {
  4.             throw new \InvalidArgumentException($this->getControllerError($controller));
  5.         }
  6.         return $controller;
  7.     }
  1.         if (=== substr_count($controller':')) {
  2.             $controller str_replace(':''::'$controller);
  3.             trigger_deprecation('symfony/http-kernel''5.1''Referencing controllers with a single colon is deprecated. Use "%s" instead.'$controller);
  4.         }
  5.         return parent::createController($controller);
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  9.      */
  1.         if (\function_exists($controller)) {
  2.             return $controller;
  3.         }
  4.         try {
  5.             $callable $this->createController($controller);
  6.         } catch (\InvalidArgumentException $e) {
  7.             throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '$request->getPathInfo()).$e->getMessage(), 0$e);
  8.         }
  9.         if (!\is_callable($callable)) {
  1.      */
  2.     public function getController(Request $request)
  3.     {
  4.         $e $this->stopwatch->start('controller.get_callable');
  5.         $ret $this->resolver->getController($request);
  6.         $e->stop();
  7.         return $ret;
  8.     }
  1.         if ($event->hasResponse()) {
  2.             return $this->filterResponse($event->getResponse(), $request$type);
  3.         }
  4.         // load controller
  5.         if (false === $controller $this->resolver->getController($request)) {
  6.             throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
  7.         }
  8.         $event = new ControllerEvent($this$controller$request$type);
  9.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_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.         $exception $event->getThrowable();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         try {
  4.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  5.         } catch (\Exception $e) {
  6.             $f FlattenException::createFromThrowable($e);
  7.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  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.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
in /app/vendor/symfony/http-kernel/HttpKernel.php -> handleThrowable (line 111)
  1.     {
  2.         if (!$request $request ?: $this->requestStack->getMasterRequest()) {
  3.             throw $exception;
  4.         }
  5.         $response $this->handleThrowable($exception$requestself::MASTER_REQUEST);
  6.         $response->sendHeaders();
  7.         $response->sendContent();
  8.         $this->terminate($request$response);
  1.                         if ($hasRun) {
  2.                             throw $e;
  3.                         }
  4.                         $hasRun true;
  5.                         $kernel->terminateWithException($e$request);
  6.                     };
  7.                 }
  8.             } elseif ($event instanceof ConsoleEvent && $app $event->getCommand()->getApplication()) {
  9.                 $output $event->getOutput();
  10.                 if ($output instanceof ConsoleOutputInterface) {
in /app/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 594)
  1.             $this->exceptionHandler null;
  2.         }
  3.         try {
  4.             if (null !== $exceptionHandler) {
  5.                 return $exceptionHandler($exception);
  6.             }
  7.             $handlerException $handlerException ?: $exception;
  8.         } catch (\Throwable $handlerException) {
  9.         }
  10.         if ($exception === $handlerException && null === $this->exceptionHandler) {
ErrorHandler->handleException()

InvalidArgumentException

The controller for URI "/ss20" is not callable: Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

  1.         }
  2.         try {
  3.             $callable $this->createController($controller);
  4.         } catch (\InvalidArgumentException $e) {
  5.             throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '$request->getPathInfo()).$e->getMessage(), 0$e);
  6.         }
  7.         if (!\is_callable($callable)) {
  8.             throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '$request->getPathInfo()).$this->getControllerError($callable));
  9.         }
  1.      */
  2.     public function getController(Request $request)
  3.     {
  4.         $e $this->stopwatch->start('controller.get_callable');
  5.         $ret $this->resolver->getController($request);
  6.         $e->stop();
  7.         return $ret;
  8.     }
  1.         if ($event->hasResponse()) {
  2.             return $this->filterResponse($event->getResponse(), $request$type);
  3.         }
  4.         // load controller
  5.         if (false === $controller $this->resolver->getController($request)) {
  6.             throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
  7.         }
  8.         $event = new ControllerEvent($this$controller$request$type);
  9.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_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.         $exception $event->getThrowable();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         try {
  4.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  5.         } catch (\Exception $e) {
  6.             $f FlattenException::createFromThrowable($e);
  7.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  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.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
in /app/vendor/symfony/http-kernel/HttpKernel.php -> handleThrowable (line 90)
  1.                 $this->finishRequest($request$type);
  2.                 throw $e;
  3.             }
  4.             return $this->handleThrowable($e$request$type);
  5.         }
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  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 /app/public/index.php (line 27)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

InvalidArgumentException

Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

  1.             throw $e;
  2.         }
  3.         if (!\is_callable($controller)) {
  4.             throw new \InvalidArgumentException($this->getControllerError($controller));
  5.         }
  6.         return $controller;
  7.     }
  1.         if (=== substr_count($controller':')) {
  2.             $controller str_replace(':''::'$controller);
  3.             trigger_deprecation('symfony/http-kernel''5.1''Referencing controllers with a single colon is deprecated. Use "%s" instead.'$controller);
  4.         }
  5.         return parent::createController($controller);
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  9.      */
  1.         if (\function_exists($controller)) {
  2.             return $controller;
  3.         }
  4.         try {
  5.             $callable $this->createController($controller);
  6.         } catch (\InvalidArgumentException $e) {
  7.             throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '$request->getPathInfo()).$e->getMessage(), 0$e);
  8.         }
  9.         if (!\is_callable($callable)) {
  1.      */
  2.     public function getController(Request $request)
  3.     {
  4.         $e $this->stopwatch->start('controller.get_callable');
  5.         $ret $this->resolver->getController($request);
  6.         $e->stop();
  7.         return $ret;
  8.     }
  1.         if ($event->hasResponse()) {
  2.             return $this->filterResponse($event->getResponse(), $request$type);
  3.         }
  4.         // load controller
  5.         if (false === $controller $this->resolver->getController($request)) {
  6.             throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
  7.         }
  8.         $event = new ControllerEvent($this$controller$request$type);
  9.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_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.         $exception $event->getThrowable();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         try {
  4.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  5.         } catch (\Exception $e) {
  6.             $f FlattenException::createFromThrowable($e);
  7.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  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.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
in /app/vendor/symfony/http-kernel/HttpKernel.php -> handleThrowable (line 90)
  1.                 $this->finishRequest($request$type);
  2.                 throw $e;
  3.             }
  4.             return $this->handleThrowable($e$request$type);
  5.         }
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  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 /app/public/index.php (line 27)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.         $query->where('locale'$contentfulLocale);
  2.         //$query->setLocale($contentfulLocale);
  3.         $entries $client->getEntries($query);
  4.         if (count($entries) == 0) {
  5.             throw new NotFoundHttpException;
  6.         }
  7.         $entry $entries[0];
  8.         $entry->setLocale($contentfulLocale);
ContentfulClient->getEntry() in /app/src/Controller/DefaultController.php (line 214)
  1.      * @param Request $request
  2.      * @return Response
  3.      */
  4.     public function unitAction(Request $request$unitId)
  5.     {
  6.         $entry $this->CMS_CLIENT->getEntry($request$unitId3'fields.slug''unit');
  7.         return $this->CMS_CLIENT->getPage($request'templates/UnitPage.html.twig'$entry$this->getGlobalParams($request));
  8.     }
  9.     /**
  10.      * @Route("/{unitId}/{projectId}", defaults={"_format": "html"}, name="project", requirements={"_format": "html"})
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_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 /app/public/index.php (line 27)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Traces 5

[5/5] InvalidArgumentException

InvalidArgumentException:
The controller for URI "/ss20" is not callable: Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

  at /app/vendor/symfony/http-kernel/Controller/ControllerResolver.php:88
  at Symfony\Component\HttpKernel\Controller\ControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php:38)
  at Symfony\Component\HttpKernel\Controller\TraceableControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:140)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/app/vendor/symfony/http-kernel/EventListener/ErrorListener.php:60)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:218)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:111)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
     (/app/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:127)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
     (/app/vendor/symfony/error-handler/ErrorHandler.php:594)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException()                

[4/5] InvalidArgumentException

InvalidArgumentException:
Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

  at /app/vendor/symfony/http-kernel/Controller/ControllerResolver.php:134
  at Symfony\Component\HttpKernel\Controller\ControllerResolver->createController()
     (/app/vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php:42)
  at Symfony\Component\HttpKernel\Controller\ContainerControllerResolver->createController()
     (/app/vendor/symfony/http-kernel/Controller/ControllerResolver.php:86)
  at Symfony\Component\HttpKernel\Controller\ControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php:38)
  at Symfony\Component\HttpKernel\Controller\TraceableControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:140)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/app/vendor/symfony/http-kernel/EventListener/ErrorListener.php:60)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:218)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:111)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
     (/app/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:127)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
     (/app/vendor/symfony/error-handler/ErrorHandler.php:594)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException()                

[3/5] InvalidArgumentException

InvalidArgumentException:
The controller for URI "/ss20" is not callable: Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

  at /app/vendor/symfony/http-kernel/Controller/ControllerResolver.php:88
  at Symfony\Component\HttpKernel\Controller\ControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php:38)
  at Symfony\Component\HttpKernel\Controller\TraceableControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:140)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/app/vendor/symfony/http-kernel/EventListener/ErrorListener.php:60)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:218)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:90)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/app/vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/app/public/index.php:27)                

[2/5] InvalidArgumentException

InvalidArgumentException:
Expected method "showException" on class "App\Controller\DefaultController". Available methods: "showFullDataJSONAction", "proofreadingAction", "proofreadingUnitAction", "pusherAuthAction", "indexAction", "programmeDataJSONAction", "showDataJSONAction", "aboutAction", "memorialAction", "programmesAction", "contactAction", "eventsAction", "unitAction", "projectAction", "setupRender", "setContainer", "getSubscribedServices".

  at /app/vendor/symfony/http-kernel/Controller/ControllerResolver.php:134
  at Symfony\Component\HttpKernel\Controller\ControllerResolver->createController()
     (/app/vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php:42)
  at Symfony\Component\HttpKernel\Controller\ContainerControllerResolver->createController()
     (/app/vendor/symfony/http-kernel/Controller/ControllerResolver.php:86)
  at Symfony\Component\HttpKernel\Controller\ControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php:38)
  at Symfony\Component\HttpKernel\Controller\TraceableControllerResolver->getController()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:140)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/app/vendor/symfony/http-kernel/EventListener/ErrorListener.php:60)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/app/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:218)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:90)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/app/vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/app/public/index.php:27)                

[1/5] NotFoundHttpException

Symfony\Component\HttpKernel\Exception\NotFoundHttpException:

  at /app/src/HelloMonday/Contentful/ContentfulClient.php:141
  at App\HelloMonday\Contentful\ContentfulClient->getEntry()
     (/app/src/Controller/DefaultController.php:214)
  at App\Controller\DefaultController->unitAction()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:157)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/app/vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/app/vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/app/public/index.php:27)