^ Doctrine\DBAL\Exception\ConnectionException {#793
-driverException: Doctrine\DBAL\Driver\PDOException {#795
-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 {#794
#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/Persisters/Entity/BasicEntityPersister.php:718 {
Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) …
› list($params, $types) = $this->expandParameters($criteria);
› $stmt = $this->conn->executeQuery($sql, $params, $types);
›
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:736 {
Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) …
› {
› return $this->load($identifier, $entity);
› }
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:469 {
Doctrine\ORM\EntityManager->find($entityName, $id, $lockMode = null, $lockVersion = null) …
› default:
› return $persister->loadById($sortedId);
› }
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:151 {
Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) …
› {
› return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);
› }
}
/var/www/html/cajun2step/src/Controller/Front/MainController.php:15 {
App\Controller\Front\MainController->homepage_actual(AppServices $services) …
› public function homepage_actual(AppServices $services) {\r
› $herosettings = $this->getDoctrine()->getManager()->getRepository("App\Entity\HomepageHeroSettings")->find(1);\r
› $payload = $services->getUpcomingEvent();\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/Persisters/Entity/BasicEntityPersister.php:718 {
Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) …
› list($params, $types) = $this->expandParameters($criteria);
› $stmt = $this->conn->executeQuery($sql, $params, $types);
›
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:736 {
Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) …
› {
› return $this->load($identifier, $entity);
› }
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:469 {
Doctrine\ORM\EntityManager->find($entityName, $id, $lockMode = null, $lockVersion = null) …
› default:
› return $persister->loadById($sortedId);
› }
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:151 {
Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) …
› {
› return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);
› }
}
/var/www/html/cajun2step/src/Controller/Front/MainController.php:15 {
App\Controller\Front\MainController->homepage_actual(AppServices $services) …
› public function homepage_actual(AppServices $services) {\r
› $herosettings = $this->getDoctrine()->getManager()->getRepository("App\Entity\HomepageHeroSettings")->find(1);\r
› $payload = $services->getUpcomingEvent();\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 {#795}
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/Persisters/Entity/BasicEntityPersister.php:718 {
Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) …
› list($params, $types) = $this->expandParameters($criteria);
› $stmt = $this->conn->executeQuery($sql, $params, $types);
›
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:736 {
Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) …
› {
› return $this->load($identifier, $entity);
› }
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:469 {
Doctrine\ORM\EntityManager->find($entityName, $id, $lockMode = null, $lockVersion = null) …
› default:
› return $persister->loadById($sortedId);
› }
}
/var/www/html/cajun2step/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:151 {
Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) …
› {
› return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);
› }
}
/var/www/html/cajun2step/src/Controller/Front/MainController.php:15 {
App\Controller\Front\MainController->homepage_actual(AppServices $services) …
› public function homepage_actual(AppServices $services) {\r
› $herosettings = $this->getDoctrine()->getManager()->getRepository("App\Entity\HomepageHeroSettings")->find(1);\r
› $payload = $services->getUpcomingEvent();\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();
}
}
}