Error 500 Internal Server Error

GET https://livis.uni-foundation.eu/

ExceptionAction

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"api_platform.action.exception"
_links
Symfony\Component\WebLink\GenericLinkProvider {#1208
  -links: [
    1223 => Symfony\Component\WebLink\Link {#1223
      -href: "https://livis.uni-foundation.eu/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_stopwatch_token
"28f13f"
exception
ErrorException {#788
  #message: "Warning: Undefined array key "_api_operation_name""
  #code: 0
  #file: "/var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/src/EventSubscriber/LivingCostStatisticsReadSubscriber.php"
  #line: 65
  #severity: E_WARNING
  trace: {
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/src/EventSubscriber/LivingCostStatisticsReadSubscriber.php:65 {
      App\EventSubscriber\LivingCostStatisticsReadSubscriber->onRead(ViewEvent $event): void …
      › $request = $event->getRequest();$apiMetricsPath = $request->attributes->get('_route_params')['_api_operation_name'];$method = $request->getMethod();
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › 
      › ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);}
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:127 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/symfony/http-kernel/HttpKernel.php:168 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › $event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);}
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/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) {
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/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 {
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#209 …8}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip"
authorization
""
connection
"close"
host
"livis.uni-foundation.eu"
user-agent
"Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"167.94.146.63"

Request Content

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

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/ld+json; charset=utf-8"
date
"Tue, 09 Jul 2024 23:06:51 GMT"
x-content-type-options
"nosniff"
x-debug-token
"564ac9"
x-frame-options
"deny"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

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
"!ChangeMe!"
CORS_ALLOW_ORIGIN
"*"
DATABASE_URL
"mysql://livis:j2Ipb4qB32avj^Ela@localhost:3306/livis?serverVersion=8&charset=utf8mb4"
JWT_PASSPHRASE
"daf2a63dc4b21aeabdf1d04bd8f31662a2ff1ad8466239162c27e6adbfff4bbb"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MERCURE_JWT_SECRET
"!ChangeThisMercureHubJWTSecretKey!"
MERCURE_PUBLIC_URL
"https://localhost/.well-known/mercure"
MERCURE_URL
"http://caddy/.well-known/mercure"
TRUSTED_HOSTS
"^livis.uni-foundation.eu$"
TRUSTED_PROXIES
"127.0.0.1"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/livis.uni-foundation.eu"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_AUTHORIZATION
""
HTTP_CONNECTION
"close"
HTTP_HOST
"livis.uni-foundation.eu"
HTTP_USER_AGENT
"Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"167.94.146.63"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_SCRIPT_URI
"https://livis.uni-foundation.eu/"
REDIRECT_SCRIPT_URL
"/"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Zo3Ciy-DhsB9Z9CIIRlhCwAAAEU"
REDIRECT_URL
"/"
REMOTE_ADDR
"167.94.146.63"
REMOTE_PORT
"34920"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1720566411
REQUEST_TIME_FLOAT
1720566411.6825
REQUEST_URI
"/"
SCRIPT_FILENAME
"/var/www/vhosts/livis.uni-foundation.eu/httpdocs/api/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://livis.uni-foundation.eu/"
SCRIPT_URL
"/"
SERVER_ADDR
"51.83.135.83"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"livis.uni-foundation.eu"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at livis.uni-foundation.eu Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,TRUSTED_PROXIES,TRUSTED_HOSTS,APP_SECRET,DATABASE_URL,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN"
UNIQUE_ID
"Zo3Ciy-DhsB9Z9CIIRlhCwAAAEU"
USER
"livis"
proxy-nokeepalive
"1"

Parent Request

Return to parent request (token = 781b6f)

Key Value
_api_respond
"true"
_controller
"api_platform.action.entrypoint"
_firewall_context
"security.firewall.map.context.main"
_format
""
_links
Symfony\Component\WebLink\GenericLinkProvider {#1070
  -links: [
    1071 => Symfony\Component\WebLink\Link {#1071
      -href: "https://livis.uni-foundation.eu/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_remove_csp_headers
true
_route
"api_entrypoint"
_route_params
[
  "_format" => ""
  "_api_respond" => "true"
  "index" => "index"
]
_stopwatch_token
"7a0d58"
index
"index"