Error 500 Internal Server Error

GET https://printshop.grey.ooo/printers

Forwarded to ErrorController (d31a60)

PrinterController :: printersList

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"PrintShop\Controller\PrinterController::printersList"
_controller_attributes
[
  Symfony\Component\Routing\Attribute\Route {#887
    +methods: [
      "GET"
    ]
    +envs: []
    +schemes: []
    +aliases: []
    +path: "/printers"
    +name: "printer_list"
    +requirements: []
    +options: []
    +defaults: []
    +host: null
    +condition: null
    +priority: null
  }
]
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"printer_list"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#835
    -supports: false
    -passport: null
    -duration: null
    -stub: "PrintShop\Security\LocalOrLdapAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: PrintShop\Security\LocalOrLdapAuthenticator {#795 …}
  }
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#839
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator {#840 …}
  }
]
_stopwatch_token
"3915fb"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
host
"printshop.grey.ooo"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-forwarded-for
"216.73.217.176"
x-forwarded-proto
"https"
x-forwarded-scheme
"https"
x-php-ob-level
"0"
x-real-ip
"216.73.217.176"

Request Content

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

Retry Command

curl \
  --compressed \
  --url 'https://printshop.grey.ooo/printers' \
  --header 'Accept-Encoding: gzip, br, zstd, deflate' \
  --header 'User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' \
  --header 'Accept: */*' \
  --header 'X-Real-Ip: 216.73.217.176' \
  --header 'X-Forwarded-For: 216.73.217.176' \
  --header 'X-Forwarded-Proto: https' \
  --header 'X-Forwarded-Scheme: https' \
  --header 'X-Php-Ob-Level: 0'

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Fri, 21 Aug 2026 13:32:15 GMT"
set-cookie
[
  "main_deauth_profile_token=d31a60; path=/; secure; httponly; samesite=lax"
  "main_auth_profile_token=deleted; expires=Thu, 21 Aug 2025 13:32:14 GMT; Max-Age=0; path=/; httponly"
]
vary
"Accept"
x-debug-exception
"User%20is%20not%20an%20instance%20of%20User%20or%20LdapUser"
x-debug-exception-file
"%2Fapp%2Fsrc%2FController%2FAbstractController.php:99"
x-debug-token
"d1e88f"
x-debug-token-link
"https://printshop.grey.ooo/_profiler/d31a60"
x-previous-debug-token
"d31a60"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

Key Value
main_auth_profile_token
Symfony\Component\HttpFoundation\Cookie {#2381
  #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 {#2374
  #expire: 0
  #path: "/"
  -sameSite: "lax"
  -secureDefault: true
  #name: "main_deauth_profile_token"
  #value: "d31a60"
  #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
LOGIN_THROTTLE_INTERVAL
"5 minutes"
NGROK_AUTH
"ChangeMe"
NGROK_URL
"printers.ngrok.dev"
STORAGE_DRIVER
"local"

Defined as regular env variables

Key Value
ALPINE_VERSION
"3.23"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_PROJECT_DIR
"/app"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/app"
]
APP_SECRET
"61310a7ade008da01d8ad39da62e1febf5ecbd138987fab0b4ab25a2b6071b9c"
APP_URL
"https://printshop.grey.ooo"
AUTO_FIXTURE
"Off"
AUTO_MIGRATE
"On"
AWS_ACCESS_KEY_ID
"GKbd2901c95926e96bb8ca2e29"
AWS_BUCKET
"printshop"
AWS_ENDPOINT
"https://s3.grey.ooo/"
AWS_REGION
"us-east-1"
AWS_SECRET_ACCESS_KEY
"3af273070bf1af9a058cd806fbbdef2ca35aaec3c0a1d6945e3f2086fedd0f6a"
CACHE_HOST
"printshop-valkey"
CACHE_PORT
"6379"
CACHE_URL
"redis://printshop-valkey:6379"
COLOR_BLUE
"\e[34m"
COLOR_GREEN
"\e[32m"
COLOR_GREY
"\e[90m"
COLOR_RED
"\e[91m"
COLOR_RESET
"\e(B\e[m"
COLOR_YELLOW
"\e[33m"
COMPOSER_ALLOW_SUPERUSER
"1"
COMPOSER_FUND
"0"
COMPOSER_HOME
"/var/cache/.composer"
COMPOSER_VERSION
"latest-stable"
CONTENT_LENGTH
""
CONTENT_TYPE
""
CORS_ALLOW_ORIGIN
"^https://printshop\.grey\.ooo$"
DATABASE_NAME
"printshop"
DATABASE_PASSWORD
"Hjcw7WwmjfLrrEWa08uBVQQMnE10kxMw"
DATABASE_URL
"postgresql://printshop:Hjcw7WwmjfLrrEWa08uBVQQMnE10kxMw@database.home.grey.ooo:5432/printshop?serverVersion=17&charset=utf8"
DATABASE_USERNAME
"printshop"
DIR
"\e[38;5;114mphp\e(B\e[m"
DOCUMENT_ROOT
"/app/public"
DOCUMENT_URI
"/index.php"
EDITOR
"/usr/bin/nano"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home"
HOSTNAME
"48530409ce54"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"printshop.grey.ooo"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_FORWARDED_FOR
"216.73.217.176"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SCHEME
"https"
HTTP_X_REAL_IP
"216.73.217.176"
KERNEL_CLASS
"PrintShop\Kernel"
LDAP_BASE_DN
"dc=grey,dc=ooo"
LDAP_FILTER
"(&(objectClass=person)(memberof=cn=printshop_user,ou=groups,dc=grey,dc=ooo)(|(uid={user_identifier})(mail={user_identifier})))"
LDAP_SEARCH_DN
"uid=printshop,ou=people,dc=grey,dc=ooo"
LDAP_SEARCH_PASSWORD
"km0tgfwKTWomzLeLek0p0f3fqUxc42tY"
LOG_PATHS
"/var/log/nginx_error.log /var/log/php_error.log /app/var/log/dev.log /app/var/log/prod.log"
MAILER_DSN
"smtp://printshop-mailcatcher:1025"
MERCURE_JWT_SECRET
"IW3kU8w0OrqFSyGVP4T7ayLrdBZzsMAB"
MERCURE_PUBLIC_URL
"https://mercure.printshop.grey.ooo/.well-known/mercure"
MERCURE_URL
"http://printshop-mercure/.well-known/mercure"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
NGINX_VERSION
"1.28"
OLDPWD
"/etc/services.d/php"
PAGER
"/usr/bin/less"
PATH
"/app/vendor/bin:/app:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_CLI_MEMORY_LIMIT
"4096M"
PHP_DEBUG_MODE
"On"
PHP_DISPLAY_ERRORS
"1"
PHP_ERROR_REPORTING
"E_ALL"
PHP_MEMORY_LIMIT
"256M"
PHP_OPCACHE
"Off"
PHP_SELF
"/index.php"
PHP_VERSION
"8.5"
PRINTSHOP_DEFAULT_PASSWORD
"printshop"
PRINTSHOP_DEFAULT_USERNAME
"matthew@grey.ooo"
PWD
"/app"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.80.0.2"
REMOTE_PORT
"42778"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1787319135
REQUEST_TIME_FLOAT
1787319135.6112
REQUEST_URI
"/printers"
SCRIPT_FILENAME
"/app/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.80.0.131"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.28.3"
SHLVL
"0"
SVDIR
"/etc/services.d"
SVWAIT
"5"
SYMFONY_DOTENV_PATH
"/app/.env"
SYMFONY_DOTENV_VARS
"LOGIN_THROTTLE_INTERVAL,STORAGE_DRIVER,NGROK_AUTH,NGROK_URL"
SYMFONY_TRUSTED_PROXIES
"10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
SYSTEM_USER
"app"
TELEGRAM_CHANNEL_ID
"0"
TELEGRAM_TOKEN
"TOKEN"
TELEGRAM_TOPIC_ID
"false"
TERM
"xterm-256color"
TZ
"Europe/Amsterdam"
USER
"app"
_
"/usr/sbin/php-fpm"

Sub-Requests 1

ErrorController (token = d31a60)

Key Value
_controller
"error_controller"
_controller_attributes
[]
_stopwatch_token
"cbb536"
exception
Exception {#819
  #message: "User is not an instance of User or LdapUser"
  #code: 0
  #file: "/app/src/Controller/AbstractController.php"
  #line: 99
  trace: {
    /app/src/Controller/AbstractController.php:99 {
      PrintShop\Controller\AbstractController->getUser(): User …
      › // Defensive: getUser() only ever yields User or LdapUser.throw new \Exception('User is not an instance of User or LdapUser');// @codeCoverageIgnoreEnd
    }
    /app/src/Controller/PrinterController.php:241 {
      PrintShop\Controller\PrinterController->render(string $view, array $parameters = [], ?Response $response = null): Response …
      › 'site'             => $this->site,'user'             => $this->getUser(),'copyright_year'   => date('Y'),
    }
    /app/src/Controller/PrinterController.php:46 {
      PrintShop\Controller\PrinterController->printersList(): Response …
      › {    return $this->render('printers/list.html.twig', [        'site'     => $this->site,
    }
    /app/vendor/symfony/http-kernel/HttpKernel.php:188 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
      › // call controller$response = $controller(...$arguments);}
    /app/vendor/symfony/http-kernel/HttpKernel.php:79 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {
    }
    /app/vendor/symfony/http-kernel/Kernel.php:143 {
      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 {
    }
    /app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /app/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /app/public/index.php:7 {
      › 
      › require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';arguments: {
        "/app/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#288
  -records: [
    2 => [
      [
        "timestamp" => 1787319135
        "timestamp_rfc3339" => "2026-08-21T13:32:15.689+00:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "printer_list"
          "route_parameters" => [
            "_route" => "printer_list"
            "_controller" => "PrintShop\Controller\PrinterController::printersList"
          ]
          "request_uri" => "https://printshop.grey.ooo/printers"
          "method" => "GET"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1787319135
        "timestamp_rfc3339" => "2026-08-21T13:32:15.725+00:00"
        "message" => "Connecting with parameters {params}"
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "params" => [
            "driver" => "pdo_pgsql"
            "idle_connection_ttl" => 600
            "host" => "database.home.grey.ooo"
            "port" => 5432
            "user" => "printshop"
            "password" => "<redacted>"
            "driverOptions" => []
            "defaultTableOptions" => []
            "dbname" => "printshop"
            "serverVersion" => "17"
            "charset" => "utf8"
          ]
        ]
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1787319135
        "timestamp_rfc3339" => "2026-08-21T13:32:15.856+00:00"
        "message" => "Uncaught PHP Exception Exception: "User is not an instance of User or LdapUser" at AbstractController.php line 99"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => Exception {#819
            #message: "User is not an instance of User or LdapUser"
            #code: 0
            #file: "/app/src/Controller/AbstractController.php"
            #line: 99
            trace: {
              /app/src/Controller/AbstractController.php:99 {
                PrintShop\Controller\AbstractController->getUser(): User …
                › // Defensive: getUser() only ever yields User or LdapUser.throw new \Exception('User is not an instance of User or LdapUser');// @codeCoverageIgnoreEnd
              }
              /app/src/Controller/PrinterController.php:241 {
                PrintShop\Controller\PrinterController->render(string $view, array $parameters = [], ?Response $response = null): Response …
                › 'site'             => $this->site,'user'             => $this->getUser(),'copyright_year'   => date('Y'),
              }
              /app/src/Controller/PrinterController.php:46 {
                PrintShop\Controller\PrinterController->printersList(): Response …
                › {    return $this->render('printers/list.html.twig', [        'site'     => $this->site,
              }
              /app/vendor/symfony/http-kernel/HttpKernel.php:188 {
                Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
                › // call controller$response = $controller(...$arguments);}
              /app/vendor/symfony/http-kernel/HttpKernel.php:79 {
                Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {
              }
              /app/vendor/symfony/http-kernel/Kernel.php:143 {
                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 {
              }
              /app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);}
              /app/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /app/public/index.php:7 {
                › 
                › require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';arguments: {
                  "/app/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    2 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#287 …}
}