Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ AccessDeniedHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException {#1558 -statusCode: 403 -headers: [] }
// is the Request signed?if ($this->signer->checkRequest($request)) {return;}throw new AccessDeniedHttpException();}public static function getSubscribedEvents(): array{return [
in
vendor/symfony/http-kernel/EventListener/FragmentListener.php
->
validateRequest
(line 69)
return;}if ($event->isMainRequest()) {$this->validateRequest($request);}parse_str($request->query->get('_path', ''), $attributes);$request->attributes->add($attributes);$request->attributes->set('_route_params', array_replace($request->attributes->get('_route_params', []), $attributes));
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
onKernelRequest
(line 260)
$closure = static function (...$args) use (&$listener, &$closure) {if ($listener[0] instanceof \Closure) {$listener[0] = $listener[0]();$listener[1] ??= '__invoke';}($closure = $listener(...))(...$args);};} else {$closure = $listener instanceof WrappedListener ? $listener : $listener(...);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
::
Symfony\Component\EventDispatcher\{closure}
(line 220)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 142)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 74)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 197)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
// When using the HttpCache, you need to call the method in your front controller// instead of relying on the configuration parameter// https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-overrideRequest::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 23:19:43 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"host": "nodea",
"port": 3306,
"user": "kiwisulu",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": {
"collation": "utf8mb4_unicode_ci"
},
"dbname": "kiwisulu_test",
"charset": "utf8mb4"
}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Persistence\EventSubscriber\ORM\MetadataSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Persistence\EventSubscriber\ORM\UserBlameSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Doctrine\ReferencesOption" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Doctrine\ORM\Tools\ResolveTargetEntityListener" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Massive\Bundle\SearchBundle\Search\EventSubscriber\DoctrineOrmSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Component\Persistence\EventSubscriber\ORM\TimestampableSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Bundle\SecurityBundle\EventListener\PermissionInheritanceSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Bundle\RedirectBundle\GoneSubscriber\GoneEntitySubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Sulu\Bundle\ActivityBundle\Infrastructure\Doctrine\Subscriber\DomainEventCollectorSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Using XML mapping driver with XSD validation disabled is deprecated and will not be supported in Doctrine ORM 3.0. (XmlDriver.php:64 called by SimplifiedXmlDriver.php:23, https://github.com/doctrine/orm/pull/6728, package doctrine/orm) {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:82 called by App_KernelDevDebugContainer.php:1441, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: The annotation mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to the attribute or XML driver. (AnnotationDriver.php:69 called by App_KernelDevDebugContainer.php:1456, https://github.com/doctrine/orm/issues/10098, package doctrine/orm) {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Short namespace aliases such as "SuluMediaBundle:Collection" are deprecated and will be removed in Doctrine ORM 3.0. (EntityManager.php:811 called by App_KernelDevDebugContainer.php:2660, https://github.com/doctrine/orm/issues/8818, package doctrine/orm) {
"exception": {}
}
|
| INFO 23:19:43 | php |
User Deprecated: Short namespace aliases such as "SuluMediaBundle:Collection" are deprecated, use ::class constant instead. (AbstractClassMetadataFactory.php:254 called by EntityManager.php:318, https://github.com/doctrine/persistence/issues/204, package doctrine/persistence) {
"exception": {}
}
|
| INFO 23:19:43 | php |
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 23:19:43 | php |
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 23:19:43 | php |
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 23:19:43 | php |
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 23:19:43 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "39f562"
},
"request_uri": "https://kiwisulu.2le-test.me/_profiler/39f562",
"method": "GET"
}
|
| INFO 23:19:43 | php |
User Deprecated: Class "Nyholm\Psr7\Factory\HttplugFactory" is deprecated since version 1.8, use "Nyholm\Psr7\Factory\Psr17Factory" instead. {
"exception": {}
}
|
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:260)
at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:142)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:74)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:66)
|