Error 500 Internal Server Error

GET https://library.freie-volksmission.de/en/r/PnOY5wXN5Hk

Forwarded to ErrorController (b3baaf)

LibraryController :: Record

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\LibraryController::Record"
_firewall_context
"security.firewall.map.context.main"
_locale
"en"
_remove_csp_headers
true
_route
"record"
_route_params
[
  "languageCode" => null
  "_locale" => "en"
  "recordId" => "PnOY5wXN5Hk"
]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#500
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#441 …}
  }
]
_stopwatch_token
"17da12"
languageCode
null
recordId
"PnOY5wXN5Hk"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
from
"gptbot(at)openai.com"
host
"library.freie-volksmission.de"
referer
"https://library.freie-volksmission.de/en/r/K6t7AQ"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
x-openai-host-hash
"304915473"
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
"Tue, 20 Jan 2026 12:20:37 GMT"
set-cookie
[
  "main_deauth_profile_token=b3baaf; path=/; secure; httponly; samesite=lax"
  "main_auth_profile_token=deleted; expires=Mon, 20 Jan 2025 12:20:36 GMT; Max-Age=0; path=/; httponly"
]
vary
"Accept"
x-debug-exception
"App%5CController%5CLibraryController%3A%3ARecordById%28%29%3A%20Return%20value%20must%20be%20of%20type%20Symfony%5CComponent%5CHttpFoundation%5CResponse%2C%20Symfony%5CComponent%5CHttpKernel%5CException%5CNotFoundHttpException%20returned"
x-debug-exception-file
"%2Fvar%2Fwww%2Flibrary%2Fsrc%2FController%2FLibraryController.php:84"
x-debug-token
"39da30"
x-debug-token-link
"https://library.freie-volksmission.de/_profiler/b3baaf"
x-previous-debug-token
"b3baaf"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

Key Value
main_auth_profile_token
Symfony\Component\HttpFoundation\Cookie {#931
  #expire: 1
  #path: "/"
  -sameSite: null
  -secureDefault: true
  #name: "main_auth_profile_token"
  #value: null
  #domain: null
  #secure: false
  #httpOnly: true
  -raw: false
  -partitioned: false
}
main_deauth_profile_token
Symfony\Component\HttpFoundation\Cookie {#148
  #expire: 0
  #path: "/"
  -sameSite: "lax"
  -secureDefault: true
  #name: "main_deauth_profile_token"
  #value: "b3baaf"
  #domain: null
  #secure: null
  #httpOnly: true
  -raw: false
  -partitioned: false
}

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

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_ENV
"dev"
APP_SECRET
"cccd58c185e71feb32e9c567c16d43f5"
APP_SHARE_DIR
"var/share"
DEFAULT_URI
"http://localhost"
MYSQL_DATABASE
"archive"
MYSQL_HOSTNAME
"localhost"
MYSQL_PASSWORD
"pw4archive"
MYSQL_USERNAME
"root"
USERS_JSON_PATH
"%kernel.project_dir%/var/users.json"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/var/www/library"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/library"
]
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/library/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"library.freie-volksmission.de"
HTTP_REFERER
"https://library.freie-volksmission.de/en/r/K6t7AQ"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
HTTP_X_OPENAI_HOST_HASH
"304915473"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"74.7.227.60"
REMOTE_PORT
"60878"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1768911637
REQUEST_TIME_FLOAT
1768911637.8378
REQUEST_URI
"/en/r/PnOY5wXN5Hk"
SCRIPT_FILENAME
"/var/www/library/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"46.38.253.243"
SERVER_NAME
"library.*"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SOFTWARE
"nginx/1.28.0"
SYMFONY_DOTENV_PATH
"/var/www/library/.env"
SYMFONY_DOTENV_VARS
"MYSQL_HOSTNAME,MYSQL_USERNAME,MYSQL_PASSWORD,MYSQL_DATABASE,USERS_JSON_PATH,APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI"
USER
"www-data"

Sub Requests 1

ErrorController (token = b3baaf)

Key Value
_controller
"error_controller"
_stopwatch_token
"07329a"
_vary_by_language
true
exception
TypeError {#634
  #message: "App\Controller\LibraryController::RecordById(): Return value must be of type Symfony\Component\HttpFoundation\Response, Symfony\Component\HttpKernel\Exception\NotFoundHttpException returned"
  #code: 0
  #file: "/var/www/library/src/Controller/LibraryController.php"
  #line: 84
  trace: {
    /var/www/library/src/Controller/LibraryController.php:84 {
      App\Controller\LibraryController->RecordById(Request $request, DatabaseService $databaseService, int $recordId, ?string $languageCode = null): Response …
      › if ($record === null || ($languageCode === null && (!$record->Languages || count($record->Languages) <= 0)))\r    return $this->createNotFoundException('The record does not exit');\r\r
    }
    /var/www/library/src/Controller/LibraryController.php:133 {
      App\Controller\LibraryController->Record(Request $request, DatabaseService $databaseService, string $recordId, ?string $languageCode = null): Response …
      › \r    return $this->RecordById($request, $databaseService, $id, $languageCode);\r}\r
    }
    /var/www/library/vendor/symfony/http-kernel/HttpKernel.php:183 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/library/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/library/vendor/symfony/http-kernel/Kernel.php:191 {
      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 {
    }
    /var/www/library/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/library/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/library/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/library/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#50
  -records: [
    2 => [
      [
        "timestamp" => 1768911637
        "timestamp_rfc3339" => "2026-01-20T12:20:37.842+00:00"
        "message" => "User Notice: Install the curl extension or run "composer require amphp/http-client:^5" to perform async HTTP operations, including full HTTP/2 support"
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#171
            +count: 1
            -severity: E_USER_NOTICE
            trace: {
              /var/www/library/vendor/symfony/http-client/HttpClient.php:64 {
                Symfony\Component\HttpClient\HttpClient::create(array $defaultOptions = [], int $maxHostConnections = 6, int $maxPendingPushes = 50): HttpClientInterface …
                › 
                › @trigger_error((\extension_loaded('curl') ? 'Upgrade' : 'Install').' the curl extension or run "composer require amphp/http-client:^5" to perform async HTTP operations, including full HTTP/2 support', \E_USER_NOTICE);}
              /var/www/library/var/cache/dev/ContainerHoHGkxs/App_KernelDevDebugContainer.php:1264 {{    $container->privates['http_client.transport'] = $instance = \Symfony\Component\HttpClient\HttpClient::create([], 6);}
            }
          }
        ]
        "channel" => "php"
      ]
      [
        "timestamp" => 1768911637
        "timestamp_rfc3339" => "2026-01-20T12:20:37.844+00:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "record"
          "route_parameters" => [
            "_route" => "record"
            "languageCode" => null
            "_controller" => "App\Controller\LibraryController::Record"
            "_locale" => "en"
            "recordId" => "PnOY5wXN5Hk"
          ]
          "request_uri" => "https://library.freie-volksmission.de/en/r/PnOY5wXN5Hk"
          "method" => "GET"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1768911637
        "timestamp_rfc3339" => "2026-01-20T12:20:37.845+00:00"
        "message" => "Checking for authenticator support."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticators" => 1
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1768911637
        "timestamp_rfc3339" => "2026-01-20T12:20:37.845+00:00"
        "message" => "Checking support on authenticator."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticator" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1768911637
        "timestamp_rfc3339" => "2026-01-20T12:20:37.845+00:00"
        "message" => "Authenticator does not support the request."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticator" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1768911637
        "timestamp_rfc3339" => "2026-01-20T12:20:37.847+00:00"
        "message" => "Uncaught PHP Exception TypeError: "App\Controller\LibraryController::RecordById(): Return value must be of type Symfony\Component\HttpFoundation\Response, Symfony\Component\HttpKernel\Exception\NotFoundHttpException returned" at LibraryController.php line 84"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => TypeError {#634
            #message: "App\Controller\LibraryController::RecordById(): Return value must be of type Symfony\Component\HttpFoundation\Response, Symfony\Component\HttpKernel\Exception\NotFoundHttpException returned"
            #code: 0
            #file: "/var/www/library/src/Controller/LibraryController.php"
            #line: 84
            trace: {
              /var/www/library/src/Controller/LibraryController.php:84 {
                App\Controller\LibraryController->RecordById(Request $request, DatabaseService $databaseService, int $recordId, ?string $languageCode = null): Response …
                › if ($record === null || ($languageCode === null && (!$record->Languages || count($record->Languages) <= 0)))\r    return $this->createNotFoundException('The record does not exit');\r\r
              }
              /var/www/library/src/Controller/LibraryController.php:133 {
                App\Controller\LibraryController->Record(Request $request, DatabaseService $databaseService, string $recordId, ?string $languageCode = null): Response …
                › \r    return $this->RecordById($request, $databaseService, $id, $languageCode);\r}\r
              }
              /var/www/library/vendor/symfony/http-kernel/HttpKernel.php:183 {
                Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
                › // call controller$response = $controller(...$arguments);}
              /var/www/library/vendor/symfony/http-kernel/HttpKernel.php:76 {
                Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
              }
              /var/www/library/vendor/symfony/http-kernel/Kernel.php:191 {
                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 {
              }
              /var/www/library/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);}
              /var/www/library/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /var/www/library/public/index.php:5 {
                › 
                › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
                  "/var/www/library/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    2 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#49 …}
}