http://169.58.137.185:8080/_fragment

Exceptions

Exception

Symfony\Component\HttpKernel\Exception\ AccessDeniedHttpException

  1.         // is the Request signed?
  2.         if ($this->signer->checkRequest($request)) {
  3.             return;
  4.         }
  5.         throw new AccessDeniedHttpException();
  6.     }
  7.     public static function getSubscribedEvents(): array
  8.     {
  9.         return [
  1.             return;
  2.         }
  3.         if ($event->isMainRequest()) {
  4.             $this->validateRequest($request);
  5.         }
  6.         parse_str($request->query->get('_path', ''), $attributes);
  7.         $request->attributes->add($attributes);
  8.         $request->attributes->set('_route_params', array_replace($request->attributes->get('_route_params', []), $attributes));
  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 $request, int $type = self::MAIN_REQUEST): Response
  3.     {
  4.         // request
  5.         $event = new RequestEvent($this, $request, $type);
  6.         $this->dispatcher->dispatch($event, KernelEvents::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 app.php/ (line 27)
  1. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  2. //Request::enableHttpMethodParameterOverride();
  3. $request = Request::createFromGlobals();
  4. $response = $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request, $response);

Logs

Level Channel Message
INFO 11:00:30 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "6f40b8"
    },
    "request_uri": "http://169.58.137.185:8080/_profiler/6f40b8?panel=exception",
    "method": "GET"
}
DEBUG 11:00:30 app Event Subscriber: OnKernelController
DEBUG 11:00:30 app route is http://169.58.137.185:8080/_profiler/6f40b8?panel=exception
DEBUG 11:00:30 app Event Subscriber: OnKernelController
DEBUG 11:00:30 app route is http://169.58.137.185:8080/_fragment?_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dweb_profiler.controller.exception_panel%253A%253Astylesheet
DEBUG 11:00:30 app Event Subscriber: OnKernelController
DEBUG 11:00:30 app route is http://169.58.137.185:8080/_fragment?_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dweb_profiler.controller.profiler%253A%253AsearchBarAction&panel=exception
DEBUG 11:00:30 app Event Subscriber: OnKernelController
DEBUG 11:00:30 app route is http://169.58.137.185:8080/_fragment?_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dweb_profiler.controller.exception_panel%253A%253Abody

Stack Trace

AccessDeniedHttpException
Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException:

  at vendor/symfony/http-kernel/EventListener/FragmentListener.php:90
  at Symfony\Component\HttpKernel\EventListener\FragmentListener->validateRequest()
     (vendor/symfony/http-kernel/EventListener/FragmentListener.php:69)
  at Symfony\Component\HttpKernel\EventListener\FragmentListener->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()
     (app.php/:27)