Error 500 Internal Server Error

GET http://www.lifeinthecloud.fr/index.php/blog/qu-est-ce-qu-une-api

Forwarded to ErrorController (08311f)

BlogPostController :: post

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Application\Front\Controller\BlogPostController::post"
_route
"blog_post"
_route_params
[
  "slug" => "qu-est-ce-qu-une-api"
]
slug
"qu-est-ce-qu-une-api"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br"
content-length
"0"
content-type
""
from
"bingbot(at)microsoft.com"
host
"www.lifeinthecloud.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36"
x-forwarded-for
"172.31.0.3"
x-forwarded-host
"www.lifeinthecloud.fr"
x-forwarded-proto
"http"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 13 Dec 2025 02:19:35 GMT"
x-debug-token
"04e0c3"
x-debug-token-link
"http://www.lifeinthecloud.fr/index.php/_profiler/08311f"
x-previous-debug-token
"08311f"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Sat, 13 Dec 25 02:19:35 +0000"
Last used
"Sat, 13 Dec 25 02:19:35 +0000"
Lifetime
0

Session Attributes

Attribute Value
_locale
"fr"
_style
"light"

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"0"
DATABASE_URL
"postgresql://litc_user:krokro-vase-35@database:5432/litc?serverVersion=14&charset=utf8"
MAILER_DSN
"gmail+smtp://lifeinthecloud.contact@gmail.com:bqxbfewiznqcfbvl@default"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
PGADMIN_DEFAULT_PASSWORD
"Silo3-Stooge-Putdown"
POSTGRES_PASSWORD
"krokro-vase-35"
RECAPTCHA3_KEY
"6LcGXDQnAAAAAB3awEyF2jyGnlC61Vm4Y8WjMVSr"
RECAPTCHA3_SECRET
"6LcGXDQnAAAAALwB4fPUqyE3lLqEVykBCllqymqP"
WKHTMLTOIMAGE_PATH
"/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_ENV
"dev"
APP_SECRET
"ChangeMe"
AUTH_TYPE
""
COMPOSER_ALLOW_SUPERUSER
"1"
CONTENT_LENGTH
"0"
CONTENT_TYPE
""
DOCUMENT_ROOT
"/srv/app/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOME
"/home/www-data"
HOSTNAME
"cd557196975a"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_CONTENT_LENGTH
"0"
HTTP_FROM
"bingbot(at)microsoft.com"
HTTP_HOST
"www.lifeinthecloud.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36"
HTTP_X_FORWARDED_FOR
"172.31.0.3"
HTTP_X_FORWARDED_HOST
"www.lifeinthecloud.fr"
HTTP_X_FORWARDED_PROTO
"http"
MERCURE_JWT_SECRET
"ChangeThisMercureHubJWTSecretKey"
MERCURE_PUBLIC_URL
"https://:80/.well-known/mercure"
MERCURE_URL
"http://caddy/.well-known/mercure"
OLDPWD
"/srv/app/mailer"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.composer/vendor/bin"
PATH_INFO
"/blog/qu-est-ce-qu-une-api"
PATH_TRANSLATED
"/srv/app/public/blog/qu-est-ce-qu-une-api"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.2.28.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CS_FIXER_IGNORE_ENV
"1"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php/blog/qu-est-ce-qu-une-api"
PHP_SHA256
"af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91"
PHP_URL
"https://www.php.net/distributions/php-8.2.28.tar.xz"
PHP_VERSION
"8.2.28"
PWD
"/srv/app"
QUERY_STRING
""
REMOTE_ADDR
"172.31.0.3"
REMOTE_HOST
"172.31.0.3"
REMOTE_IDENT
""
REMOTE_PORT
"36686"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1765592375
REQUEST_TIME_FLOAT
1765592375.2132
REQUEST_URI
"/index.php/blog/qu-est-ce-qu-une-api"
SCRIPT_FILENAME
"/srv/app/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"www.lifeinthecloud.fr"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"Caddy/v2.9.1"
SHLVL
"2"
STABILITY
"stable"
SYMFONY_DOTENV_VARS
"MESSENGER_TRANSPORT_DSN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,RECAPTCHA3_KEY,RECAPTCHA3_SECRET,DATABASE_URL,MAILER_DSN,APP_DEBUG,POSTGRES_PASSWORD,PGADMIN_DEFAULT_PASSWORD"
SYMFONY_VERSION
"6.2.*"
USER
"www-data"
XDEBUG_MODE
"off"

Sub Requests 1

ErrorController (token = 08311f)

Key Value
_controller
"error_controller"
exception
Doctrine\DBAL\Exception\ConnectionException {#633
  #message: "An exception occurred in the driver: SQLSTATE[08006] [7] connection to server at "database" (172.31.0.7), port 5432 failed: FATAL:  password authentication failed for user "litc_user""
  #code: 7
  #file: "/srv/app/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php"
  #line: 77
  -previous: Doctrine\DBAL\Driver\PDO\Exception {#612 …}
  -query: null
  trace: {
    /srv/app/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:77 {
      Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert(Exception $exception, ?Query $query): DriverException …
      ›     case '08006':        return new ConnectionException($exception, $query);}
    }
    /srv/app/vendor/doctrine/dbal/src/Connection.php:1931 {
      Doctrine\DBAL\Connection->handleDriverException(Exception $driverException, ?Query $query): DriverException …
      › $this->exceptionConverter ??= $this->_driver->getExceptionConverter();$exception                  = $this->exceptionConverter->convert($driverException, $query);arguments: {
        $exception: Doctrine\DBAL\Driver\PDO\Exception {#612 …}
        $query: null
      }
    }
    /srv/app/vendor/doctrine/dbal/src/Connection.php:1880 {
      Doctrine\DBAL\Connection->convertException(Exception $e): DriverException …
      › {    return $this->handleDriverException($e, null);}
      arguments: {
        $driverException: Doctrine\DBAL\Driver\PDO\Exception {#612 …}
        $query: null
      }
    }
    /srv/app/vendor/doctrine/dbal/src/Connection.php:377 {
      Doctrine\DBAL\Connection->connect() …
      › } catch (Driver\Exception $e) {    throw $this->convertException($e);}
      arguments: {
        $e: Doctrine\DBAL\Driver\PDO\Exception {#612 …}
      }
    }
    /srv/app/vendor/doctrine/dbal/src/Connection.php:1648 {
      Doctrine\DBAL\Connection->getWrappedConnection() …
      › 
      › $this->connect();}
    /srv/app/vendor/doctrine/dbal/src/Connection.php:1075 {
      Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], QueryCacheProfile $qcp = null): Result …
      › 
      › $connection = $this->getWrappedConnection();}
    /srv/app/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php:31 {
      Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Connection $conn, array $params, array $types) …
      › {    return $conn->executeQuery($this->_sqlStatements, $params, $types, $this->queryCacheProfile);}
      arguments: {
        $sql: "SELECT p0_.id AS id_0, p0_.state AS state_1, p0_.published_at AS published_at_2, p0_.image_name AS image_name_3, p0_.created_at AS created_at_4, p0_.updated_at AS updated_at_5, c1_.id AS id_6, c1_.email AS email_7, c1_.password AS password_8, c1_.lastname AS lastname_9, c1_.firstname AS firstname_10, c1_.roles AS roles_11, c1_.created_at AS created_at_12, c1_.updated_at AS updated_at_13, p2_.title AS title_14, p2_.slug AS slug_15, p2_.id AS id_16, p2_.summary AS summary_17, p2_.content AS content_18, p2_.locale AS locale_19, p0_.author_id AS author_id_20, p2_.translatable_id AS translatable_id_21 FROM post p0_ INNER JOIN customer c1_ ON p0_.author_id = c1_.id LEFT JOIN post_translation p2_ ON p0_.id = p2_.translatable_id WHERE p2_.slug = ? AND p0_.published_at IS NOT NULL"
        $params: [ …1]
        $types: [ …1]
        $qcp: null
      }
    }
    /srv/app/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:325 {
      Doctrine\ORM\Query->_doExecute() …
      › 
      ›     return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}
      arguments: {
        $conn: Doctrine\DBAL\Connection {#531 …}
        $params: [ …1]
        $types: [ …1]
      }
    }
    /srv/app/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:1212 {
      Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache($parameters = null, $hydrationMode = null) …
      › 
      › $stmt = $this->_doExecute();}
    /srv/app/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:1166 {
      Doctrine\ORM\AbstractQuery->execute($parameters = null, $hydrationMode = null) …
      › 
      ›     return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}
      arguments: {
        $parameters: null
        $hydrationMode: null
      }
    }
    /srv/app/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:953 {
      Doctrine\ORM\AbstractQuery->getOneOrNullResult($hydrationMode = null) …
      › try {    $result = $this->execute(null, $hydrationMode);} catch (NoResultException $e) {
      arguments: {
        $parameters: null
        $hydrationMode: null
      }
    }
    /srv/app/src/Domain/BlogPost/Repository/PostRepository.php:43 {
      App\Domain\BlogPost\Repository\PostRepository->getBySlug(string $slug): Post …
      ›         ->getQuery()        ->getOneOrNullResult();}
    }
    /srv/app/src/Application/Front/Manager/BlogPostManager.php:24 {
      App\Application\Front\Manager\BlogPostManager->getBySlug(string $slug): Post …
      › {    return $this->postRepository->getBySlug($slug, 'fr');}
      arguments: {
        $slug: "qu-est-ce-qu-une-api"
        ...: {
          "fr"
        }
      }
    }
    /srv/app/src/Application/Front/Controller/BlogPostController.php:34 {
      App\Application\Front\Controller\BlogPostController->post(Request $request, string $slug): RedirectResponse …
      › {    $post = $this->blogPostManager->getBySlug($slug);arguments: {
        $slug: "qu-est-ce-qu-une-api"
      }
    }
    /srv/app/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#7 …}
        $slug: "qu-est-ce-qu-une-api"
      }
    }
    /srv/app/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Throwable $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#7 …}
        $type: 1
      }
    }
    /srv/app/vendor/symfony/http-kernel/Kernel.php:184 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#7 …}
        $type: 1
        $catch: true
      }
    }
    /srv/app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#7 …}
      }
    }
    /srv/app/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /srv/app/public/index.php:7 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/srv/app/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#150 …9}