^ Doctrine\DBAL\Exception\ConnectionException {#904
  -driverException: Doctrine\DBAL\Driver\PDOException {#903
    -errorCode: 1049
    -sqlState: "HY000"
    #message: "SQLSTATE[HY000] [1049] Unknown database 'cajun2step'"
    #code: 1049
    #file: "/var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
    #line: 31
    -previous: PDOException {#907
      #message: "SQLSTATE[HY000] [1049] Unknown database 'cajun2step'"
      #code: 1049
      #file: "/var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
      #line: 27
      +errorInfo: array:3 [
        0 => "HY000"
        1 => 1049
        2 => "Unknown database 'cajun2step'"
      ]
      trace: {
        /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 {
          Doctrine\DBAL\Driver\PDOConnection->__construct($dsn, $user = null, $password = null, array $options = null) …
          › try {    parent::__construct($dsn, $user, $password, $options);    $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
        }
        /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:22 {
          Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array $params, $username = null, $password = null, array $driverOptions = []) …
          › $conn = new PDOConnection(    $this->constructPdoDsn($params),    $username,
        }
        /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:356 {
          Doctrine\DBAL\Connection->connect() …
          › 
          › $this->_conn       = $this->_driver->connect($this->params, $user, $password, $driverOptions);$this->isConnected = true;
        }
        /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:891 {
          Doctrine\DBAL\Connection->executeQuery($query, array $params = [], $types = [], QueryCacheProfile $qcp = null) …
          › 
          › $this->connect();}
        /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php:50 {
          Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Connection $conn, array $params, array $types) …
          › {    return $conn->executeQuery($this->_sqlStatements, $params, $types, $this->queryCacheProfile);}
        }
        /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:337 {
          Doctrine\ORM\Query->_doExecute() …
          › 
          ›     return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}
        }
        /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:992 {
          Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache($parameters = null, $hydrationMode = null) …
          › 
          › $stmt = $this->_doExecute();}
        /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:947 {
          Doctrine\ORM\AbstractQuery->execute($parameters = null, $hydrationMode = null) …
          › 
          ›     return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}
        }
        /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:789 {
          Doctrine\ORM\AbstractQuery->getOneOrNullResult($hydrationMode = null) …
          › try {    $result = $this->execute(null, $hydrationMode);} catch (NoResultException $e) {
        }
        /var/www/html/cajun2step/src/Controller/Front/EventController.php:63 {
          App\Controller\Front\EventController->event($slug, AppServices $services, TranslatorInterface $translator) …
          › } else {\r    $event = $services->getEvents(array("slug" => $slug, "elapsed" => "all"))->getQuery()->getOneOrNullResult();\r}\r
        }
        /var/www/html/cajun2step/vendor/symfony/http-kernel/HttpKernel.php:158 {
          Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
          › // call controller$response = $controller(...$arguments);}
        /var/www/html/cajun2step/vendor/symfony/http-kernel/HttpKernel.php:80 {
          Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
          › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
        }
        /var/www/html/cajun2step/vendor/symfony/http-kernel/Kernel.php:201 {
          Symfony\Component\HttpKernel\Kernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
          › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
        }
        /var/www/html/cajun2step/public/index.php:25 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
        }
      }
    }
    +errorInfo: array:3 [
      0 => "HY000"
      1 => 1049
      2 => "Unknown database 'cajun2step'"
    ]
    trace: {
      /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31 {
        Doctrine\DBAL\Driver\PDOConnection->__construct($dsn, $user = null, $password = null, array $options = null) …
        › } catch (\PDOException $exception) {    throw new PDOException($exception);}
      }
      /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:22 {
        Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array $params, $username = null, $password = null, array $driverOptions = []) …
        › $conn = new PDOConnection(    $this->constructPdoDsn($params),    $username,
      }
      /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:356 {
        Doctrine\DBAL\Connection->connect() …
        › 
        › $this->_conn       = $this->_driver->connect($this->params, $user, $password, $driverOptions);$this->isConnected = true;
      }
      /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:891 {
        Doctrine\DBAL\Connection->executeQuery($query, array $params = [], $types = [], QueryCacheProfile $qcp = null) …
        › 
        › $this->connect();}
      /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php:50 {
        Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Connection $conn, array $params, array $types) …
        › {    return $conn->executeQuery($this->_sqlStatements, $params, $types, $this->queryCacheProfile);}
      }
      /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:337 {
        Doctrine\ORM\Query->_doExecute() …
        › 
        ›     return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}
      }
      /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:992 {
        Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache($parameters = null, $hydrationMode = null) …
        › 
        › $stmt = $this->_doExecute();}
      /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:947 {
        Doctrine\ORM\AbstractQuery->execute($parameters = null, $hydrationMode = null) …
        › 
        ›     return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}
      }
      /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:789 {
        Doctrine\ORM\AbstractQuery->getOneOrNullResult($hydrationMode = null) …
        › try {    $result = $this->execute(null, $hydrationMode);} catch (NoResultException $e) {
      }
      /var/www/html/cajun2step/src/Controller/Front/EventController.php:63 {
        App\Controller\Front\EventController->event($slug, AppServices $services, TranslatorInterface $translator) …
        › } else {\r    $event = $services->getEvents(array("slug" => $slug, "elapsed" => "all"))->getQuery()->getOneOrNullResult();\r}\r
      }
      /var/www/html/cajun2step/vendor/symfony/http-kernel/HttpKernel.php:158 {
        Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
        › // call controller$response = $controller(...$arguments);}
      /var/www/html/cajun2step/vendor/symfony/http-kernel/HttpKernel.php:80 {
        Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
        › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      }
      /var/www/html/cajun2step/vendor/symfony/http-kernel/Kernel.php:201 {
        Symfony\Component\HttpKernel\Kernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
        › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      }
      /var/www/html/cajun2step/public/index.php:25 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
      }
    }
  }
  #message: "An exception occurred in driver: SQLSTATE[HY000] [1049] Unknown database 'cajun2step'"
  #code: 0
  #file: "/var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php"
  #line: 93
  -previous: Doctrine\DBAL\Driver\PDOException {#903}
  trace: {
    /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93 {
      Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException($message, DriverException $exception) …
      › case '2005':    return new Exception\ConnectionException($message, $exception);}
    /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:169 {
      Doctrine\DBAL\DBALException::wrapException(Driver $driver, Throwable $driverEx, $msg) …
      › if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverExceptionInterface) {    return $driver->convertException($msg, $driverEx);}
    }
    /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:155 {
      Doctrine\DBAL\DBALException::driverException(Driver $driver, Throwable $driverEx) …
      › {    return static::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());}
    }
    /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:28 {
      Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array $params, $username = null, $password = null, array $driverOptions = []) …
      › } catch (PDOException $e) {    throw DBALException::driverException($this, $e);}
    }
    /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:356 {
      Doctrine\DBAL\Connection->connect() …
      › 
      › $this->_conn       = $this->_driver->connect($this->params, $user, $password, $driverOptions);$this->isConnected = true;
    }
    /var/www/html/cajun2step/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:891 {
      Doctrine\DBAL\Connection->executeQuery($query, array $params = [], $types = [], QueryCacheProfile $qcp = null) …
      › 
      › $this->connect();}
    /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php:50 {
      Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Connection $conn, array $params, array $types) …
      › {    return $conn->executeQuery($this->_sqlStatements, $params, $types, $this->queryCacheProfile);}
    }
    /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:337 {
      Doctrine\ORM\Query->_doExecute() …
      › 
      ›     return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}
    }
    /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:992 {
      Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache($parameters = null, $hydrationMode = null) …
      › 
      › $stmt = $this->_doExecute();}
    /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:947 {
      Doctrine\ORM\AbstractQuery->execute($parameters = null, $hydrationMode = null) …
      › 
      ›     return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}
    }
    /var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:789 {
      Doctrine\ORM\AbstractQuery->getOneOrNullResult($hydrationMode = null) …
      › try {    $result = $this->execute(null, $hydrationMode);} catch (NoResultException $e) {
    }
    /var/www/html/cajun2step/src/Controller/Front/EventController.php:63 {
      App\Controller\Front\EventController->event($slug, AppServices $services, TranslatorInterface $translator) …
      › } else {\r    $event = $services->getEvents(array("slug" => $slug, "elapsed" => "all"))->getQuery()->getOneOrNullResult();\r}\r
    }
    /var/www/html/cajun2step/vendor/symfony/http-kernel/HttpKernel.php:158 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/html/cajun2step/vendor/symfony/http-kernel/HttpKernel.php:80 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/html/cajun2step/vendor/symfony/http-kernel/Kernel.php:201 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/cajun2step/public/index.php:25 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}