Error 500 Internal Server Error

GET http://92.242.61.45/admin/new/user

Forwarded to ErrorController (1e3790)

AdminController :: usersCreate

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\AdminController::usersCreate"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_admin_create_user"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"e68f75"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
content-length
""
content-type
""
from
"gptbot(at)openai.com"
host
"92.242.61.45"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-openai-host-hash
"640124585"
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
"Sun, 20 Jul 2025 18:46:57 GMT"
x-debug-exception
"Call%20to%20a%20member%20function%20isAdmin%28%29%20on%20null"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fsrc%2FController%2FAdminController.php:138"
x-debug-token
"524b4f"
x-debug-token-link
"http://92.242.61.45/_profiler/1e3790"
x-previous-debug-token
"1e3790"
x-robots-tag
"noindex"

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
"0ecf78b03e2e428916978510464f2799"
DATABASE_URL
"mysql://root:[email protected]:3306/stuko_app?serverVersion=5.7&charset=utf8mb4"
MAILER_DSN
"smtp://[email protected]:[email protected]:465"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/html/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOME
"/var/www"
HOSTNAME
"a4e090e41fe7"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"92.242.61.45"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_OPENAI_HOST_HASH
"640124585"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PATH_INFO
""
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.2.29.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_IDE_CONFIG
"serverName=localhost"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_MEMORY_LIMIT
"1G"
PHP_POST_MAX_SIZE
"100M"
PHP_SELF
"/index.php"
PHP_SHA256
"475f991afd2d5b901fb410be407d929bc00c46285d3f439a02c59e8b6fe3589c"
PHP_UPLOAD_MAX_FILESIZE
"100M"
PHP_URL
"https://www.php.net/distributions/php-8.2.29.tar.xz"
PHP_VERSION
"8.2.29"
PWD
"/var/www/html"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"20.171.207.66"
REMOTE_PORT
"56990"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1753037217
REQUEST_TIME_FLOAT
1753037217.8204
REQUEST_URI
"/admin/new/user"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.18.0.4"
SERVER_NAME
"127.0.0.1"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.29.0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MAILER_DSN"
TZ
"Europe/Moscow"
USER
"www-data"

Sub Requests 1

ErrorController (token = 1e3790)

Key Value
_controller
"error_controller"
_stopwatch_token
"c8afcf"
exception
Error {#625
  #message: "Call to a member function isAdmin() on null"
  #code: 0
  #file: "/var/www/html/src/Controller/AdminController.php"
  #line: 138
  trace: {
    /var/www/html/src/Controller/AdminController.php:138 {
      App\Controller\AdminController->usersCreate(Request $request, UserPasswordHasherInterface $userPasswordHasher, EntityManagerInterface $entityManager): Response …
      › 
      › if ($admin->isAdmin()) {\t$admins[$admin->getEmail()] = $admin->getId();
    }
    /var/www/html/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 {#2 …}
        $userPasswordHasher: Symfony\Component\PasswordHasher\Hasher\UserPasswordHasher {#550 …}
        $entityManager: ContainerMZfiEiG\EntityManagerGhost51e8656 {#305 …}
      }
    }
    /var/www/html/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 {#2 …}
        $type: 1
      }
    }
    /var/www/html/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 {#2 …}
        $type: 1
        $catch: true
      }
    }
    /var/www/html/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 {#2 …}
      }
    }
    /var/www/html/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#157 …8}