Exceptions
Exception
ErrorException
Show exception properties
ErrorException {#1990 #severity: E_WARNING }
return;}$controllerName = $event->getRequest()->attributes->get('_controller');[$controller, $method] = explode('::', $controllerName, 2);if (empty($controller) || !class_exists($controller) || !method_exists($controller, $method)) {return;}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
onKernelException
(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 239)
* Handles a throwable by trying to convert it to a Response.*/private function handleThrowable(\Throwable $e, Request $request, int $type): Response{$event = new ExceptionEvent($this, $request, $type, $e);$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);// a listener might have replaced the exception$e = $event->getThrowable();if (!$event->hasResponse()) {
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleThrowable
(line 91)
$this->finishRequest($request, $type);throw $e;}return $response = $this->handleThrowable($e, $request, $type);} finally {$this->requestStack->pop();if ($response instanceof StreamedResponse && $callback = $response->getCallback()) {$requestStack = $this->requestStack;
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 parameterRequest::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();Request::setTrustedProxies([], Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO);$response = $kernel->handle($request, HttpKernelInterface::MAIN_REQUEST, true);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.4: "Symfony\Bridge\Doctrine\Logger\DbalLogger" is deprecated, use a middleware instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: DebugStack is deprecated. (DebugStack.php:38 called by AdminKernelDevDebugContainer.php:3220, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal) {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Not configuring a schema manager factory is deprecated. Use Doctrine\DBAL\Schema\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:222 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal) {
"exception": {}
}
|
| INFO 08:21:59 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"host": "localhost",
"port": "",
"dbname": "baar5415_pres32",
"user": "baar5415_pres891",
"password": "<redacted>",
"charset": "utf8mb4",
"driverOptions": {
"1002": "SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))",
"1013": false
},
"wrapperClass": "PrestaShopBundle\\Doctrine\\DatabaseConnection",
"defaultTableOptions": []
}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: The "Symfony\Bridge\Doctrine\SchemaListener\MessengerTransportDoctrineSchemaSubscriber" class is deprecated. Use "Symfony\Bridge\Doctrine\SchemaListener\MessengerTransportDoctrineSchemaListener" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Symfony\Bridge\Doctrine\SchemaListener\MessengerTransportDoctrineSchemaSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: The "Symfony\Bridge\Doctrine\SchemaListener\DoctrineDbalCacheAdapterSchemaSubscriber" class is deprecated. Use "Symfony\Bridge\Doctrine\SchemaListener\DoctrineDbalCacheAdapterSchemaListener" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Symfony\Bridge\Doctrine\SchemaListener\DoctrineDbalCacheAdapterSchemaSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: The "Symfony\Bridge\Doctrine\SchemaListener\RememberMeTokenProviderDoctrineSchemaSubscriber" class is deprecated. Use "Symfony\Bridge\Doctrine\SchemaListener\RememberMeTokenProviderDoctrineSchemaListener" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Symfony\Bridge\Doctrine\SchemaListener\RememberMeTokenProviderDoctrineSchemaSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 08:21:59 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "5ec675"
},
"request_uri": "https://www.cadeau-souvenir.fr/admin123/_profiler/5ec675",
"method": "GET"
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.cached_reader" service is deprecated without replacement. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.reader" service is deprecated without replacement. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.cache_adapter" service is deprecated without replacement. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/validator 6.4: Method "Symfony\Component\Validator\ValidatorBuilder::setDoctrineAnnotationReader()" is deprecated without replacement. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/serializer 6.4: Passing a "Doctrine\Common\Annotations\PsrCachedReader" instance as argument 1 to "Symfony\Component\Serializer\Mapping\Loader\AttributeLoader::__construct()" is deprecated, pass null or omit the parameter instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/symfony 4.1: The "api_platform.validator.query_parameter_validator" service is deprecated use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\ParameterValidator" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\ArrayItems" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Bounds" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Enum" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Length" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\MultipleOf" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Pattern" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Required" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 08:21:59 | 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:65 called by AdminKernelDevDebugContainer.php:5103, https://github.com/doctrine/orm/issues/10098, package doctrine/orm) {
"exception": {}
}
|
| INFO 08:21:59 | 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 also with the AnnotationDriver today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AnnotationDriver.php:75 called by AdminKernelDevDebugContainer.php:5103, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Doctrine\ORM\EntityManager::create() is deprecated. To bootstrap a DBAL connection, call Doctrine\DBAL\DriverManager::getConnection() instead. Use the constructor to create an instance of Doctrine\ORM\EntityManager. (EntityManager.php:995 called by AdminKernelDevDebugContainer.php:3247, https://github.com/doctrine/orm/pull/9961, package doctrine/orm) {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Doctrine\DBAL\Connection::getEventManager is deprecated. (Connection.php:298 called by EntityManager.php:166, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal) {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\ORM\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:177, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm) {
"exception": {}
}
|
| DEBUG 08:21:59 | doctrine |
Executing statement: SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.locale AS locale_6, t0.date_format_lite AS date_format_lite_7, t0.date_format_full AS date_format_full_8, t0.is_rtl AS is_rtl_9 FROM pstr_lang t0 WHERE t0.id_lang = ? (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.locale AS locale_6, t0.date_format_lite AS date_format_lite_7, t0.date_format_full AS date_format_full_8, t0.is_rtl AS is_rtl_9 FROM pstr_lang t0 WHERE t0.id_lang = ?",
"params": {
"1": "2"
},
"types": {
"1": 1
}
}
|
| DEBUG 08:21:59 | doctrine |
Executing query: SELECT s.id_shop FROM pstr_shop s {
"sql": "SELECT s.id_shop FROM pstr_shop s"
}
|
| INFO 08:21:59 | php |
User Deprecated: Since api-platform/core 3.4: Injecting the "ApiPlatform\JsonSchema\TypeFactoryInterface" inside "ApiPlatform\JsonSchema\SchemaFactory" is deprecated and "ApiPlatform\JsonSchema\TypeFactoryInterface" will be removed in 4.x. {
"exception": {}
}
|
| DEBUG 08:21:59 | doctrine |
Executing statement: SELECT p0_.id_tab AS id_tab_0, p0_.class_name AS class_name_1 FROM pstr_tab p0_ WHERE p0_.class_name = BINARY(?) AND p0_.id_tab <> 0 (parameters: {params}, types: {types}) {
"sql": "SELECT p0_.id_tab AS id_tab_0, p0_.class_name AS class_name_1 FROM pstr_tab p0_ WHERE p0_.class_name = BINARY(?) AND p0_.id_tab <> 0",
"params": {
"1": "Admin"
},
"types": {
"1": 2
}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.4: Not passing an instance of "Symfony\Bridge\Doctrine\Middleware\Debug\DebugDataHolder" as "$debugDataHolder" to "Symfony\Bridge\Doctrine\DataCollector\DoctrineDataCollector::__construct()" is deprecated. {
"exception": {}
}
|
| INFO 08:21:59 | php |
User Deprecated: Since symfony/doctrine-bridge 6.4: "Symfony\Bridge\Doctrine\DataCollector\DoctrineDataCollector::addLogger()" is deprecated. Pass an instance of "Symfony\Bridge\Doctrine\Middleware\Debug\DebugDataHolder" to the constructor instead. {
"exception": {}
}
|
| INFO 08:21:59 | php |
Deprecated: Creation of dynamic property Ets_delete_order::$refs is deprecated {
"exception": {}
}
|
Stack Trace
|
ErrorException
|
|---|
ErrorException:
Warning: Undefined array key 1
at src/PrestaShopBundle/EventListener/Admin/AccessDeniedListener.php:69
at PrestaShopBundle\EventListener\Admin\AccessDeniedListener->onKernelException()
(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:239)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(vendor/symfony/http-kernel/HttpKernel.php:91)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(admin123/index.php:83)
|