Error 500 Internal Server Error

GET https://salsindustrial.com/

Forwarded to ErrorController (fc7157)

Exceptions

An exception occurred in the driver: SQLSTATE[HY000] [2005] Unknown server host 'salsindu1621_boss' (-2)

Exceptions 3

Doctrine\DBAL\Exception\ ConnectionException

Show exception properties
Doctrine\DBAL\Exception\ConnectionException {#3144
  -query: null
}
  1. 1227,
  2. 1370,
  3. 1429,
  4. 2002,
  5. 2005,
  6. 2054 => new ConnectionException($exception, $query),
  7. 2006,
  8. 4031 => new ConnectionLost($exception, $query),
  9. 1048,
  10. 1121,
  11. 1138,
  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 1402)
  1. }
  2. /** @internal */
  3. final public function convertException(Driver\Exception $e): DriverException
  4. {
  5. return $this->handleDriverException($e, null);
  6. }
  7. /**
  8. * @param list<mixed>|array<string, mixed> $params
  9. * @phpstan-param WrapperParameterTypeArray $types
in vendor/doctrine/dbal/src/Connection.php -> convertException (line 224)
  1. }
  2. try {
  3. $connection = $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. ): Result {
  2. if ($qcp !== null) {
  3. return $this->executeCacheQuery($sql, $params, $types, $qcp);
  4. }
  5. $connection = $this->connect();
  6. try {
  7. if (count($params) > 0) {
  8. [$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. *
  2. * @phpstan-param string|AbstractQuery::HYDRATE_* $hydrationMode
  3. */
  4. public function getResult(string|int $hydrationMode = self::HYDRATE_OBJECT): mixed
  5. {
  6. return $this->execute(null, $hydrationMode);
  7. }
  8. /**
  9. * Gets the array of results for the query.
  10. *
AbstractQuery->getResult() in src/Repository/ProductRepository.php (line 31)
  1. // ->andWhere('p.category in (2)')
  2. ->setParameter('active', true)
  3. ->setParameter('featured', true)
  4. ->setMaxResults($limit)
  5. ->getQuery()
  6. ->getResult();
  7. }
  8. // /**
  9. // * @return Product[] Returns an array of Product objects
  10. // */
ProductRepository->findFeaturedWithImages() in src/Controller/HomeController.php (line 26)
  1. #[Route('/', name: 'app_home')]
  2. public function index(): Response
  3. {
  4. $rs = $this->em->getRepository(Product::class)->findFeaturedWithImages();
  5. shuffle($rs);
  6. $images = array_slice($rs, 0, 7);
  7. // dd($rs);
  8. $categories = $this->em->getRepository(Category::class)->findBy(['isActive' => true],['orden' => 'ASC']);
  9. return $this->render('home/index.html.twig', [
  1. $this->dispatcher->dispatch($event, KernelEvents::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, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/salsindu1621/vendor/autoload_runtime.php') in public_html/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] [2005] Unknown server host 'salsindu1621_boss' (-2)

  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. ): DriverConnection {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform
  9. {
  10. return $this->wrappedDriver->getDatabasePlatform($versionProvider);
  1. array $params,
  2. ): Connection {
  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. ): DriverConnection {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform
  9. {
  10. return $this->wrappedDriver->getDatabasePlatform($versionProvider);
  1. parent::__construct($driver);
  2. }
  3. public function connect(array $params): ConnectionInterface
  4. {
  5. $connection = parent::connect($params);
  6. return new Connection(
  7. $connection,
  8. $this->debugDataHolder,
  9. $this->stopwatch,
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params,
  5. ): DriverConnection {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform
  9. {
  10. return $this->wrappedDriver->getDatabasePlatform($versionProvider);
  1. }
  2. public function connect(array $params): ConnectionInterface
  3. {
  4. $timestamp = time();
  5. $connection = parent::connect($params);
  6. $this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;
  7. return $connection;
  8. }
  9. }
  1. if ($this->_conn !== null) {
  2. return $this->_conn;
  3. }
  4. try {
  5. $connection = $this->_conn = $this->driver->connect($this->params);
  6. } catch (Driver\Exception $e) {
  7. throw $this->convertException($e);
  8. }
  9. if ($this->autoCommit === false) {
  1. ): Result {
  2. if ($qcp !== null) {
  3. return $this->executeCacheQuery($sql, $params, $types, $qcp);
  4. }
  5. $connection = $this->connect();
  6. try {
  7. if (count($params) > 0) {
  8. [$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. *
  2. * @phpstan-param string|AbstractQuery::HYDRATE_* $hydrationMode
  3. */
  4. public function getResult(string|int $hydrationMode = self::HYDRATE_OBJECT): mixed
  5. {
  6. return $this->execute(null, $hydrationMode);
  7. }
  8. /**
  9. * Gets the array of results for the query.
  10. *
AbstractQuery->getResult() in src/Repository/ProductRepository.php (line 31)
  1. // ->andWhere('p.category in (2)')
  2. ->setParameter('active', true)
  3. ->setParameter('featured', true)
  4. ->setMaxResults($limit)
  5. ->getQuery()
  6. ->getResult();
  7. }
  8. // /**
  9. // * @return Product[] Returns an array of Product objects
  10. // */
ProductRepository->findFeaturedWithImages() in src/Controller/HomeController.php (line 26)
  1. #[Route('/', name: 'app_home')]
  2. public function index(): Response
  3. {
  4. $rs = $this->em->getRepository(Product::class)->findFeaturedWithImages();
  5. shuffle($rs);
  6. $images = array_slice($rs, 0, 7);
  7. // dd($rs);
  8. $categories = $this->em->getRepository(Category::class)->findBy(['isActive' => true],['orden' => 'ASC']);
  9. return $this->render('home/index.html.twig', [
  1. $this->dispatcher->dispatch($event, KernelEvents::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, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/salsindu1621/vendor/autoload_runtime.php') in public_html/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] [2005] Unknown server host 'salsindu1621_boss' (-2)

  1. ): PDO {
  2. if (PHP_VERSION_ID < 80400) {
  3. return new PDO($dsn, $username, $password, $options);
  4. }
  5. return PDO::connect($dsn, $username, $password, $options);
  6. }
  7. }
  1. ): PDO {
  2. if (PHP_VERSION_ID < 80400) {
  3. return new PDO($dsn, $username, $password, $options);
  4. }
  5. return PDO::connect($dsn, $username, $password, $options);
  6. }
  7. }
  1. $safeParams = $params;
  2. unset($safeParams['password']);
  3. try {
  4. $pdo = $this->doConnect(
  5. $this->constructPdoDsn($safeParams),
  6. $params['user'] ?? '',
  7. $params['password'] ?? '',
  8. $driverOptions,
  9. );
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params,
  5. ): DriverConnection {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform
  9. {
  10. return $this->wrappedDriver->getDatabasePlatform($versionProvider);
  1. array $params,
  2. ): Connection {
  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. ): DriverConnection {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform
  9. {
  10. return $this->wrappedDriver->getDatabasePlatform($versionProvider);
  1. parent::__construct($driver);
  2. }
  3. public function connect(array $params): ConnectionInterface
  4. {
  5. $connection = parent::connect($params);
  6. return new Connection(
  7. $connection,
  8. $this->debugDataHolder,
  9. $this->stopwatch,
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params,
  5. ): DriverConnection {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform
  9. {
  10. return $this->wrappedDriver->getDatabasePlatform($versionProvider);
  1. }
  2. public function connect(array $params): ConnectionInterface
  3. {
  4. $timestamp = time();
  5. $connection = parent::connect($params);
  6. $this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;
  7. return $connection;
  8. }
  9. }
  1. if ($this->_conn !== null) {
  2. return $this->_conn;
  3. }
  4. try {
  5. $connection = $this->_conn = $this->driver->connect($this->params);
  6. } catch (Driver\Exception $e) {
  7. throw $this->convertException($e);
  8. }
  9. if ($this->autoCommit === false) {
  1. ): Result {
  2. if ($qcp !== null) {
  3. return $this->executeCacheQuery($sql, $params, $types, $qcp);
  4. }
  5. $connection = $this->connect();
  6. try {
  7. if (count($params) > 0) {
  8. [$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. *
  2. * @phpstan-param string|AbstractQuery::HYDRATE_* $hydrationMode
  3. */
  4. public function getResult(string|int $hydrationMode = self::HYDRATE_OBJECT): mixed
  5. {
  6. return $this->execute(null, $hydrationMode);
  7. }
  8. /**
  9. * Gets the array of results for the query.
  10. *
AbstractQuery->getResult() in src/Repository/ProductRepository.php (line 31)
  1. // ->andWhere('p.category in (2)')
  2. ->setParameter('active', true)
  3. ->setParameter('featured', true)
  4. ->setMaxResults($limit)
  5. ->getQuery()
  6. ->getResult();
  7. }
  8. // /**
  9. // * @return Product[] Returns an array of Product objects
  10. // */
ProductRepository->findFeaturedWithImages() in src/Controller/HomeController.php (line 26)
  1. #[Route('/', name: 'app_home')]
  2. public function index(): Response
  3. {
  4. $rs = $this->em->getRepository(Product::class)->findFeaturedWithImages();
  5. shuffle($rs);
  6. $images = array_slice($rs, 0, 7);
  7. // dd($rs);
  8. $categories = $this->em->getRepository(Category::class)->findBy(['isActive' => true],['orden' => 'ASC']);
  9. return $this->render('home/index.html.twig', [
  1. $this->dispatcher->dispatch($event, KernelEvents::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, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/salsindu1621/vendor/autoload_runtime.php') in public_html/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
INFO 20:17:38 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:17:38 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:17:38 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "2887a4"
    },
    "request_uri": "https://salsindustrial.com/_profiler/2887a4?panel=exception&type=request",
    "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)