Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
Show exception properties
Doctrine\DBAL\Exception\ConnectionException {#3144 -query: null }
1227,1370,1429,2002,2005,2054 => new ConnectionException($exception, $query),2006,4031 => new ConnectionLost($exception, $query),1048,1121,1138,
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1460)
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 1402)
}/** @internal */final public function convertException(Driver\Exception $e): DriverException{return $this->handleDriverException($e, null);}/*** @param list<mixed>|array<string, mixed> $params* @phpstan-param WrapperParameterTypeArray $types
in
vendor/doctrine/dbal/src/Connection.php
->
convertException
(line 224)
}try {$connection = $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 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
in
vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php
->
executeQuery
(line 27)
/*** {@inheritDoc}*/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 296)
$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 930)
$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 886)
): mixed {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 688)
** @phpstan-param string|AbstractQuery::HYDRATE_* $hydrationMode*/public function getResult(string|int $hydrationMode = self::HYDRATE_OBJECT): mixed{return $this->execute(null, $hydrationMode);}/*** Gets the array of results for the query.*
// ->andWhere('p.category in (2)')->setParameter('active', true)->setParameter('featured', true)->setMaxResults($limit)->getQuery()->getResult();}// /**// * @return Product[] Returns an array of Product objects// */
#[Route('/', name: 'app_home')]public function index(): Response{$rs = $this->em->getRepository(Product::class)->findFeaturedWithImages();shuffle($rs);$images = array_slice($rs, 0, 7);// dd($rs);$categories = $this->em->getRepository(Category::class)->findBy(['isActive' => true],['orden' => 'ASC']);return $this->render('home/index.html.twig', [
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 191)
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 52)
$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 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 30)
array $params,): Connection {$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 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
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);return new Connection($connection,$this->debugDataHolder,$this->stopwatch,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
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 222)
if ($this->_conn !== null) {return $this->_conn;}try {$connection = $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 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
in
vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php
->
executeQuery
(line 27)
/*** {@inheritDoc}*/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 296)
$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 930)
$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 886)
): mixed {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 688)
** @phpstan-param string|AbstractQuery::HYDRATE_* $hydrationMode*/public function getResult(string|int $hydrationMode = self::HYDRATE_OBJECT): mixed{return $this->execute(null, $hydrationMode);}/*** Gets the array of results for the query.*
// ->andWhere('p.category in (2)')->setParameter('active', true)->setParameter('featured', true)->setMaxResults($limit)->getQuery()->getResult();}// /**// * @return Product[] Returns an array of Product objects// */
#[Route('/', name: 'app_home')]public function index(): Response{$rs = $this->em->getRepository(Product::class)->findFeaturedWithImages();shuffle($rs);$images = array_slice($rs, 0, 7);// dd($rs);$categories = $this->em->getRepository(Category::class)->findBy(['isActive' => true],['orden' => 'ASC']);return $this->render('home/index.html.twig', [
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 191)
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 28)
): 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
::
connect
(line 28)
): 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 45)
$safeParams = $params;unset($safeParams['password']);try {$pdo = $this->doConnect($this->constructPdoDsn($safeParams),$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 30)
array $params,): Connection {$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 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
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);return new Connection($connection,$this->debugDataHolder,$this->stopwatch,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
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 222)
if ($this->_conn !== null) {return $this->_conn;}try {$connection = $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 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
in
vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php
->
executeQuery
(line 27)
/*** {@inheritDoc}*/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 296)
$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 930)
$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 886)
): mixed {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 688)
** @phpstan-param string|AbstractQuery::HYDRATE_* $hydrationMode*/public function getResult(string|int $hydrationMode = self::HYDRATE_OBJECT): mixed{return $this->execute(null, $hydrationMode);}/*** Gets the array of results for the query.*
// ->andWhere('p.category in (2)')->setParameter('active', true)->setParameter('featured', true)->setMaxResults($limit)->getQuery()->getResult();}// /**// * @return Product[] Returns an array of Product objects// */
#[Route('/', name: 'app_home')]public function index(): Response{$rs = $this->em->getRepository(Product::class)->findFeaturedWithImages();shuffle($rs);$images = array_slice($rs, 0, 7);// dd($rs);$categories = $this->em->getRepository(Category::class)->findBy(['isActive' => true],['orden' => 'ASC']);return $this->render('home/index.html.twig', [
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 191)
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 |
|---|---|---|
| INFO 20:13:01 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. {
"exception": {}
}
|
| INFO 20:13:01 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead. {
"exception": {}
}
|
| INFO 20:13:01 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "fc7157"
},
"request_uri": "https://salsindustrial.com/_profiler/fc7157",
"method": "GET"
}
|
Stack Traces 3
|
[3/3]
ConnectionException
|
|---|
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in the driver: SQLSTATE[HY000] [2005] Unknown server host 'salsindu1621_boss' (-2)
at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:91
at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
(vendor/doctrine/dbal/src/Connection.php:1460)
at Doctrine\DBAL\Connection->handleDriverException()
(vendor/doctrine/dbal/src/Connection.php:1402)
at Doctrine\DBAL\Connection->convertException()
(vendor/doctrine/dbal/src/Connection.php:224)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery()
(vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
(vendor/doctrine/orm/src/Query.php:296)
at Doctrine\ORM\Query->_doExecute()
(vendor/doctrine/orm/src/AbstractQuery.php:930)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
(vendor/doctrine/orm/src/AbstractQuery.php:886)
at Doctrine\ORM\AbstractQuery->execute()
(vendor/doctrine/orm/src/AbstractQuery.php:688)
at Doctrine\ORM\AbstractQuery->getResult()
(src/Repository/ProductRepository.php:31)
at App\Repository\ProductRepository->findFeaturedWithImages()
(src/Controller/HomeController.php:26)
at App\Controller\HomeController->index()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:191)
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:32)
at require_once('/home/salsindu1621/vendor/autoload_runtime.php')
(public_html/index.php:5)
|
|
[2/3]
Exception
|
|---|
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [2005] Unknown server host 'salsindu1621_boss' (-2)
at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
at Doctrine\DBAL\Driver\PDO\Exception::new()
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:52)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/doctrine/dbal/src/Logging/Driver.php:30)
at Doctrine\DBAL\Logging\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
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/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect()
(vendor/doctrine/dbal/src/Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery()
(vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
(vendor/doctrine/orm/src/Query.php:296)
at Doctrine\ORM\Query->_doExecute()
(vendor/doctrine/orm/src/AbstractQuery.php:930)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
(vendor/doctrine/orm/src/AbstractQuery.php:886)
at Doctrine\ORM\AbstractQuery->execute()
(vendor/doctrine/orm/src/AbstractQuery.php:688)
at Doctrine\ORM\AbstractQuery->getResult()
(src/Repository/ProductRepository.php:31)
at App\Repository\ProductRepository->findFeaturedWithImages()
(src/Controller/HomeController.php:26)
at App\Controller\HomeController->index()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:191)
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:32)
at require_once('/home/salsindu1621/vendor/autoload_runtime.php')
(public_html/index.php:5)
|
|
[1/3]
PDOException
|
|---|
PDOException:
SQLSTATE[HY000] [2005] Unknown server host 'salsindu1621_boss' (-2)
at vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:28
at PDO::connect()
(vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:28)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->doConnect()
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:45)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/doctrine/dbal/src/Logging/Driver.php:30)
at Doctrine\DBAL\Logging\Driver->connect()
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
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/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect()
(vendor/doctrine/dbal/src/Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery()
(vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
(vendor/doctrine/orm/src/Query.php:296)
at Doctrine\ORM\Query->_doExecute()
(vendor/doctrine/orm/src/AbstractQuery.php:930)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
(vendor/doctrine/orm/src/AbstractQuery.php:886)
at Doctrine\ORM\AbstractQuery->execute()
(vendor/doctrine/orm/src/AbstractQuery.php:688)
at Doctrine\ORM\AbstractQuery->getResult()
(src/Repository/ProductRepository.php:31)
at App\Repository\ProductRepository->findFeaturedWithImages()
(src/Controller/HomeController.php:26)
at App\Controller\HomeController->index()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:191)
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:32)
at require_once('/home/salsindu1621/vendor/autoload_runtime.php')
(public_html/index.php:5)
|