Error 500 Internal Server Error

GET https://jordan.cciformationlyon.fr/users/24/edit

Forwarded to ErrorController (efc22e)

UserController :: edit

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\UserController::edit"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_user_edit"
_route_params
[
  "id" => "24"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"44f390"
id
"24"
user
App\Entity\User {#495
  -id: 24
  -email: "matthieu.aubry@free.fr"
  -roles: [
    "ROLE_USER"
  ]
  -password: "$2y$13$32CffVHTLBQdtfRvcam/5uwsMWJZoMlKvPcSGhm8mGkULWIIrmidG"
  -userProjets: Doctrine\ORM\PersistentCollection {#510 …}
  -commentaires: Doctrine\ORM\PersistentCollection {#531 …}
  -userInfos: Proxies\__CG__\App\Entity\UserInfos {#556 …}
}

Request Headers

Header Value
accept
"*/*"
content-length
"0"
host
"jordan.cciformationlyon.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-autonomous-system
"16509"
x-country-code
"US"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-php-ob-level
"1"
x-real-ip
"216.73.216.238"
x-ssl
"yes"

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, 24 Oct 2026 15:50:24 GMT"
x-debug-exception
"Call%20to%20a%20member%20function%20getId%28%29%20on%20null"
x-debug-exception-file
"%2Fhome%2Fdhqm1449%2Fcciformationlyon.fr%2Fwww%2F202210-dev-jordan%2Fsrc%2FController%2FUserController.php:55"
x-debug-token
"f32a26"
x-debug-token-link
"https://jordan.cciformationlyon.fr/_profiler/efc22e"
x-previous-debug-token
"efc22e"
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
"3bbcc5c78b35ae3ab8d0d848424b6f32"
DATABASE_URL
"mysql://dhqm1449_202210-dev-jordan:s5gUkUuSmfNs@localhost:3306/dhqm1449_202210-dev-jordan?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
MAILER_DSN
"smtp://olivier.jordan21:iqsbytdaaylwvhrn@smtp.gmail.com:587?encryption=tls"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"0"
CONTEXT_DOCUMENT_ROOT
"/home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/public"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"jordan.cciformationlyon.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_AUTONOMOUS_SYSTEM
"16509"
HTTP_X_COUNTRY_CODE
"US"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"216.73.216.238"
HTTP_X_SSL
"yes"
LSCAPI_CRIU_SYNC_FD
"7"
PATH
"/usr/local/bin:/usr/bin:/bin"
PHP_SELF
"/index.php"
PWD
"/"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"jordan.cciformationlyon.fr"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"atzTvyhlM4VQjTMJJyKfNgAAAJA"
REDIRECT_URL
"/users/24/edit"
REMOTE_ADDR
"216.73.216.238"
REMOTE_PORT
"45882"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1792857023
REQUEST_TIME_FLOAT
1792857023.9545
REQUEST_URI
"/users/24/edit"
SCRIPT_FILENAME
"/home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"109.234.161.150"
SERVER_ADMIN
"webmaster@jordan.cciformationlyon.fr"
SERVER_NAME
"jordan.cciformationlyon.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"jordan.cciformationlyon.fr"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
UNIQUE_ID
"atzTvyhlM4VQjTMJJyKfNgAAAJA"

Sub Requests 1

ErrorController (token = efc22e)

Key Value
_controller
"error_controller"
_stopwatch_token
"549633"
exception
Error {#249
  #message: "Call to a member function getId() on null"
  #code: 0
  #file: "/home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/src/Controller/UserController.php"
  #line: 55
  trace: {
    /home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/src/Controller/UserController.php:55 {
      App\Controller\UserController->edit(Request $request, User $user, UserRepository $userRepository, SluggerInterface $slugger): Response …
      › 
      › if ($user->getId() !== $this->getUser()->getId() && !$this->isGranted('ROLE_ADMIN')) {
      ›     throw $this->createAccessDeniedException('Vous n\'avez pas le droit de modifier cet utilisateur');
    }
    /home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/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);
      › 
    }
    /home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/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) {
    }
    /home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/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 {
    }
    /home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {
      ›     $response = $this->kernel->handle($this->request);
      ›     $response->send();
    }
    /home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)
      ›         ->run()
      › );
    }
    /home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
      › 
      arguments: {
        "/home/dhqm1449/cciformationlyon.fr/www/202210-dev-jordan/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#99 …9}