Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
case 1370:case 1429:case 2002:case 2005:case 2054:return new ConnectionException($exception, $query);case 2006:case 4031:return new ConnectionLost($exception, $query);
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1939)
private function handleDriverException(Driver\Exception $driverException,?Query $query): DriverException {$this->exceptionConverter ??= $this->_driver->getExceptionConverter();$exception = $this->exceptionConverter->convert($driverException, $query);if ($exception instanceof ConnectionLost) {$this->close();}
in
vendor/doctrine/dbal/src/Connection.php
->
handleDriverException
(line 1887)
}/** @internal */final public function convertException(Driver\Exception $e): DriverException{return $this->handleDriverException($e, null);}/*** @param array<int, mixed>|array<string, mixed> $params* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in
vendor/doctrine/dbal/src/Connection.php
->
convertException
(line 380)
}try {$this->_conn = $this->_driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {$this->beginTransaction();}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 1655)
'https://github.com/doctrine/dbal/issues/4966','Connection::getWrappedConnection() is deprecated.'. ' Use Connection::getNativeConnection() to access the native connection.',);$this->connect();return $this->_conn;}/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1082)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->getWrappedConnection();$logger = $this->_config->getSQLLogger();if ($logger !== null) {$logger->startQuery($sql, $params, $types);}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 972)
{$this->switchPersisterContext($offset, $limit);$sql = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);return $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, [UnitOfWork::HINT_DEFEREAGERLOAD => true]);}
in
vendor/doctrine/orm/src/EntityRepository.php
->
loadAll
(line 224)
*/public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null){$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);return $persister->loadAll($criteria, $orderBy, $limit, $offset);}/*** Finds a single entity by a set of criteria.*
private EntityManagerInterface $em,private EpingleService $epingle_service,private Environment $twig,private SeoService $seo_service) {$this->params['menusTop'] = $this->em->getRepository(MenuLibelle::class)->findBy(['ordre' => 0]);$this->params['menusprofile'] = $this->em->getRepository(MenuLibelle::class)->getMenuProfile();}public function onKernelException(ExceptionEvent $event){$request = $event->getRequest();
in
var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php
->
__construct
(line 10799)
if (isset($this->privates['App\\EventListener\\ExceptionListener'])) {return $this->privates['App\\EventListener\\ExceptionListener'];}return $this->privates['App\\EventListener\\ExceptionListener'] = new \App\EventListener\ExceptionListener($a, $b, $c, $d);}/*** Gets the private 'App\EventSubscriber\EasyAdminSubscriber' shared autowired service.*
in
var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php
->
getExceptionListenerService
(line 3581)
\Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddDebugLogProcessorPass::configureLogger($a);$this->services['event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher(new \Symfony\Component\EventDispatcher\EventDispatcher(), ($this->privates['debug.stopwatch'] ?? ($this->privates['debug.stopwatch'] = new \Symfony\Component\Stopwatch\Stopwatch(true))), $a, ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));$instance->addListener('kernel.exception', [0 => function () {return ($this->privates['App\\EventListener\\ExceptionListener'] ?? $this->getExceptionListenerService());}, 1 => 'onKernelException'], 0);$instance->addListener('kernel.controller', [0 => function () {return ($this->privates['data_collector.router'] ?? ($this->privates['data_collector.router'] = new \Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector()));}, 1 => 'onKernelController'], 0);$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () {
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
ContainerE6dfdSN\{closure}
(line 245)
$this->sorted[$eventName] = [];foreach ($this->listeners[$eventName] as &$listeners) {foreach ($listeners as $k => &$listener) {if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {$listener[0] = $listener[0]();$listener[1] = $listener[1] ?? '__invoke';}$this->sorted[$eventName][] = $listener;}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
sortListeners
(line 76)
if (empty($this->listeners[$eventName])) {return [];}if (!isset($this->sorted[$eventName])) {$this->sortListeners($eventName);}return $this->sorted[$eventName];}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
getListeners
(line 293)
$this->orphanedEvents[$this->currentRequestHash][] = $eventName;return;}foreach ($this->dispatcher->getListeners($eventName) as $listener) {$priority = $this->getListenerPriority($eventName, $listener);$wrappedListener = new WrappedListener($listener instanceof WrappedListener ? $listener->getWrappedListener() : $listener, null, $this->stopwatch, $this);$this->wrappedListeners[$eventName][] = $wrappedListener;$this->dispatcher->removeListener($eventName, $listener);$this->dispatcher->addListener($eventName, $wrappedListener, $priority);
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
preProcess
(line 148)
if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {$this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName));}$this->preProcess($eventName);try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 223)
* @throws \Exception*/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 86)
$this->finishRequest($request, $type);throw $e;}return $this->handleThrowable($e, $request, $type);} finally {$this->requestStack->pop();}}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Doctrine\DBAL\Driver\PDO\ Exception
in
vendor/doctrine/dbal/src/Driver/PDO/Exception.php
(line 28)
} else {$code = $exception->getCode();$sqlState = null;}return new self($exception->getMessage(), $sqlState, $code, $exception);}}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
::
new
(line 40)
$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);} catch (PDOException $exception) {throw Exception::new($exception);}return new Connection($pdo);}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 34)
array $params) {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 41)
$this->connectionName = $connectionName;}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(DriverInterface\Connection::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 378)
if ($this->_conn !== null) {return false;}try {$this->_conn = $this->_driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 1655)
'https://github.com/doctrine/dbal/issues/4966','Connection::getWrappedConnection() is deprecated.'. ' Use Connection::getNativeConnection() to access the native connection.',);$this->connect();return $this->_conn;}/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1082)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->getWrappedConnection();$logger = $this->_config->getSQLLogger();if ($logger !== null) {$logger->startQuery($sql, $params, $types);}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 972)
{$this->switchPersisterContext($offset, $limit);$sql = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);return $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, [UnitOfWork::HINT_DEFEREAGERLOAD => true]);}
in
vendor/doctrine/orm/src/EntityRepository.php
->
loadAll
(line 224)
*/public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null){$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);return $persister->loadAll($criteria, $orderBy, $limit, $offset);}/*** Finds a single entity by a set of criteria.*
private EntityManagerInterface $em,private EpingleService $epingle_service,private Environment $twig,private SeoService $seo_service) {$this->params['menusTop'] = $this->em->getRepository(MenuLibelle::class)->findBy(['ordre' => 0]);$this->params['menusprofile'] = $this->em->getRepository(MenuLibelle::class)->getMenuProfile();}public function onKernelException(ExceptionEvent $event){$request = $event->getRequest();
in
var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php
->
__construct
(line 10799)
if (isset($this->privates['App\\EventListener\\ExceptionListener'])) {return $this->privates['App\\EventListener\\ExceptionListener'];}return $this->privates['App\\EventListener\\ExceptionListener'] = new \App\EventListener\ExceptionListener($a, $b, $c, $d);}/*** Gets the private 'App\EventSubscriber\EasyAdminSubscriber' shared autowired service.*
in
var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php
->
getExceptionListenerService
(line 3581)
\Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddDebugLogProcessorPass::configureLogger($a);$this->services['event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher(new \Symfony\Component\EventDispatcher\EventDispatcher(), ($this->privates['debug.stopwatch'] ?? ($this->privates['debug.stopwatch'] = new \Symfony\Component\Stopwatch\Stopwatch(true))), $a, ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));$instance->addListener('kernel.exception', [0 => function () {return ($this->privates['App\\EventListener\\ExceptionListener'] ?? $this->getExceptionListenerService());}, 1 => 'onKernelException'], 0);$instance->addListener('kernel.controller', [0 => function () {return ($this->privates['data_collector.router'] ?? ($this->privates['data_collector.router'] = new \Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector()));}, 1 => 'onKernelController'], 0);$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () {
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
ContainerE6dfdSN\{closure}
(line 245)
$this->sorted[$eventName] = [];foreach ($this->listeners[$eventName] as &$listeners) {foreach ($listeners as $k => &$listener) {if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {$listener[0] = $listener[0]();$listener[1] = $listener[1] ?? '__invoke';}$this->sorted[$eventName][] = $listener;}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
sortListeners
(line 76)
if (empty($this->listeners[$eventName])) {return [];}if (!isset($this->sorted[$eventName])) {$this->sortListeners($eventName);}return $this->sorted[$eventName];}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
getListeners
(line 293)
$this->orphanedEvents[$this->currentRequestHash][] = $eventName;return;}foreach ($this->dispatcher->getListeners($eventName) as $listener) {$priority = $this->getListenerPriority($eventName, $listener);$wrappedListener = new WrappedListener($listener instanceof WrappedListener ? $listener->getWrappedListener() : $listener, null, $this->stopwatch, $this);$this->wrappedListeners[$eventName][] = $wrappedListener;$this->dispatcher->removeListener($eventName, $listener);$this->dispatcher->addListener($eventName, $wrappedListener, $priority);
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
preProcess
(line 148)
if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {$this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName));}$this->preProcess($eventName);try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 223)
* @throws \Exception*/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 86)
$this->finishRequest($request, $type);throw $e;}return $this->handleThrowable($e, $request, $type);} finally {$this->requestStack->pop();}}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
PDOException
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
(line 33)
$safeParams = $params;unset($safeParams['password'], $safeParams['url']);try {$pdo = new PDO($this->constructPdoDsn($safeParams),$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
->
__construct
(line 33)
$safeParams = $params;unset($safeParams['password'], $safeParams['url']);try {$pdo = new PDO($this->constructPdoDsn($safeParams),$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 34)
array $params) {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 41)
$this->connectionName = $connectionName;}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(DriverInterface\Connection::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 378)
if ($this->_conn !== null) {return false;}try {$this->_conn = $this->_driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 1655)
'https://github.com/doctrine/dbal/issues/4966','Connection::getWrappedConnection() is deprecated.'. ' Use Connection::getNativeConnection() to access the native connection.',);$this->connect();return $this->_conn;}/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1082)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->getWrappedConnection();$logger = $this->_config->getSQLLogger();if ($logger !== null) {$logger->startQuery($sql, $params, $types);}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 972)
{$this->switchPersisterContext($offset, $limit);$sql = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);return $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, [UnitOfWork::HINT_DEFEREAGERLOAD => true]);}
in
vendor/doctrine/orm/src/EntityRepository.php
->
loadAll
(line 224)
*/public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null){$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);return $persister->loadAll($criteria, $orderBy, $limit, $offset);}/*** Finds a single entity by a set of criteria.*
private EntityManagerInterface $em,private EpingleService $epingle_service,private Environment $twig,private SeoService $seo_service) {$this->params['menusTop'] = $this->em->getRepository(MenuLibelle::class)->findBy(['ordre' => 0]);$this->params['menusprofile'] = $this->em->getRepository(MenuLibelle::class)->getMenuProfile();}public function onKernelException(ExceptionEvent $event){$request = $event->getRequest();
in
var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php
->
__construct
(line 10799)
if (isset($this->privates['App\\EventListener\\ExceptionListener'])) {return $this->privates['App\\EventListener\\ExceptionListener'];}return $this->privates['App\\EventListener\\ExceptionListener'] = new \App\EventListener\ExceptionListener($a, $b, $c, $d);}/*** Gets the private 'App\EventSubscriber\EasyAdminSubscriber' shared autowired service.*
in
var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php
->
getExceptionListenerService
(line 3581)
\Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddDebugLogProcessorPass::configureLogger($a);$this->services['event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher(new \Symfony\Component\EventDispatcher\EventDispatcher(), ($this->privates['debug.stopwatch'] ?? ($this->privates['debug.stopwatch'] = new \Symfony\Component\Stopwatch\Stopwatch(true))), $a, ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));$instance->addListener('kernel.exception', [0 => function () {return ($this->privates['App\\EventListener\\ExceptionListener'] ?? $this->getExceptionListenerService());}, 1 => 'onKernelException'], 0);$instance->addListener('kernel.controller', [0 => function () {return ($this->privates['data_collector.router'] ?? ($this->privates['data_collector.router'] = new \Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector()));}, 1 => 'onKernelController'], 0);$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () {
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
ContainerE6dfdSN\{closure}
(line 245)
$this->sorted[$eventName] = [];foreach ($this->listeners[$eventName] as &$listeners) {foreach ($listeners as $k => &$listener) {if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {$listener[0] = $listener[0]();$listener[1] = $listener[1] ?? '__invoke';}$this->sorted[$eventName][] = $listener;}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
sortListeners
(line 76)
if (empty($this->listeners[$eventName])) {return [];}if (!isset($this->sorted[$eventName])) {$this->sortListeners($eventName);}return $this->sorted[$eventName];}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
getListeners
(line 293)
$this->orphanedEvents[$this->currentRequestHash][] = $eventName;return;}foreach ($this->dispatcher->getListeners($eventName) as $listener) {$priority = $this->getListenerPriority($eventName, $listener);$wrappedListener = new WrappedListener($listener instanceof WrappedListener ? $listener->getWrappedListener() : $listener, null, $this->stopwatch, $this);$this->wrappedListeners[$eventName][] = $wrappedListener;$this->dispatcher->removeListener($eventName, $listener);$this->dispatcher->addListener($eventName, $wrappedListener, $priority);
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
preProcess
(line 148)
if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {$this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName));}$this->preProcess($eventName);try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 223)
* @throws \Exception*/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 86)
$this->finishRequest($request, $type);throw $e;}return $this->handleThrowable($e, $request, $type);} finally {$this->requestStack->pop();}}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 04:35:22 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "7f47ec"
},
"request_uri": "https://lenord.spontaneit.fr/_profiler/7f47ec?panel=exception",
"method": "GET"
}
|
Stack Traces 3
|
[3/3]
ConnectionException
|
|---|
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection timed out
at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101
at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
(vendor/doctrine/dbal/src/Connection.php:1939)
at Doctrine\DBAL\Connection->handleDriverException()
(vendor/doctrine/dbal/src/Connection.php:1887)
at Doctrine\DBAL\Connection->convertException()
(vendor/doctrine/dbal/src/Connection.php:380)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:1655)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/src/Connection.php:1082)
at Doctrine\DBAL\Connection->executeQuery()
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:972)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll()
(vendor/doctrine/orm/src/EntityRepository.php:224)
at Doctrine\ORM\EntityRepository->findBy()
(src/EventListener/ExceptionListener.php:26)
at App\EventListener\ExceptionListener->__construct()
(var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php:10799)
at ContainerE6dfdSN\App_KernelDevDebugContainer->getExceptionListenerService()
(var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php:3581)
at ContainerE6dfdSN\App_KernelDevDebugContainer->ContainerE6dfdSN\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:245)
at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:76)
at Symfony\Component\EventDispatcher\EventDispatcher->getListeners()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:293)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:148)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:223)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(vendor/symfony/http-kernel/HttpKernel.php:86)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/home/www/nordinfo/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[2/3]
Exception
|
|---|
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [2002] Connection timed out
at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
at Doctrine\DBAL\Driver\PDO\Exception::new()
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:40)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/doctrine/dbal/src/Logging/Driver.php:34)
at Doctrine\DBAL\Logging\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect()
(vendor/doctrine/dbal/src/Connection.php:378)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:1655)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/src/Connection.php:1082)
at Doctrine\DBAL\Connection->executeQuery()
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:972)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll()
(vendor/doctrine/orm/src/EntityRepository.php:224)
at Doctrine\ORM\EntityRepository->findBy()
(src/EventListener/ExceptionListener.php:26)
at App\EventListener\ExceptionListener->__construct()
(var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php:10799)
at ContainerE6dfdSN\App_KernelDevDebugContainer->getExceptionListenerService()
(var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php:3581)
at ContainerE6dfdSN\App_KernelDevDebugContainer->ContainerE6dfdSN\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:245)
at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:76)
at Symfony\Component\EventDispatcher\EventDispatcher->getListeners()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:293)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:148)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:223)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(vendor/symfony/http-kernel/HttpKernel.php:86)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/home/www/nordinfo/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[1/3]
PDOException
|
|---|
PDOException:
SQLSTATE[HY000] [2002] Connection timed out
at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33
at PDO->__construct()
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/doctrine/dbal/src/Logging/Driver.php:34)
at Doctrine\DBAL\Logging\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect()
(vendor/doctrine/dbal/src/Connection.php:378)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:1655)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/src/Connection.php:1082)
at Doctrine\DBAL\Connection->executeQuery()
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:972)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll()
(vendor/doctrine/orm/src/EntityRepository.php:224)
at Doctrine\ORM\EntityRepository->findBy()
(src/EventListener/ExceptionListener.php:26)
at App\EventListener\ExceptionListener->__construct()
(var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php:10799)
at ContainerE6dfdSN\App_KernelDevDebugContainer->getExceptionListenerService()
(var/cache/dev/ContainerE6dfdSN/App_KernelDevDebugContainer.php:3581)
at ContainerE6dfdSN\App_KernelDevDebugContainer->ContainerE6dfdSN\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:245)
at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:76)
at Symfony\Component\EventDispatcher\EventDispatcher->getListeners()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:293)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:148)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:223)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(vendor/symfony/http-kernel/HttpKernel.php:86)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/home/www/nordinfo/vendor/autoload_runtime.php')
(public/index.php:5)
|