https://modixom.fr/api/profil?p=api%2Fprofil&token=1ac6eba0e1cdc4e5ad848385021e7c46

ErrorController

Request

GET Parameters

Key Value
p
"api/profil"
token
"1ac6eba0e1cdc4e5ad848385021e7c46"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"d458b8"
exception
Error {#934
  #message: "Call to a member function getId() on null"
  #code: 0
  #file: "/var/www/vhosts/modixom.fr/httpdocs/src/Controller/ApiController.php"
  #line: 879
  trace: {
    /var/www/vhosts/modixom.fr/httpdocs/src/Controller/ApiController.php:879 {
      App\Controller\ApiController->profilDetail(Request $request, UserRepository $userRepository, VillesRepository $villesRepository, CategoriesRepository $categoriesRepository, AnnoncesRepository $annoncesRepository, NotesEnseignesRepository $notesEnseignesRepository): Response …
      › 
      › $userArray['id'] = $user->getId();$userArray['nom'] = $user->getNom();
    }
    /var/www/vhosts/modixom.fr/httpdocs/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);}
    /var/www/vhosts/modixom.fr/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/vhosts/modixom.fr/httpdocs/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/vhosts/modixom.fr/httpdocs/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/modixom.fr/httpdocs/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/modixom.fr/httpdocs/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/modixom.fr/httpdocs/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#46 …9}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
connection
"close"
host
"modixom.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"18.119.29.246"

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
"Fri, 15 Nov 2024 19:21:38 GMT"
vary
"Accept"
x-debug-exception
"Call%20to%20a%20member%20function%20getId%28%29%20on%20null"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fmodixom.fr%2Fhttpdocs%2Fsrc%2FController%2FApiController.php:879"
x-debug-token
"973efc"

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
"c775f89585250b4a5cdf52522d442426"
DATABASE_URL
"mysql://modixom:Modixom2023@127.0.0.1:3306/modixom?serverVersion=8&charset=utf8mb4"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
STRIPE_PUBLIC_KEY
"pk_test_51OuD3FGwTslbSP9QI5n5F8ZdZc9cDXxozWyZznriT2Ax0lOWnIflZ2U9n1igN898u2dMjvzWd2AX8EGfM6rDVdUI00NmShvlqP"
STRIPE_SECRET_KEY
"sk_test_51OuD3FGwTslbSP9Q7fBBkAOs8ouF2U2uxofmuPoX7YiBuF7FIol7MGuCFFX59QjQs04mlLcJkNpw9jctLSfv1C8R002fM4y74R"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/modixom.fr/httpdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/modixom.fr/httpdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/modixom.fr"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_CONNECTION
"close"
HTTP_HOST
"modixom.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"18.119.29.246"
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
"p=api/profil&p=api%2Fprofil&token=1ac6eba0e1cdc4e5ad848385021e7c46"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"p=api/profil&p=api%2Fprofil&token=1ac6eba0e1cdc4e5ad848385021e7c46"
REDIRECT_SCRIPT_URI
"https://modixom.fr/api/profil"
REDIRECT_SCRIPT_URL
"/api/profil"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZzefQWi2GN2ptf6WlrrcFgAAAIE"
REDIRECT_URL
"/api/profil"
REMOTE_ADDR
"18.119.29.246"
REMOTE_PORT
"51856"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1731698497
REQUEST_TIME_FLOAT
1731698497.9718
REQUEST_URI
"/api/profil?p=api%2Fprofil&token=1ac6eba0e1cdc4e5ad848385021e7c46"
SCRIPT_FILENAME
"/var/www/vhosts/modixom.fr/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://modixom.fr/api/profil"
SCRIPT_URL
"/api/profil"
SERVER_ADDR
"141.94.247.171"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"modixom.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at modixom.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,STRIPE_SECRET_KEY,STRIPE_PUBLIC_KEY,DATABASE_URL,MESSENGER_TRANSPORT_DSN"
UNIQUE_ID
"ZzefQWi2GN2ptf6WlrrcFgAAAIE"
USER
"modixom.fr_m5wjed2i108"
proxy-nokeepalive
"1"

Parent Request

Return to parent request (token = 429eac)

Key Value
_controller
"App\Controller\ApiController::profilDetail"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"profilDetail"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"acac82"