Error 500 Internal Server Error

GET http://185.95.13.247/

Forwarded to ErrorController (7693d0)

Exceptions

An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused

Exceptions 3

Doctrine\DBAL\Exception\ ConnectionException

Show exception properties
Doctrine\DBAL\Exception\ConnectionException {#770
  -query: null
}
  1.             case 1370:
  2.             case 1429:
  3.             case 2002:
  4.             case 2005:
  5.             case 2054:
  6.                 return new ConnectionException($exception$query);
  7.             case 2006:
  8.             case 4031:
  9.                 return new ConnectionLost($exception$query);
  1.     private function handleDriverException(
  2.         Driver\Exception $driverException,
  3.         ?Query $query
  4.     ): DriverException {
  5.         $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6.         $exception                  $this->exceptionConverter->convert($driverException$query);
  7.         if ($exception instanceof ConnectionLost) {
  8.             $this->close();
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1887)
  1.     }
  2.     /** @internal */
  3.     final public function convertException(Driver\Exception $e): DriverException
  4.     {
  5.         return $this->handleDriverException($enull);
  6.     }
  7.     /**
  8.      * @param array<int, mixed>|array<string, mixed>                               $params
  9.      * @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in vendor/doctrine/dbal/src/Connection.php -> convertException (line 380)
  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.         }
  2.         // If not connected, we need to connect now to determine the platform version.
  3.         if ($this->_conn === null) {
  4.             try {
  5.                 $this->connect();
  6.             } catch (Exception $originalException) {
  7.                 if (! isset($this->params['dbname'])) {
  8.                     throw $originalException;
  9.                 }
in vendor/doctrine/dbal/src/Connection.php -> getDatabasePlatformVersion (line 411)
  1.      *
  2.      * @throws Exception If an invalid platform was specified for this connection.
  3.      */
  4.     private function detectDatabasePlatform(): AbstractPlatform
  5.     {
  6.         $version $this->getDatabasePlatformVersion();
  7.         if ($version !== null) {
  8.             assert($this->_driver instanceof VersionAwarePlatformDriver);
  9.             return $this->_driver->createDatabasePlatformForVersion($version);
in vendor/doctrine/dbal/src/Connection.php -> detectDatabasePlatform (line 318)
  1.      * @throws Exception
  2.      */
  3.     public function getDatabasePlatform()
  4.     {
  5.         if ($this->platform === null) {
  6.             $this->platform $this->detectDatabasePlatform();
  7.             $this->platform->setEventManager($this->_eventManager);
  8.             $this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
  9.         }
  10.         return $this->platform;
  1.     }
  2.     private function getTargetPlatform(): Platforms\AbstractPlatform
  3.     {
  4.         if (! $this->targetPlatform) {
  5.             $this->targetPlatform $this->em->getConnection()->getDatabasePlatform();
  6.         }
  7.         return $this->targetPlatform;
  8.     }
  9. }
  1.      */
  2.     private function completeIdGeneratorMapping(ClassMetadataInfo $class): void
  3.     {
  4.         $idGenType $class->generatorType;
  5.         if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
  6.             $class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
  7.         }
  8.         // Create & assign an appropriate ID generator instance
  9.         switch ($class->generatorType) {
  10.             case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php -> completeIdGeneratorMapping (line 160)
  1.         // However this is only true if the hierarchy of parents contains the root entity,
  2.         // if it consists of mapped superclasses these don't necessarily include the id field.
  3.         if ($parent && $rootEntityFound) {
  4.             $this->inheritIdGeneratorMapping($class$parent);
  5.         } else {
  6.             $this->completeIdGeneratorMapping($class);
  7.         }
  8.         if (! $class->isMappedSuperclass) {
  9.             if ($rootEntityFound && $class->isInheritanceTypeNone()) {
  10.                 Deprecation::trigger(
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     protected function doLoadMetadata($class$parent$rootEntityFound, array $nonSuperclassParents): void
  5.     {
  6.         parent::doLoadMetadata($class$parent$rootEntityFound$nonSuperclassParents);
  7.         $customGeneratorDefinition $class->customGeneratorDefinition;
  8.         if (! isset($customGeneratorDefinition['instance'])) {
  9.             return;
  1.             }
  2.             $class $this->newClassMetadataInstance($className);
  3.             $this->initializeReflection($class$reflService);
  4.             $this->doLoadMetadata($class$parent$rootEntityFound$visited);
  5.             $this->loadedMetadata[$className] = $class;
  6.             $parent $class;
  1.                     /** @phpstan-var CMTemplate $cached */
  2.                     $this->loadedMetadata[$realClassName] = $cached;
  3.                     $this->wakeupReflection($cached$this->getReflectionService());
  4.                 } else {
  5.                     $loadedMetadata $this->loadMetadata($realClassName);
  6.                     $classNames     array_combine(
  7.                         array_map([$this'getCacheKey'], $loadedMetadata),
  8.                         $loadedMetadata
  9.                     );
in vendor/doctrine/orm/src/EntityManager.php -> getMetadataFor (line 329)
  1.      *
  2.      * {@inheritDoc}
  3.      */
  4.     public function getClassMetadata($className)
  5.     {
  6.         return $this->metadataFactory->getMetadataFor($className);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.                 'Could not find the entity manager for class "%s". Check your Doctrine configuration to make sure it is configured to load this entity’s metadata.',
  2.                 $this->entityClass,
  3.             ));
  4.         }
  5.         parent::__construct($manager$manager->getClassMetadata($this->entityClass));
  6.     }
  7. }
  1.     }
  2.     /** @return mixed */
  3.     public function __get(string $name)
  4.     {
  5.         $this->initialize();
  6.         $scope debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS2)[1]['class'] ?? null;
  7.         return (function () use ($name) {
  8.             return $this->$name;
  1.      * @return object|null The entity instance or NULL if the entity can not be found.
  2.      * @phpstan-return ?T
  3.      */
  4.     public function findOneBy(array $criteria, ?array $orderBy null)
  5.     {
  6.         $persister $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
  7.         return $persister->load($criterianullnull, [], null1$orderBy);
  8.     }
  9.     /**
EntityRepository->findOneBy() in src/Controller/PageController.php (line 59)
  1.      * @Route("/", name="home")
  2.      */
  3.     #[Route('/'name'home')]
  4.     public function index(Request $requestPageRepository $pageRepository): Response
  5.     {
  6.         $page $pageRepository->findOneBy(array('slug' => 'home'));
  7.         $id $page->getId();
  8.         $defaultSlug $pageRepository->findDefaultLocaleValues($id, array("slug"));
  9.         $default_locale  $this->languageConfiguration->getDefaultLanguage();
  10.         $transSlugs[$default_locale] = "home";
  11.         $entityManager $this->doctrine->getManager();
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 30)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[HY000] [2002] Connection refused

  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.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.         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.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.         parent::__construct($driver);
  2.     }
  3.     public function connect(array $params): ConnectionInterface
  4.     {
  5.         $connection parent::connect($params);
  6.         if ('void' !== (string) (new \ReflectionMethod(DriverInterface\Connection::class, 'commit'))->getReturnType()) {
  7.             return new DBAL3\Connection(
  8.                 $connection,
  9.                 $this->debugDataHolder,
  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.         }
  2.         // If not connected, we need to connect now to determine the platform version.
  3.         if ($this->_conn === null) {
  4.             try {
  5.                 $this->connect();
  6.             } catch (Exception $originalException) {
  7.                 if (! isset($this->params['dbname'])) {
  8.                     throw $originalException;
  9.                 }
in vendor/doctrine/dbal/src/Connection.php -> getDatabasePlatformVersion (line 411)
  1.      *
  2.      * @throws Exception If an invalid platform was specified for this connection.
  3.      */
  4.     private function detectDatabasePlatform(): AbstractPlatform
  5.     {
  6.         $version $this->getDatabasePlatformVersion();
  7.         if ($version !== null) {
  8.             assert($this->_driver instanceof VersionAwarePlatformDriver);
  9.             return $this->_driver->createDatabasePlatformForVersion($version);
in vendor/doctrine/dbal/src/Connection.php -> detectDatabasePlatform (line 318)
  1.      * @throws Exception
  2.      */
  3.     public function getDatabasePlatform()
  4.     {
  5.         if ($this->platform === null) {
  6.             $this->platform $this->detectDatabasePlatform();
  7.             $this->platform->setEventManager($this->_eventManager);
  8.             $this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
  9.         }
  10.         return $this->platform;
  1.     }
  2.     private function getTargetPlatform(): Platforms\AbstractPlatform
  3.     {
  4.         if (! $this->targetPlatform) {
  5.             $this->targetPlatform $this->em->getConnection()->getDatabasePlatform();
  6.         }
  7.         return $this->targetPlatform;
  8.     }
  9. }
  1.      */
  2.     private function completeIdGeneratorMapping(ClassMetadataInfo $class): void
  3.     {
  4.         $idGenType $class->generatorType;
  5.         if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
  6.             $class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
  7.         }
  8.         // Create & assign an appropriate ID generator instance
  9.         switch ($class->generatorType) {
  10.             case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php -> completeIdGeneratorMapping (line 160)
  1.         // However this is only true if the hierarchy of parents contains the root entity,
  2.         // if it consists of mapped superclasses these don't necessarily include the id field.
  3.         if ($parent && $rootEntityFound) {
  4.             $this->inheritIdGeneratorMapping($class$parent);
  5.         } else {
  6.             $this->completeIdGeneratorMapping($class);
  7.         }
  8.         if (! $class->isMappedSuperclass) {
  9.             if ($rootEntityFound && $class->isInheritanceTypeNone()) {
  10.                 Deprecation::trigger(
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     protected function doLoadMetadata($class$parent$rootEntityFound, array $nonSuperclassParents): void
  5.     {
  6.         parent::doLoadMetadata($class$parent$rootEntityFound$nonSuperclassParents);
  7.         $customGeneratorDefinition $class->customGeneratorDefinition;
  8.         if (! isset($customGeneratorDefinition['instance'])) {
  9.             return;
  1.             }
  2.             $class $this->newClassMetadataInstance($className);
  3.             $this->initializeReflection($class$reflService);
  4.             $this->doLoadMetadata($class$parent$rootEntityFound$visited);
  5.             $this->loadedMetadata[$className] = $class;
  6.             $parent $class;
  1.                     /** @phpstan-var CMTemplate $cached */
  2.                     $this->loadedMetadata[$realClassName] = $cached;
  3.                     $this->wakeupReflection($cached$this->getReflectionService());
  4.                 } else {
  5.                     $loadedMetadata $this->loadMetadata($realClassName);
  6.                     $classNames     array_combine(
  7.                         array_map([$this'getCacheKey'], $loadedMetadata),
  8.                         $loadedMetadata
  9.                     );
in vendor/doctrine/orm/src/EntityManager.php -> getMetadataFor (line 329)
  1.      *
  2.      * {@inheritDoc}
  3.      */
  4.     public function getClassMetadata($className)
  5.     {
  6.         return $this->metadataFactory->getMetadataFor($className);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.                 'Could not find the entity manager for class "%s". Check your Doctrine configuration to make sure it is configured to load this entity’s metadata.',
  2.                 $this->entityClass,
  3.             ));
  4.         }
  5.         parent::__construct($manager$manager->getClassMetadata($this->entityClass));
  6.     }
  7. }
  1.     }
  2.     /** @return mixed */
  3.     public function __get(string $name)
  4.     {
  5.         $this->initialize();
  6.         $scope debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS2)[1]['class'] ?? null;
  7.         return (function () use ($name) {
  8.             return $this->$name;
  1.      * @return object|null The entity instance or NULL if the entity can not be found.
  2.      * @phpstan-return ?T
  3.      */
  4.     public function findOneBy(array $criteria, ?array $orderBy null)
  5.     {
  6.         $persister $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
  7.         return $persister->load($criterianullnull, [], null1$orderBy);
  8.     }
  9.     /**
EntityRepository->findOneBy() in src/Controller/PageController.php (line 59)
  1.      * @Route("/", name="home")
  2.      */
  3.     #[Route('/'name'home')]
  4.     public function index(Request $requestPageRepository $pageRepository): Response
  5.     {
  6.         $page $pageRepository->findOneBy(array('slug' => 'home'));
  7.         $id $page->getId();
  8.         $defaultSlug $pageRepository->findDefaultLocaleValues($id, array("slug"));
  9.         $default_locale  $this->languageConfiguration->getDefaultLanguage();
  10.         $transSlugs[$default_locale] = "home";
  11.         $entityManager $this->doctrine->getManager();
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 30)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

PDOException

SQLSTATE[HY000] [2002] Connection refused

  1.         $safeParams $params;
  2.         unset($safeParams['password'], $safeParams['url']);
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($safeParams),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  1.         $safeParams $params;
  2.         unset($safeParams['password'], $safeParams['url']);
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($safeParams),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  1.      */
  2.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.         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.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.         parent::__construct($driver);
  2.     }
  3.     public function connect(array $params): ConnectionInterface
  4.     {
  5.         $connection parent::connect($params);
  6.         if ('void' !== (string) (new \ReflectionMethod(DriverInterface\Connection::class, 'commit'))->getReturnType()) {
  7.             return new DBAL3\Connection(
  8.                 $connection,
  9.                 $this->debugDataHolder,
  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.         }
  2.         // If not connected, we need to connect now to determine the platform version.
  3.         if ($this->_conn === null) {
  4.             try {
  5.                 $this->connect();
  6.             } catch (Exception $originalException) {
  7.                 if (! isset($this->params['dbname'])) {
  8.                     throw $originalException;
  9.                 }
in vendor/doctrine/dbal/src/Connection.php -> getDatabasePlatformVersion (line 411)
  1.      *
  2.      * @throws Exception If an invalid platform was specified for this connection.
  3.      */
  4.     private function detectDatabasePlatform(): AbstractPlatform
  5.     {
  6.         $version $this->getDatabasePlatformVersion();
  7.         if ($version !== null) {
  8.             assert($this->_driver instanceof VersionAwarePlatformDriver);
  9.             return $this->_driver->createDatabasePlatformForVersion($version);
in vendor/doctrine/dbal/src/Connection.php -> detectDatabasePlatform (line 318)
  1.      * @throws Exception
  2.      */
  3.     public function getDatabasePlatform()
  4.     {
  5.         if ($this->platform === null) {
  6.             $this->platform $this->detectDatabasePlatform();
  7.             $this->platform->setEventManager($this->_eventManager);
  8.             $this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
  9.         }
  10.         return $this->platform;
  1.     }
  2.     private function getTargetPlatform(): Platforms\AbstractPlatform
  3.     {
  4.         if (! $this->targetPlatform) {
  5.             $this->targetPlatform $this->em->getConnection()->getDatabasePlatform();
  6.         }
  7.         return $this->targetPlatform;
  8.     }
  9. }
  1.      */
  2.     private function completeIdGeneratorMapping(ClassMetadataInfo $class): void
  3.     {
  4.         $idGenType $class->generatorType;
  5.         if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
  6.             $class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
  7.         }
  8.         // Create & assign an appropriate ID generator instance
  9.         switch ($class->generatorType) {
  10.             case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php -> completeIdGeneratorMapping (line 160)
  1.         // However this is only true if the hierarchy of parents contains the root entity,
  2.         // if it consists of mapped superclasses these don't necessarily include the id field.
  3.         if ($parent && $rootEntityFound) {
  4.             $this->inheritIdGeneratorMapping($class$parent);
  5.         } else {
  6.             $this->completeIdGeneratorMapping($class);
  7.         }
  8.         if (! $class->isMappedSuperclass) {
  9.             if ($rootEntityFound && $class->isInheritanceTypeNone()) {
  10.                 Deprecation::trigger(
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     protected function doLoadMetadata($class$parent$rootEntityFound, array $nonSuperclassParents): void
  5.     {
  6.         parent::doLoadMetadata($class$parent$rootEntityFound$nonSuperclassParents);
  7.         $customGeneratorDefinition $class->customGeneratorDefinition;
  8.         if (! isset($customGeneratorDefinition['instance'])) {
  9.             return;
  1.             }
  2.             $class $this->newClassMetadataInstance($className);
  3.             $this->initializeReflection($class$reflService);
  4.             $this->doLoadMetadata($class$parent$rootEntityFound$visited);
  5.             $this->loadedMetadata[$className] = $class;
  6.             $parent $class;
  1.                     /** @phpstan-var CMTemplate $cached */
  2.                     $this->loadedMetadata[$realClassName] = $cached;
  3.                     $this->wakeupReflection($cached$this->getReflectionService());
  4.                 } else {
  5.                     $loadedMetadata $this->loadMetadata($realClassName);
  6.                     $classNames     array_combine(
  7.                         array_map([$this'getCacheKey'], $loadedMetadata),
  8.                         $loadedMetadata
  9.                     );
in vendor/doctrine/orm/src/EntityManager.php -> getMetadataFor (line 329)
  1.      *
  2.      * {@inheritDoc}
  3.      */
  4.     public function getClassMetadata($className)
  5.     {
  6.         return $this->metadataFactory->getMetadataFor($className);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.                 'Could not find the entity manager for class "%s". Check your Doctrine configuration to make sure it is configured to load this entity’s metadata.',
  2.                 $this->entityClass,
  3.             ));
  4.         }
  5.         parent::__construct($manager$manager->getClassMetadata($this->entityClass));
  6.     }
  7. }
  1.     }
  2.     /** @return mixed */
  3.     public function __get(string $name)
  4.     {
  5.         $this->initialize();
  6.         $scope debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS2)[1]['class'] ?? null;
  7.         return (function () use ($name) {
  8.             return $this->$name;
  1.      * @return object|null The entity instance or NULL if the entity can not be found.
  2.      * @phpstan-return ?T
  3.      */
  4.     public function findOneBy(array $criteria, ?array $orderBy null)
  5.     {
  6.         $persister $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
  7.         return $persister->load($criterianullnull, [], null1$orderBy);
  8.     }
  9.     /**
EntityRepository->findOneBy() in src/Controller/PageController.php (line 59)
  1.      * @Route("/", name="home")
  2.      */
  3.     #[Route('/'name'home')]
  4.     public function index(Request $requestPageRepository $pageRepository): Response
  5.     {
  6.         $page $pageRepository->findOneBy(array('slug' => 'home'));
  7.         $id $page->getId();
  8.         $defaultSlug $pageRepository->findDefaultLocaleValues($id, array("slug"));
  9.         $default_locale  $this->languageConfiguration->getDefaultLanguage();
  10.         $transSlugs[$default_locale] = "home";
  11.         $entityManager $this->doctrine->getManager();
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 30)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

Level Channel Message
INFO 04:35:30 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "https://www.dnaklik.nl/_profiler/latest?ip=43.163.8.148&type=request",
    "method": "GET"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventListener\TranslationListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\TranslationListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Stof\\DoctrineExtensionsBundle\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
INFO 04:35:30 php User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:77 called by App_KernelDevDebugContainer.php:1461, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)
{
    "exception": {}
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "ContainerZiCTOkQ\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerZiCTOkQ\\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventListener\TranslationListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\TranslationListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Stof\\DoctrineExtensionsBundle\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "ContainerZiCTOkQ\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerZiCTOkQ\\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\Security\\Http\\Firewall\\ContextListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventListener\TranslationListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\TranslationListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Stof\\DoctrineExtensionsBundle\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "ContainerZiCTOkQ\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerZiCTOkQ\\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\Security\\Http\\Firewall\\ContextListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse"
}
DEBUG 04:35:30 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "App\EventListener\TranslationListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\TranslationListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Stof\\DoctrineExtensionsBundle\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 04:35:30 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "ContainerZiCTOkQ\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerZiCTOkQ\\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments"
}
DEBUG 04:35:30 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}

Stack Traces 3

[3/3] ConnectionException
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused

  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:453)
  at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
     (vendor/doctrine/dbal/src/Connection.php:411)
  at Doctrine\DBAL\Connection->detectDatabasePlatform()
     (vendor/doctrine/dbal/src/Connection.php:318)
  at Doctrine\DBAL\Connection->getDatabasePlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:876)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:631)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:160)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata()
     (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:18)
  at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata()
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:343)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata()
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:207)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor()
     (vendor/doctrine/orm/src/EntityManager.php:329)
  at Doctrine\ORM\EntityManager->getClassMetadata()
     (vendor/doctrine/doctrine-bundle/src/Repository/LazyServiceEntityRepository.php:80)
  at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository->initialize()
     (vendor/doctrine/doctrine-bundle/src/Repository/LazyServiceEntityRepository.php:49)
  at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository->__get()
     (vendor/doctrine/orm/src/EntityRepository.php:238)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (src/Controller/PageController.php:59)
  at App\Controller\PageController->index()
     (vendor/symfony/http-kernel/HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:30)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [2002] Connection refused

  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:37)
  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:453)
  at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
     (vendor/doctrine/dbal/src/Connection.php:411)
  at Doctrine\DBAL\Connection->detectDatabasePlatform()
     (vendor/doctrine/dbal/src/Connection.php:318)
  at Doctrine\DBAL\Connection->getDatabasePlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:876)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:631)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:160)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata()
     (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:18)
  at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata()
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:343)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata()
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:207)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor()
     (vendor/doctrine/orm/src/EntityManager.php:329)
  at Doctrine\ORM\EntityManager->getClassMetadata()
     (vendor/doctrine/doctrine-bundle/src/Repository/LazyServiceEntityRepository.php:80)
  at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository->initialize()
     (vendor/doctrine/doctrine-bundle/src/Repository/LazyServiceEntityRepository.php:49)
  at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository->__get()
     (vendor/doctrine/orm/src/EntityRepository.php:238)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (src/Controller/PageController.php:59)
  at App\Controller\PageController->index()
     (vendor/symfony/http-kernel/HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:30)                
[1/3] PDOException
PDOException:
SQLSTATE[HY000] [2002] Connection refused

  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:37)
  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:453)
  at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
     (vendor/doctrine/dbal/src/Connection.php:411)
  at Doctrine\DBAL\Connection->detectDatabasePlatform()
     (vendor/doctrine/dbal/src/Connection.php:318)
  at Doctrine\DBAL\Connection->getDatabasePlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:876)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:631)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:160)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata()
     (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:18)
  at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata()
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:343)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata()
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:207)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor()
     (vendor/doctrine/orm/src/EntityManager.php:329)
  at Doctrine\ORM\EntityManager->getClassMetadata()
     (vendor/doctrine/doctrine-bundle/src/Repository/LazyServiceEntityRepository.php:80)
  at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository->initialize()
     (vendor/doctrine/doctrine-bundle/src/Repository/LazyServiceEntityRepository.php:49)
  at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository->__get()
     (vendor/doctrine/orm/src/EntityRepository.php:238)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (src/Controller/PageController.php:59)
  at App\Controller\PageController->index()
     (vendor/symfony/http-kernel/HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:30)