Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
Show exception properties
Doctrine\DBAL\Exception\ConnectionException {#590 -query: null }
case 1370:case 1429:case 2002:case 2005:case 2054:return new ConnectionException($exception, $query);case 2006:case 4031:return new ConnectionLost($exception, $query);
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1976)
private function handleDriverException(Driver\Exception $driverException,?Query $query): DriverException {$this->exceptionConverter ??= $this->_driver->getExceptionConverter();$exception = $this->exceptionConverter->convert($driverException, $query);if ($exception instanceof ConnectionLost) {$this->close();}
in
vendor/doctrine/dbal/src/Connection.php
->
handleDriverException
(line 1924)
}/** @internal */final public function convertException(Driver\Exception $e): DriverException{return $this->handleDriverException($e, null);}/*** @param array<int, mixed>|array<string, mixed> $params* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in
vendor/doctrine/dbal/src/Connection.php
->
convertException
(line 385)
}try {$this->_conn = $this->_driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {$this->beginTransaction();}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 1692)
'https://github.com/doctrine/dbal/issues/4966','Connection::getWrappedConnection() is deprecated.'. ' Use Connection::getNativeConnection() to access the native connection.',);$this->connect();return $this->_conn;}/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1087)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->getWrappedConnection();$logger = $this->_config->getSQLLogger();if ($logger !== null) {$logger->startQuery($sql, $params, $types);}
in
vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php
->
executeQuery
(line 31)
* @param list<mixed>|array<string, mixed> $params* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types*/public function execute(Connection $conn, array $params, array $types): Result{return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);}}
in
vendor/doctrine/orm/src/Query.php
->
execute
(line 330)
$sqlParams,$types,$this->_em->getConnection()->getParams());return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}/*** @param array<string,mixed> $sqlParams* @param array<string,Type> $types
in
vendor/doctrine/orm/src/AbstractQuery.php
->
_doExecute
(line 1213)
$setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {$cache->save($cacheItem->set($result + [$realCacheKey => $data]));};}$stmt = $this->_doExecute();if (is_numeric($stmt)) {$setCacheEntry($stmt);return $stmt;
in
vendor/doctrine/orm/src/AbstractQuery.php
->
executeIgnoreQueryCache
(line 1167)
{if ($this->cacheable && $this->isCacheEnabled()) {return $this->executeUsingQueryCache($parameters, $hydrationMode);}return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}/*** Execute query ignoring second level cache.*
in
vendor/doctrine/orm/src/AbstractQuery.php
->
execute
(line 930)
** @return mixed[]*/public function getSingleColumnResult(){return $this->execute(null, self::HYDRATE_SCALAR_COLUMN);}/*** Gets the scalar results for the query.*
$language = $this->em->createQueryBuilder()->select('l.id')->from(Languages::class, 'l')->where('l.code = :code')->setParameter('code', $locale)->getQuery()->getSingleColumnResult();if (!empty($language))$languageId = $language[0];$session->set('langIds', [$locale => $languageId]);
BaseControllerService->getLanguageId(object(Session), 'en')
in
src/Controller/CatalogueController.php
(line 52)
'page' => '\d+',],)]public function index(Request $request, Session $session, Security $security, BaseControllerService $baseControllerService, $projectDir, $page = 0): Response{$this->languageId = $baseControllerService->getLanguageId($session, $request->getLocale());$pageCatalogue = $this->cache->get('CatalogueController.index', function ($item) {$item->expiresAfter(Utils::getCacheTTL($this->appEnv)); // 10 minutesreturn $this->em->getRepository(PageCatalogue::class)->find(1);});
in
vendor/symfony/http-kernel/HttpKernel.php
->
index
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Doctrine\DBAL\Driver\PDO\ Exception
in
vendor/doctrine/dbal/src/Driver/PDO/Exception.php
(line 24)
} else {$code = $exception->getCode();$sqlState = null;}return new self($exception->getMessage(), $sqlState, $code, $exception);}}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
::
new
(line 43)
$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);} catch (PDOException $exception) {throw Exception::new($exception);}return new Connection($pdo);}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 34)
array $params) {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 37)
parent::__construct($driver);}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php
->
connect
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 383)
if ($this->_conn !== null) {return false;}try {$this->_conn = $this->_driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 1692)
'https://github.com/doctrine/dbal/issues/4966','Connection::getWrappedConnection() is deprecated.'. ' Use Connection::getNativeConnection() to access the native connection.',);$this->connect();return $this->_conn;}/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1087)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->getWrappedConnection();$logger = $this->_config->getSQLLogger();if ($logger !== null) {$logger->startQuery($sql, $params, $types);}
in
vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php
->
executeQuery
(line 31)
* @param list<mixed>|array<string, mixed> $params* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types*/public function execute(Connection $conn, array $params, array $types): Result{return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);}}
in
vendor/doctrine/orm/src/Query.php
->
execute
(line 330)
$sqlParams,$types,$this->_em->getConnection()->getParams());return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}/*** @param array<string,mixed> $sqlParams* @param array<string,Type> $types
in
vendor/doctrine/orm/src/AbstractQuery.php
->
_doExecute
(line 1213)
$setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {$cache->save($cacheItem->set($result + [$realCacheKey => $data]));};}$stmt = $this->_doExecute();if (is_numeric($stmt)) {$setCacheEntry($stmt);return $stmt;
in
vendor/doctrine/orm/src/AbstractQuery.php
->
executeIgnoreQueryCache
(line 1167)
{if ($this->cacheable && $this->isCacheEnabled()) {return $this->executeUsingQueryCache($parameters, $hydrationMode);}return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}/*** Execute query ignoring second level cache.*
in
vendor/doctrine/orm/src/AbstractQuery.php
->
execute
(line 930)
** @return mixed[]*/public function getSingleColumnResult(){return $this->execute(null, self::HYDRATE_SCALAR_COLUMN);}/*** Gets the scalar results for the query.*
$language = $this->em->createQueryBuilder()->select('l.id')->from(Languages::class, 'l')->where('l.code = :code')->setParameter('code', $locale)->getQuery()->getSingleColumnResult();if (!empty($language))$languageId = $language[0];$session->set('langIds', [$locale => $languageId]);
BaseControllerService->getLanguageId(object(Session), 'en')
in
src/Controller/CatalogueController.php
(line 52)
'page' => '\d+',],)]public function index(Request $request, Session $session, Security $security, BaseControllerService $baseControllerService, $projectDir, $page = 0): Response{$this->languageId = $baseControllerService->getLanguageId($session, $request->getLocale());$pageCatalogue = $this->cache->get('CatalogueController.index', function ($item) {$item->expiresAfter(Utils::getCacheTTL($this->appEnv)); // 10 minutesreturn $this->em->getRepository(PageCatalogue::class)->find(1);});
in
vendor/symfony/http-kernel/HttpKernel.php
->
index
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
PDOException
in
vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php
(line 25)
#[SensitiveParameter]string $password,array $options): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
in
vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php
->
__construct
(line 25)
#[SensitiveParameter]string $password,array $options): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
->
doConnect
(line 36)
$safeParams = $params;unset($safeParams['password'], $safeParams['url']);try {$pdo = $this->doConnect($this->constructPdoDsn($safeParams),$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 34)
array $params) {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 37)
parent::__construct($driver);}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/public function connect(#[SensitiveParameter]array $params) {return $this->wrappedDriver->connect($params);}/*** {@inheritDoc}*/
in
vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php
->
connect
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 383)
if ($this->_conn !== null) {return false;}try {$this->_conn = $this->_driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 1692)
'https://github.com/doctrine/dbal/issues/4966','Connection::getWrappedConnection() is deprecated.'. ' Use Connection::getNativeConnection() to access the native connection.',);$this->connect();return $this->_conn;}/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1087)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->getWrappedConnection();$logger = $this->_config->getSQLLogger();if ($logger !== null) {$logger->startQuery($sql, $params, $types);}
in
vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php
->
executeQuery
(line 31)
* @param list<mixed>|array<string, mixed> $params* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types*/public function execute(Connection $conn, array $params, array $types): Result{return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);}}
in
vendor/doctrine/orm/src/Query.php
->
execute
(line 330)
$sqlParams,$types,$this->_em->getConnection()->getParams());return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}/*** @param array<string,mixed> $sqlParams* @param array<string,Type> $types
in
vendor/doctrine/orm/src/AbstractQuery.php
->
_doExecute
(line 1213)
$setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {$cache->save($cacheItem->set($result + [$realCacheKey => $data]));};}$stmt = $this->_doExecute();if (is_numeric($stmt)) {$setCacheEntry($stmt);return $stmt;
in
vendor/doctrine/orm/src/AbstractQuery.php
->
executeIgnoreQueryCache
(line 1167)
{if ($this->cacheable && $this->isCacheEnabled()) {return $this->executeUsingQueryCache($parameters, $hydrationMode);}return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}/*** Execute query ignoring second level cache.*
in
vendor/doctrine/orm/src/AbstractQuery.php
->
execute
(line 930)
** @return mixed[]*/public function getSingleColumnResult(){return $this->execute(null, self::HYDRATE_SCALAR_COLUMN);}/*** Gets the scalar results for the query.*
$language = $this->em->createQueryBuilder()->select('l.id')->from(Languages::class, 'l')->where('l.code = :code')->setParameter('code', $locale)->getQuery()->getSingleColumnResult();if (!empty($language))$languageId = $language[0];$session->set('langIds', [$locale => $languageId]);
BaseControllerService->getLanguageId(object(Session), 'en')
in
src/Controller/CatalogueController.php
(line 52)
'page' => '\d+',],)]public function index(Request $request, Session $session, Security $security, BaseControllerService $baseControllerService, $projectDir, $page = 0): Response{$this->languageId = $baseControllerService->getLanguageId($session, $request->getLocale());$pageCatalogue = $this->cache->get('CatalogueController.index', function ($item) {$item->expiresAfter(Utils::getCacheTTL($this->appEnv)); // 10 minutesreturn $this->em->getRepository(PageCatalogue::class)->find(1);});
in
vendor/symfony/http-kernel/HttpKernel.php
->
index
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| DEBUG 13:11:59 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/home/crartak/test/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 303,
"trace": [
{
"file": "/home/crartak/test/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
"line": 136,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 8
}
}
|
| INFO 13:11:59 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "777402"
},
"request_uri": "https://www.test.cr-art-auctions.be/_profiler/777402?panel=exception&type=request",
"method": "GET"
}
|
| INFO 13:11:59 | deprecation |
User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:77 called by App_KernelDevDebugContainer.php:1298, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
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:112
at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), null)
(vendor/doctrine/dbal/src/Connection.php:1976)
at Doctrine\DBAL\Connection->handleDriverException(object(Exception), null)
(vendor/doctrine/dbal/src/Connection.php:1924)
at Doctrine\DBAL\Connection->convertException(object(Exception))
(vendor/doctrine/dbal/src/Connection.php:385)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:1692)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/src/Connection.php:1087)
at Doctrine\DBAL\Connection->executeQuery('SELECT l0_.id AS id_0 FROM languages l0_ WHERE l0_.code = ?', array('en'), array(2), null)
(vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:31)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute(object(Connection), array('en'), array(2))
(vendor/doctrine/orm/src/Query.php:330)
at Doctrine\ORM\Query->_doExecute()
(vendor/doctrine/orm/src/AbstractQuery.php:1213)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(null, 6)
(vendor/doctrine/orm/src/AbstractQuery.php:1167)
at Doctrine\ORM\AbstractQuery->execute(null, 6)
(vendor/doctrine/orm/src/AbstractQuery.php:930)
at Doctrine\ORM\AbstractQuery->getSingleColumnResult()
(src/Service/BaseControllerService.php:148)
at App\Service\BaseControllerService->getLanguageId(object(Session), 'en')
(src/Controller/CatalogueController.php:52)
at App\Controller\CatalogueController->index(object(Request), object(Session), object(Security), object(BaseControllerService), '/home/crartak/test', '46179')
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:193)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/home/crartak/test/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:24
at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:43)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Logging/Driver.php:34)
at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'crartaktest.mysql.db', 'port' => 3306, 'user' => 'crartaktest', 'password' => 'iRPnl958T7wHiU8W', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'crartaktest', 'charset' => 'utf8mb4', 'serverVersion' => '13'))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'crartaktest.mysql.db', 'port' => 3306, 'user' => 'crartaktest', 'password' => 'iRPnl958T7wHiU8W', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'crartaktest', 'charset' => 'utf8mb4', 'serverVersion' => '13'))
(vendor/doctrine/dbal/src/Connection.php:383)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:1692)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/src/Connection.php:1087)
at Doctrine\DBAL\Connection->executeQuery('SELECT l0_.id AS id_0 FROM languages l0_ WHERE l0_.code = ?', array('en'), array(2), null)
(vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:31)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute(object(Connection), array('en'), array(2))
(vendor/doctrine/orm/src/Query.php:330)
at Doctrine\ORM\Query->_doExecute()
(vendor/doctrine/orm/src/AbstractQuery.php:1213)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(null, 6)
(vendor/doctrine/orm/src/AbstractQuery.php:1167)
at Doctrine\ORM\AbstractQuery->execute(null, 6)
(vendor/doctrine/orm/src/AbstractQuery.php:930)
at Doctrine\ORM\AbstractQuery->getSingleColumnResult()
(src/Service/BaseControllerService.php:148)
at App\Service\BaseControllerService->getLanguageId(object(Session), 'en')
(src/Controller/CatalogueController.php:52)
at App\Controller\CatalogueController->index(object(Request), object(Session), object(Security), object(BaseControllerService), '/home/crartak/test', '46179')
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:193)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/home/crartak/test/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[1/3]
PDOException
|
|---|
PDOException:
SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:25
at PDO->__construct('mysql:host=crartaktest.mysql.db;port=3306;dbname=crartaktest;charset=utf8mb4;', 'crartaktest', object(SensitiveParameterValue), array())
(vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:25)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->doConnect(object(SensitiveParameterValue), 'crartaktest', object(SensitiveParameterValue), array())
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:36)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Logging/Driver.php:34)
at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'crartaktest.mysql.db', 'port' => 3306, 'user' => 'crartaktest', 'password' => 'iRPnl958T7wHiU8W', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'crartaktest', 'charset' => 'utf8mb4', 'serverVersion' => '13'))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'crartaktest.mysql.db', 'port' => 3306, 'user' => 'crartaktest', 'password' => 'iRPnl958T7wHiU8W', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'crartaktest', 'charset' => 'utf8mb4', 'serverVersion' => '13'))
(vendor/doctrine/dbal/src/Connection.php:383)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:1692)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/src/Connection.php:1087)
at Doctrine\DBAL\Connection->executeQuery('SELECT l0_.id AS id_0 FROM languages l0_ WHERE l0_.code = ?', array('en'), array(2), null)
(vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:31)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute(object(Connection), array('en'), array(2))
(vendor/doctrine/orm/src/Query.php:330)
at Doctrine\ORM\Query->_doExecute()
(vendor/doctrine/orm/src/AbstractQuery.php:1213)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(null, 6)
(vendor/doctrine/orm/src/AbstractQuery.php:1167)
at Doctrine\ORM\AbstractQuery->execute(null, 6)
(vendor/doctrine/orm/src/AbstractQuery.php:930)
at Doctrine\ORM\AbstractQuery->getSingleColumnResult()
(src/Service/BaseControllerService.php:148)
at App\Service\BaseControllerService->getLanguageId(object(Session), 'en')
(src/Controller/CatalogueController.php:52)
at App\Controller\CatalogueController->index(object(Request), object(Session), object(Security), object(BaseControllerService), '/home/crartak/test', '46179')
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:193)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/home/crartak/test/vendor/autoload_runtime.php')
(public/index.php:5)
|