http://virtualrealitycommerce.eu/marketplace/department/2?page=543257

Exceptions

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

Exceptions 3

Doctrine\DBAL\Exception\ ConnectionException

  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.                     /** @psalm-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 318)
  1.      *
  2.      * {@inheritDoc}
  3.      */
  4.     public function getClassMetadata($className)
  5.     {
  6.         return $this->metadataFactory->getMetadataFor($className);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.      *
  2.      * @template T of object
  3.      */
  4.     private function doGetRepository(EntityManagerInterface $entityManagerstring $entityNamebool $strictTypeCheck): ObjectRepository
  5.     {
  6.         $metadata            $entityManager->getClassMetadata($entityName);
  7.         $repositoryServiceId $metadata->customRepositoryClassName;
  8.         $customRepositoryName $metadata->customRepositoryClassName;
  9.         if ($customRepositoryName !== null) {
  10.             // fetch from the container
  1.     trait RepositoryFactoryCompatibility
  2.     {
  3.         /** {@inheritDoc} */
  4.         public function getRepository(EntityManagerInterface $entityManager$entityName): ObjectRepository
  5.         {
  6.             return $this->doGetRepository($entityManager$entityNamefalse);
  7.         }
  8.     }
  9. }
in vendor/doctrine/orm/src/EntityManager.php -> getRepository (line 831)
  1.                     __METHOD__
  2.                 ));
  3.             }
  4.         }
  5.         $repository $this->repositoryFactory->getRepository($this$entityName);
  6.         if (! $repository instanceof EntityRepository) {
  7.             Deprecation::trigger(
  8.                 'doctrine/orm',
  9.                 'https://github.com/doctrine/orm/pull/9533',
  10.                 'Not returning an instance of %s from %s::getRepository() is deprecated and will cause a TypeError on 3.0.',
  1.     public function getRepository($entityName)
  2.     {
  3.         $this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c$this'getRepository', array('entityName' => $entityName), $this->initializerf9db0) || 1) && $this->valueHolderaf32c $valueHolderaf32c;
  4.         return $this->valueHolderaf32c->getRepository($entityName);
  5.     }
  6.     public function contains($entity)
  7.     {
  8.         $this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c$this'contains', array('entity' => $entity), $this->initializerf9db0) || 1) && $this->valueHolderaf32c $valueHolderaf32c;
EntityManager_9a5be93->getRepository() in src/Controller/DefaultController.php (line 97)
  1.         if(empty($session->get('label'))) {
  2.             /* we try to get http host and choose label */
  3.             //print("<br>qqw host: ".$_SERVER['HTTP_HOST']);
  4.             $hostServer $em->getRepository(Server::class)->getServerFromHost($_SERVER['HTTP_HOST']);
  5. //            print("<br>qqw hostServer: ".$_SERVER['HTTP_HOST']);
  6. //            \Doctrine\Common\Util\Debug::dump($hostServer);
  7.             if (empty($hostServer)) {
DefaultController->init() in src/Controller/MarketplaceController.php (line 124)
  1.      * @Route("/marketplace/department/{departmentId}", name="department")
  2.      */
  3.     public function departmentAction(Request $request$departmentId)
  4.     {
  5.         /* we load session data */
  6.         parent::init($request);
  7.         $session $request->getSession();
  8.         /* we load entity managers */
  9.         $em $this->doctrine->getManager();
in vendor/symfony/http-kernel/HttpKernel.php -> departmentAction (line 163)
  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);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  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 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/var/www/webexciter/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] [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.     }
  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.         }
  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.                     /** @psalm-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 318)
  1.      *
  2.      * {@inheritDoc}
  3.      */
  4.     public function getClassMetadata($className)
  5.     {
  6.         return $this->metadataFactory->getMetadataFor($className);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.      *
  2.      * @template T of object
  3.      */
  4.     private function doGetRepository(EntityManagerInterface $entityManagerstring $entityNamebool $strictTypeCheck): ObjectRepository
  5.     {
  6.         $metadata            $entityManager->getClassMetadata($entityName);
  7.         $repositoryServiceId $metadata->customRepositoryClassName;
  8.         $customRepositoryName $metadata->customRepositoryClassName;
  9.         if ($customRepositoryName !== null) {
  10.             // fetch from the container
  1.     trait RepositoryFactoryCompatibility
  2.     {
  3.         /** {@inheritDoc} */
  4.         public function getRepository(EntityManagerInterface $entityManager$entityName): ObjectRepository
  5.         {
  6.             return $this->doGetRepository($entityManager$entityNamefalse);
  7.         }
  8.     }
  9. }
in vendor/doctrine/orm/src/EntityManager.php -> getRepository (line 831)
  1.                     __METHOD__
  2.                 ));
  3.             }
  4.         }
  5.         $repository $this->repositoryFactory->getRepository($this$entityName);
  6.         if (! $repository instanceof EntityRepository) {
  7.             Deprecation::trigger(
  8.                 'doctrine/orm',
  9.                 'https://github.com/doctrine/orm/pull/9533',
  10.                 'Not returning an instance of %s from %s::getRepository() is deprecated and will cause a TypeError on 3.0.',
  1.     public function getRepository($entityName)
  2.     {
  3.         $this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c$this'getRepository', array('entityName' => $entityName), $this->initializerf9db0) || 1) && $this->valueHolderaf32c $valueHolderaf32c;
  4.         return $this->valueHolderaf32c->getRepository($entityName);
  5.     }
  6.     public function contains($entity)
  7.     {
  8.         $this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c$this'contains', array('entity' => $entity), $this->initializerf9db0) || 1) && $this->valueHolderaf32c $valueHolderaf32c;
EntityManager_9a5be93->getRepository() in src/Controller/DefaultController.php (line 97)
  1.         if(empty($session->get('label'))) {
  2.             /* we try to get http host and choose label */
  3.             //print("<br>qqw host: ".$_SERVER['HTTP_HOST']);
  4.             $hostServer $em->getRepository(Server::class)->getServerFromHost($_SERVER['HTTP_HOST']);
  5. //            print("<br>qqw hostServer: ".$_SERVER['HTTP_HOST']);
  6. //            \Doctrine\Common\Util\Debug::dump($hostServer);
  7.             if (empty($hostServer)) {
DefaultController->init() in src/Controller/MarketplaceController.php (line 124)
  1.      * @Route("/marketplace/department/{departmentId}", name="department")
  2.      */
  3.     public function departmentAction(Request $request$departmentId)
  4.     {
  5.         /* we load session data */
  6.         parent::init($request);
  7.         $session $request->getSession();
  8.         /* we load entity managers */
  9.         $em $this->doctrine->getManager();
in vendor/symfony/http-kernel/HttpKernel.php -> departmentAction (line 163)
  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);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  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 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/var/www/webexciter/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] [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.             );
  10.         } catch (PDOException $exception) {
  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.             );
  10.         } catch (PDOException $exception) {
  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.     }
  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.         }
  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.                     /** @psalm-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 318)
  1.      *
  2.      * {@inheritDoc}
  3.      */
  4.     public function getClassMetadata($className)
  5.     {
  6.         return $this->metadataFactory->getMetadataFor($className);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.      *
  2.      * @template T of object
  3.      */
  4.     private function doGetRepository(EntityManagerInterface $entityManagerstring $entityNamebool $strictTypeCheck): ObjectRepository
  5.     {
  6.         $metadata            $entityManager->getClassMetadata($entityName);
  7.         $repositoryServiceId $metadata->customRepositoryClassName;
  8.         $customRepositoryName $metadata->customRepositoryClassName;
  9.         if ($customRepositoryName !== null) {
  10.             // fetch from the container
  1.     trait RepositoryFactoryCompatibility
  2.     {
  3.         /** {@inheritDoc} */
  4.         public function getRepository(EntityManagerInterface $entityManager$entityName): ObjectRepository
  5.         {
  6.             return $this->doGetRepository($entityManager$entityNamefalse);
  7.         }
  8.     }
  9. }
in vendor/doctrine/orm/src/EntityManager.php -> getRepository (line 831)
  1.                     __METHOD__
  2.                 ));
  3.             }
  4.         }
  5.         $repository $this->repositoryFactory->getRepository($this$entityName);
  6.         if (! $repository instanceof EntityRepository) {
  7.             Deprecation::trigger(
  8.                 'doctrine/orm',
  9.                 'https://github.com/doctrine/orm/pull/9533',
  10.                 'Not returning an instance of %s from %s::getRepository() is deprecated and will cause a TypeError on 3.0.',
  1.     public function getRepository($entityName)
  2.     {
  3.         $this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c$this'getRepository', array('entityName' => $entityName), $this->initializerf9db0) || 1) && $this->valueHolderaf32c $valueHolderaf32c;
  4.         return $this->valueHolderaf32c->getRepository($entityName);
  5.     }
  6.     public function contains($entity)
  7.     {
  8.         $this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c$this'contains', array('entity' => $entity), $this->initializerf9db0) || 1) && $this->valueHolderaf32c $valueHolderaf32c;
EntityManager_9a5be93->getRepository() in src/Controller/DefaultController.php (line 97)
  1.         if(empty($session->get('label'))) {
  2.             /* we try to get http host and choose label */
  3.             //print("<br>qqw host: ".$_SERVER['HTTP_HOST']);
  4.             $hostServer $em->getRepository(Server::class)->getServerFromHost($_SERVER['HTTP_HOST']);
  5. //            print("<br>qqw hostServer: ".$_SERVER['HTTP_HOST']);
  6. //            \Doctrine\Common\Util\Debug::dump($hostServer);
  7.             if (empty($hostServer)) {
DefaultController->init() in src/Controller/MarketplaceController.php (line 124)
  1.      * @Route("/marketplace/department/{departmentId}", name="department")
  2.      */
  3.     public function departmentAction(Request $request$departmentId)
  4.     {
  5.         /* we load session data */
  6.         parent::init($request);
  7.         $session $request->getSession();
  8.         /* we load entity managers */
  9.         $em $this->doctrine->getManager();
in vendor/symfony/http-kernel/HttpKernel.php -> departmentAction (line 163)
  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);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  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 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/var/www/webexciter/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

Level Channel Message
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\LocaleListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\RequestListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 00:16:02 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 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\LocaleListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\RequestListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 00:16:02 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 00:16:02 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 00:16:02 event Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "ApiPlatform\Hydra\EventListener\AddLinkHeaderListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "ApiPlatform\\Hydra\\EventListener\\AddLinkHeaderListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "ApiPlatform\HttpCache\EventListener\AddHeadersListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "ApiPlatform\\HttpCache\\EventListener\\AddHeadersListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse".
{
    "event": "kernel.response",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CacheableResponseVaryListener::onResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse"
}
DEBUG 00:16:02 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 00:16:02 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 00:16:02 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 00:16:02 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 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\LocaleListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\RequestListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 00:16:02 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 00:16:02 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 00:16:02 event Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "ApiPlatform\Hydra\EventListener\AddLinkHeaderListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "ApiPlatform\\Hydra\\EventListener\\AddLinkHeaderListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "ApiPlatform\HttpCache\EventListener\AddHeadersListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "ApiPlatform\\HttpCache\\EventListener\\AddHeadersListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse".
{
    "event": "kernel.response",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CacheableResponseVaryListener::onResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse"
}
DEBUG 00:16:02 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse"
}
DEBUG 00:16:02 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 00:16:02 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 00:16:02 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 00:16:02 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 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\LocaleListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\RequestListener::__invoke"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 00:16:02 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 00:16:02 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:871)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:629)
  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:318)
  at Doctrine\ORM\EntityManager->getClassMetadata()
     (vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php:49)
  at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->doGetRepository()
     (vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php:38)
  at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository()
     (vendor/doctrine/orm/src/EntityManager.php:831)
  at Doctrine\ORM\EntityManager->getRepository()
     (var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php:227)
  at Container3tKoU61\EntityManager_9a5be93->getRepository()
     (src/Controller/DefaultController.php:97)
  at App\Controller\DefaultController->init()
     (src/Controller/MarketplaceController.php:124)
  at App\Controller\MarketplaceController->departmentAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/var/www/webexciter/vendor/autoload_runtime.php')
     (public/index.php:5)                
[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:871)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:629)
  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:318)
  at Doctrine\ORM\EntityManager->getClassMetadata()
     (vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php:49)
  at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->doGetRepository()
     (vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php:38)
  at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository()
     (vendor/doctrine/orm/src/EntityManager.php:831)
  at Doctrine\ORM\EntityManager->getRepository()
     (var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php:227)
  at Container3tKoU61\EntityManager_9a5be93->getRepository()
     (src/Controller/DefaultController.php:97)
  at App\Controller\DefaultController->init()
     (src/Controller/MarketplaceController.php:124)
  at App\Controller\MarketplaceController->departmentAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/var/www/webexciter/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[HY000] [2002] Connection refused

  at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34
  at PDO->__construct()
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34)
  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:871)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:629)
  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:318)
  at Doctrine\ORM\EntityManager->getClassMetadata()
     (vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php:49)
  at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->doGetRepository()
     (vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php:38)
  at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository()
     (vendor/doctrine/orm/src/EntityManager.php:831)
  at Doctrine\ORM\EntityManager->getRepository()
     (var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php:227)
  at Container3tKoU61\EntityManager_9a5be93->getRepository()
     (src/Controller/DefaultController.php:97)
  at App\Controller\DefaultController->init()
     (src/Controller/MarketplaceController.php:124)
  at App\Controller\MarketplaceController->departmentAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/var/www/webexciter/vendor/autoload_runtime.php')
     (public/index.php:5)