Symfony Exception

PDOException Exception DriverException

HTTP 500 Internal Server Error

An exception occurred in the driver: SQLSTATE[HY000] [1040] Too many connections

Exceptions 3

Doctrine\DBAL\Exception\ DriverException

  1.             case 1364:
  2.             case 1566:
  3.                 return new NotNullConstraintViolationException($exception$query);
  4.         }
  5.         return new DriverException($exception$query);
  6.     }
  7. }
  1.     ): DriverException {
  2.         if ($this->exceptionConverter === null) {
  3.             $this->exceptionConverter $this->_driver->getExceptionConverter();
  4.         }
  5.         $exception $this->exceptionConverter->convert($driverException$query);
  6.         if ($exception instanceof ConnectionLost) {
  7.             $this->close();
  8.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1757)
  1.     /**
  2.      * @internal
  3.      */
  4.     final public function convertException(Driver\Exception $e): DriverException
  5.     {
  6.         return $this->handleDriverException($enull);
  7.     }
  8.     /**
  9.      * @param array<int, mixed>|array<string, mixed>                               $params
  10.      * @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in vendor/doctrine/dbal/src/Connection.php -> convertException (line 343)
  1.         }
  2.         try {
  3.             $this->_conn $this->_driver->connect($this->params);
  4.         } catch (Driver\Exception $e) {
  5.             throw $this->convertException($e);
  6.         }
  7.         if ($this->autoCommit === false) {
  8.             $this->beginTransaction();
  9.         }
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.'
  4.         );
  5.         $this->connect();
  6.         assert($this->_conn !== null);
  7.         return $this->_conn;
  8.     }
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1029)
  1.     ): Result {
  2.         if ($qcp !== null) {
  3.             return $this->executeCacheQuery($sql$params$types$qcp);
  4.         }
  5.         $connection $this->getWrappedConnection();
  6.         $logger $this->_config->getSQLLogger();
  7.         if ($logger !== null) {
  8.             $logger->startQuery($sql$params$types);
  9.         }
  1.     {
  2.         $this->switchPersisterContext(null$limit);
  3.         $sql              $this->getSelectSQL($criteria$assoc$lockMode$limitnull$orderBy);
  4.         [$params$types] = $this->expandParameters($criteria);
  5.         $stmt             $this->conn->executeQuery($sql$params$types);
  6.         if ($entity !== null) {
  7.             $hints[Query::HINT_REFRESH]        = true;
  8.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9.         }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function loadById(array $identifier$entity null)
  5.     {
  6.         return $this->load($identifier$entity);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.             case $lockMode === LockMode::PESSIMISTIC_READ:
  2.             case $lockMode === LockMode::PESSIMISTIC_WRITE:
  3.                 return $persister->load($sortedIdnullnull, [], $lockMode);
  4.             default:
  5.                 return $persister->loadById($sortedId);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  1.     public function find($className$id$lockMode null$lockVersion null)
  2.     {
  3.         $this->initializerb2430 && ($this->initializerb2430->__invoke($valueHolder0b13f$this'find', array('className' => $className'id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializerb2430) || 1) && $this->valueHolder0b13f $valueHolder0b13f;
  4.         return $this->valueHolder0b13f->find($className$id$lockMode$lockVersion);
  5.     }
  6.     public function getReference($entityName$id)
  7.     {
  8.         $this->initializerb2430 && ($this->initializerb2430->__invoke($valueHolder0b13f$this'getReference', array('entityName' => $entityName'id' => $id), $this->initializerb2430) || 1) && $this->valueHolder0b13f $valueHolder0b13f;
  1.      * @return object|null The entity instance or NULL if the entity can not be found.
  2.      * @psalm-return ?T
  3.      */
  4.     public function find($id$lockMode null$lockVersion null)
  5.     {
  6.         return $this->_em->find($this->_entityName$id$lockMode$lockVersion);
  7.     }
  8.     /**
  9.      * Finds all entities in the repository.
  10.      *
  1.                 $cacheProvider->evictEntity($class$id);
  2.             }
  3.         }
  4.         try {
  5.             return $om->getRepository($class)->$method($id);
  6.         } catch (NoResultException $e) {
  7.             return;
  8.         } catch (ConversionException $e) {
  9.             return;
  10.         }
  1.             if (null === $object) {
  2.                 $errorMessage sprintf('The expression "%s" returned null'$expr);
  3.             }
  4.             // find by identifier?
  5.         } elseif (false === $object $this->find($class$request$options$name)) {
  6.             // find by criteria
  7.             if (false === $object $this->findOneBy($class$request$options)) {
  8.                 if ($configuration->isOptional()) {
  9.                     $object null;
  10.                 } else {
  1.             return;
  2.         }
  3.         foreach ($this->all() as $converter) {
  4.             if ($converter->supports($configuration)) {
  5.                 if ($converter->apply($request$configuration)) {
  6.                     return;
  7.                 }
  8.             }
  9.         }
  10.     }
  1.         if (\is_object($configurations)) {
  2.             $configurations = [$configurations];
  3.         }
  4.         foreach ($configurations as $configuration) {
  5.             $this->applyConverter($request$configuration);
  6.         }
  7.     }
  8.     /**
  9.      * Applies converter on request based on the given configuration.
  1.             }
  2.             $configurations $this->autoConfigure($r$request$configurations);
  3.         }
  4.         $this->manager->apply($request$configurations);
  5.     }
  6.     private function autoConfigure(\ReflectionFunctionAbstract $rRequest $request$configurations)
  7.     {
  8.         foreach ($r->getParameters() as $param) {
  1.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  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.         if (false === $controller $this->resolver->getController($request)) {
  2.             throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
  3.         }
  4.         $event = new ControllerEvent($this$controller$request$type);
  5.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER);
  6.         $controller $event->getController();
  7.         // controller arguments
  8.         $arguments $this->argumentResolver->getArguments($request$controller);
  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.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[HY000] [1040] Too many connections

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.                 $params['user'] ?? '',
  2.                 $params['password'] ?? '',
  3.                 $driverOptions
  4.             );
  5.         } catch (PDOException $exception) {
  6.             throw Exception::new($exception);
  7.         }
  8.         return new Connection($pdo);
  9.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function connect(array $params)
  5.     {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     public function connect(array $params)
  2.     {
  3.         $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->logger
  7.         );
  8.     }
  9.     /**
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function connect(array $params)
  5.     {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     }
  2.     public function connect(array $params): Connection
  3.     {
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->debugDataHolder,
  7.             $this->stopwatch,
  8.             $this->connectionName
  9.         );
  10.     }
  1.         if ($this->_conn !== null) {
  2.             return false;
  3.         }
  4.         try {
  5.             $this->_conn $this->_driver->connect($this->params);
  6.         } catch (Driver\Exception $e) {
  7.             throw $this->convertException($e);
  8.         }
  9.         if ($this->autoCommit === false) {
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.'
  4.         );
  5.         $this->connect();
  6.         assert($this->_conn !== null);
  7.         return $this->_conn;
  8.     }
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1029)
  1.     ): Result {
  2.         if ($qcp !== null) {
  3.             return $this->executeCacheQuery($sql$params$types$qcp);
  4.         }
  5.         $connection $this->getWrappedConnection();
  6.         $logger $this->_config->getSQLLogger();
  7.         if ($logger !== null) {
  8.             $logger->startQuery($sql$params$types);
  9.         }
  1.     {
  2.         $this->switchPersisterContext(null$limit);
  3.         $sql              $this->getSelectSQL($criteria$assoc$lockMode$limitnull$orderBy);
  4.         [$params$types] = $this->expandParameters($criteria);
  5.         $stmt             $this->conn->executeQuery($sql$params$types);
  6.         if ($entity !== null) {
  7.             $hints[Query::HINT_REFRESH]        = true;
  8.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9.         }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function loadById(array $identifier$entity null)
  5.     {
  6.         return $this->load($identifier$entity);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.             case $lockMode === LockMode::PESSIMISTIC_READ:
  2.             case $lockMode === LockMode::PESSIMISTIC_WRITE:
  3.                 return $persister->load($sortedIdnullnull, [], $lockMode);
  4.             default:
  5.                 return $persister->loadById($sortedId);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  1.     public function find($className$id$lockMode null$lockVersion null)
  2.     {
  3.         $this->initializerb2430 && ($this->initializerb2430->__invoke($valueHolder0b13f$this'find', array('className' => $className'id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializerb2430) || 1) && $this->valueHolder0b13f $valueHolder0b13f;
  4.         return $this->valueHolder0b13f->find($className$id$lockMode$lockVersion);
  5.     }
  6.     public function getReference($entityName$id)
  7.     {
  8.         $this->initializerb2430 && ($this->initializerb2430->__invoke($valueHolder0b13f$this'getReference', array('entityName' => $entityName'id' => $id), $this->initializerb2430) || 1) && $this->valueHolder0b13f $valueHolder0b13f;
  1.      * @return object|null The entity instance or NULL if the entity can not be found.
  2.      * @psalm-return ?T
  3.      */
  4.     public function find($id$lockMode null$lockVersion null)
  5.     {
  6.         return $this->_em->find($this->_entityName$id$lockMode$lockVersion);
  7.     }
  8.     /**
  9.      * Finds all entities in the repository.
  10.      *
  1.                 $cacheProvider->evictEntity($class$id);
  2.             }
  3.         }
  4.         try {
  5.             return $om->getRepository($class)->$method($id);
  6.         } catch (NoResultException $e) {
  7.             return;
  8.         } catch (ConversionException $e) {
  9.             return;
  10.         }
  1.             if (null === $object) {
  2.                 $errorMessage sprintf('The expression "%s" returned null'$expr);
  3.             }
  4.             // find by identifier?
  5.         } elseif (false === $object $this->find($class$request$options$name)) {
  6.             // find by criteria
  7.             if (false === $object $this->findOneBy($class$request$options)) {
  8.                 if ($configuration->isOptional()) {
  9.                     $object null;
  10.                 } else {
  1.             return;
  2.         }
  3.         foreach ($this->all() as $converter) {
  4.             if ($converter->supports($configuration)) {
  5.                 if ($converter->apply($request$configuration)) {
  6.                     return;
  7.                 }
  8.             }
  9.         }
  10.     }
  1.         if (\is_object($configurations)) {
  2.             $configurations = [$configurations];
  3.         }
  4.         foreach ($configurations as $configuration) {
  5.             $this->applyConverter($request$configuration);
  6.         }
  7.     }
  8.     /**
  9.      * Applies converter on request based on the given configuration.
  1.             }
  2.             $configurations $this->autoConfigure($r$request$configurations);
  3.         }
  4.         $this->manager->apply($request$configurations);
  5.     }
  6.     private function autoConfigure(\ReflectionFunctionAbstract $rRequest $request$configurations)
  7.     {
  8.         foreach ($r->getParameters() as $param) {
  1.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  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.         if (false === $controller $this->resolver->getController($request)) {
  2.             throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
  3.         }
  4.         $event = new ControllerEvent($this$controller$request$type);
  5.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER);
  6.         $controller $event->getController();
  7.         // controller arguments
  8.         $arguments $this->argumentResolver->getArguments($request$controller);
  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.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

PDOException

SQLSTATE[HY000] [1040] Too many connections

  1.             $driverOptions[PDO::ATTR_PERSISTENT] = true;
  2.         }
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($params),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions
  9.             );
  10.         } catch (PDOException $exception) {
  1.             $driverOptions[PDO::ATTR_PERSISTENT] = true;
  2.         }
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($params),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions
  9.             );
  10.         } catch (PDOException $exception) {
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function connect(array $params)
  5.     {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     public function connect(array $params)
  2.     {
  3.         $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->logger
  7.         );
  8.     }
  9.     /**
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function connect(array $params)
  5.     {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     }
  2.     public function connect(array $params): Connection
  3.     {
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->debugDataHolder,
  7.             $this->stopwatch,
  8.             $this->connectionName
  9.         );
  10.     }
  1.         if ($this->_conn !== null) {
  2.             return false;
  3.         }
  4.         try {
  5.             $this->_conn $this->_driver->connect($this->params);
  6.         } catch (Driver\Exception $e) {
  7.             throw $this->convertException($e);
  8.         }
  9.         if ($this->autoCommit === false) {
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.'
  4.         );
  5.         $this->connect();
  6.         assert($this->_conn !== null);
  7.         return $this->_conn;
  8.     }
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1029)
  1.     ): Result {
  2.         if ($qcp !== null) {
  3.             return $this->executeCacheQuery($sql$params$types$qcp);
  4.         }
  5.         $connection $this->getWrappedConnection();
  6.         $logger $this->_config->getSQLLogger();
  7.         if ($logger !== null) {
  8.             $logger->startQuery($sql$params$types);
  9.         }
  1.     {
  2.         $this->switchPersisterContext(null$limit);
  3.         $sql              $this->getSelectSQL($criteria$assoc$lockMode$limitnull$orderBy);
  4.         [$params$types] = $this->expandParameters($criteria);
  5.         $stmt             $this->conn->executeQuery($sql$params$types);
  6.         if ($entity !== null) {
  7.             $hints[Query::HINT_REFRESH]        = true;
  8.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9.         }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function loadById(array $identifier$entity null)
  5.     {
  6.         return $this->load($identifier$entity);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.             case $lockMode === LockMode::PESSIMISTIC_READ:
  2.             case $lockMode === LockMode::PESSIMISTIC_WRITE:
  3.                 return $persister->load($sortedIdnullnull, [], $lockMode);
  4.             default:
  5.                 return $persister->loadById($sortedId);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  1.     public function find($className$id$lockMode null$lockVersion null)
  2.     {
  3.         $this->initializerb2430 && ($this->initializerb2430->__invoke($valueHolder0b13f$this'find', array('className' => $className'id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializerb2430) || 1) && $this->valueHolder0b13f $valueHolder0b13f;
  4.         return $this->valueHolder0b13f->find($className$id$lockMode$lockVersion);
  5.     }
  6.     public function getReference($entityName$id)
  7.     {
  8.         $this->initializerb2430 && ($this->initializerb2430->__invoke($valueHolder0b13f$this'getReference', array('entityName' => $entityName'id' => $id), $this->initializerb2430) || 1) && $this->valueHolder0b13f $valueHolder0b13f;
  1.      * @return object|null The entity instance or NULL if the entity can not be found.
  2.      * @psalm-return ?T
  3.      */
  4.     public function find($id$lockMode null$lockVersion null)
  5.     {
  6.         return $this->_em->find($this->_entityName$id$lockMode$lockVersion);
  7.     }
  8.     /**
  9.      * Finds all entities in the repository.
  10.      *
  1.                 $cacheProvider->evictEntity($class$id);
  2.             }
  3.         }
  4.         try {
  5.             return $om->getRepository($class)->$method($id);
  6.         } catch (NoResultException $e) {
  7.             return;
  8.         } catch (ConversionException $e) {
  9.             return;
  10.         }
  1.             if (null === $object) {
  2.                 $errorMessage sprintf('The expression "%s" returned null'$expr);
  3.             }
  4.             // find by identifier?
  5.         } elseif (false === $object $this->find($class$request$options$name)) {
  6.             // find by criteria
  7.             if (false === $object $this->findOneBy($class$request$options)) {
  8.                 if ($configuration->isOptional()) {
  9.                     $object null;
  10.                 } else {
  1.             return;
  2.         }
  3.         foreach ($this->all() as $converter) {
  4.             if ($converter->supports($configuration)) {
  5.                 if ($converter->apply($request$configuration)) {
  6.                     return;
  7.                 }
  8.             }
  9.         }
  10.     }
  1.         if (\is_object($configurations)) {
  2.             $configurations = [$configurations];
  3.         }
  4.         foreach ($configurations as $configuration) {
  5.             $this->applyConverter($request$configuration);
  6.         }
  7.     }
  8.     /**
  9.      * Applies converter on request based on the given configuration.
  1.             }
  2.             $configurations $this->autoConfigure($r$request$configurations);
  3.         }
  4.         $this->manager->apply($request$configurations);
  5.     }
  6.     private function autoConfigure(\ReflectionFunctionAbstract $rRequest $request$configurations)
  7.     {
  8.         foreach ($r->getParameters() as $param) {
  1.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  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.         if (false === $controller $this->resolver->getController($request)) {
  2.             throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.'$request->getPathInfo()));
  3.         }
  4.         $event = new ControllerEvent($this$controller$request$type);
  5.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER);
  6.         $controller $event->getController();
  7.         // controller arguments
  8.         $arguments $this->argumentResolver->getArguments($request$controller);
  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.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

No log messages

Stack Traces 3

[3/3] DriverException
Doctrine\DBAL\Exception\DriverException:
An exception occurred in the driver: SQLSTATE[HY000] [1040] Too many connections

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:119
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), null)
     (vendor/doctrine/dbal/src/Connection.php:1814)
  at Doctrine\DBAL\Connection->handleDriverException(object(Exception), null)
     (vendor/doctrine/dbal/src/Connection.php:1757)
  at Doctrine\DBAL\Connection->convertException(object(Exception))
     (vendor/doctrine/dbal/src/Connection.php:343)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1531)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1029)
  at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.titre AS titre_2, t0.ville AS ville_3, t0.tag AS tag_4, t0.localisation AS localisation_5, t0.gratuit AS gratuit_6, t0.poussette AS poussette_7, t0.handicape AS handicape_8, t0.picnic AS picnic_9, t0.temps AS temps_10, t0.age AS age_11, t0.lieu AS lieu_12, t0.siteweb AS siteweb_13, t0.telephone AS telephone_14, t0.tarifs AS tarifs_15, t0.departement AS departement_16, t0.descriptif AS descriptif_17, t0.descriptif_web AS descriptif_web_18, t0.photo AS photo_19, t0.video AS video_20, t0.categorie AS categorie_21, t0.debut AS debut_22, t0.fin AS fin_23, t0.latitude AS latitude_24, t0.longitude AS longitude_25, t0.result_postcode AS result_postcode_26, t0.result_citycode AS result_citycode_27, t0.publiable AS publiable_28, t0.avant AS avant_29, t0.credit AS credit_30 FROM pwa_enfance t0 WHERE t0.id = ?', array('9'), array('integer'))
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:750)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('id' => '9'), null)
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:768)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array('id' => '9'))
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:521)
  at Doctrine\ORM\EntityManager->find('App\\Entity\\PwaEnfance', array(), null, null)
     (var/cache/preprod/ContainerAhwBDfC/EntityManager_9a5be93.php:144)
  at ContainerAhwBDfC\EntityManager_9a5be93->find('App\\Entity\\PwaEnfance', '9', null, null)
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:197)
  at Doctrine\ORM\EntityRepository->find('9')
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:142)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->find('App\\Entity\\PwaEnfance', object(Request), array('entity_manager' => null, 'exclude' => array(), 'mapping' => array(), 'strip_null' => false, 'expr' => null, 'id' => null, 'repository_method' => null, 'map_method_signature' => false, 'evict_cache' => false), 'pwaEnfance')
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:91)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->apply(object(Request), object(ParamConverter))
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:84)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter(object(Request), object(ParamConverter))
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply(object(Request), array('pwaEnfance' => object(ParamConverter)))
     (vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72)
  at Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController(object(ControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.controller', object(ControllerEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ControllerEvent), 'kernel.controller')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ControllerEvent), 'kernel.controller')
     (vendor/symfony/http-kernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:35)
  at require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [1040] Too many connections

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:30
  at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:26)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Logging/Driver.php:34)
  at Doctrine\DBAL\Logging\Driver->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:26)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Connection.php:341)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1531)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1029)
  at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.titre AS titre_2, t0.ville AS ville_3, t0.tag AS tag_4, t0.localisation AS localisation_5, t0.gratuit AS gratuit_6, t0.poussette AS poussette_7, t0.handicape AS handicape_8, t0.picnic AS picnic_9, t0.temps AS temps_10, t0.age AS age_11, t0.lieu AS lieu_12, t0.siteweb AS siteweb_13, t0.telephone AS telephone_14, t0.tarifs AS tarifs_15, t0.departement AS departement_16, t0.descriptif AS descriptif_17, t0.descriptif_web AS descriptif_web_18, t0.photo AS photo_19, t0.video AS video_20, t0.categorie AS categorie_21, t0.debut AS debut_22, t0.fin AS fin_23, t0.latitude AS latitude_24, t0.longitude AS longitude_25, t0.result_postcode AS result_postcode_26, t0.result_citycode AS result_citycode_27, t0.publiable AS publiable_28, t0.avant AS avant_29, t0.credit AS credit_30 FROM pwa_enfance t0 WHERE t0.id = ?', array('9'), array('integer'))
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:750)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('id' => '9'), null)
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:768)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array('id' => '9'))
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:521)
  at Doctrine\ORM\EntityManager->find('App\\Entity\\PwaEnfance', array(), null, null)
     (var/cache/preprod/ContainerAhwBDfC/EntityManager_9a5be93.php:144)
  at ContainerAhwBDfC\EntityManager_9a5be93->find('App\\Entity\\PwaEnfance', '9', null, null)
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:197)
  at Doctrine\ORM\EntityRepository->find('9')
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:142)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->find('App\\Entity\\PwaEnfance', object(Request), array('entity_manager' => null, 'exclude' => array(), 'mapping' => array(), 'strip_null' => false, 'expr' => null, 'id' => null, 'repository_method' => null, 'map_method_signature' => false, 'evict_cache' => false), 'pwaEnfance')
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:91)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->apply(object(Request), object(ParamConverter))
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:84)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter(object(Request), object(ParamConverter))
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply(object(Request), array('pwaEnfance' => object(ParamConverter)))
     (vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72)
  at Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController(object(ControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.controller', object(ControllerEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ControllerEvent), 'kernel.controller')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ControllerEvent), 'kernel.controller')
     (vendor/symfony/http-kernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:35)
  at require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[HY000] [1040] Too many connections

  at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:28
  at PDO->__construct('mysql:host=telegramme-apps2.sdv.fr;port=3306;dbname=bo_redac;charset=utf8mb4;', 'bo_redac', 'irUBZ9h8WUM0mi1D', array())
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:28)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:26)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Logging/Driver.php:34)
  at Doctrine\DBAL\Logging\Driver->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:26)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('url' => 'mysql://bo_redac:irUBZ9h8WUM0mi1D@telegramme-apps2.sdv.fr:3306/bo_redac?serverVersion=8&charset=utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'telegramme-apps2.sdv.fr', 'port' => 3306, 'user' => 'bo_redac', 'password' => 'irUBZ9h8WUM0mi1D', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'bo_redac', 'serverVersion' => '8', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Connection.php:341)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1531)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1029)
  at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.titre AS titre_2, t0.ville AS ville_3, t0.tag AS tag_4, t0.localisation AS localisation_5, t0.gratuit AS gratuit_6, t0.poussette AS poussette_7, t0.handicape AS handicape_8, t0.picnic AS picnic_9, t0.temps AS temps_10, t0.age AS age_11, t0.lieu AS lieu_12, t0.siteweb AS siteweb_13, t0.telephone AS telephone_14, t0.tarifs AS tarifs_15, t0.departement AS departement_16, t0.descriptif AS descriptif_17, t0.descriptif_web AS descriptif_web_18, t0.photo AS photo_19, t0.video AS video_20, t0.categorie AS categorie_21, t0.debut AS debut_22, t0.fin AS fin_23, t0.latitude AS latitude_24, t0.longitude AS longitude_25, t0.result_postcode AS result_postcode_26, t0.result_citycode AS result_citycode_27, t0.publiable AS publiable_28, t0.avant AS avant_29, t0.credit AS credit_30 FROM pwa_enfance t0 WHERE t0.id = ?', array('9'), array('integer'))
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:750)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('id' => '9'), null)
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:768)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array('id' => '9'))
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:521)
  at Doctrine\ORM\EntityManager->find('App\\Entity\\PwaEnfance', array(), null, null)
     (var/cache/preprod/ContainerAhwBDfC/EntityManager_9a5be93.php:144)
  at ContainerAhwBDfC\EntityManager_9a5be93->find('App\\Entity\\PwaEnfance', '9', null, null)
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:197)
  at Doctrine\ORM\EntityRepository->find('9')
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:142)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->find('App\\Entity\\PwaEnfance', object(Request), array('entity_manager' => null, 'exclude' => array(), 'mapping' => array(), 'strip_null' => false, 'expr' => null, 'id' => null, 'repository_method' => null, 'map_method_signature' => false, 'evict_cache' => false), 'pwaEnfance')
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:91)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->apply(object(Request), object(ParamConverter))
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:84)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter(object(Request), object(ParamConverter))
     (vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48)
  at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply(object(Request), array('pwaEnfance' => object(ParamConverter)))
     (vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72)
  at Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController(object(ControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.controller', object(ControllerEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ControllerEvent), 'kernel.controller')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ControllerEvent), 'kernel.controller')
     (vendor/symfony/http-kernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:35)
  at require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php')
     (public/index.php:5)