https://deamonerp.fr/cpi2/public/genererpdf/2?p=genererpdf%2F2

ErrorController

Request

GET Parameters

Key Value
p
"genererpdf/2"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"4ae5f3"
exception
TypeError {#2691
  #message: "Return value of App\Controller\DefaultController::genererpdf() must be an instance of Symfony\Component\HttpFoundation\Response, none returned"
  #code: 0
  #file: "/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/src/Controller/DefaultController.php"
  #line: 1361
  trace: {
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/src/Controller/DefaultController.php:1361 {
      App\Controller\DefaultController->genererpdf(FormationsRepository $formationsRepository, CategoriesFormationsRepository $categoriesFormationsRep, $id): Response …
      › 
      › }}
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/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/deamonerp.fr/httpdocs/cpi2/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/deamonerp.fr/httpdocs/cpi2/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/deamonerp.fr/httpdocs/cpi2/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/deamonerp.fr/httpdocs/cpi2/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';if($_SERVER['REMOTE_ADDR'] == '90.63.222.84')
      arguments: {
        "/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#106 …9}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
connection
"close"
host
"deamonerp.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
"3.131.13.196"

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, 24 Nov 2024 03:41:52 GMT"
vary
"Accept"
x-debug-exception
"Return%20value%20of%20App%5CController%5CDefaultController%3A%3Agenererpdf%28%29%20must%20be%20an%20instance%20of%20Symfony%5CComponent%5CHttpFoundation%5CResponse%2C%20none%20returned"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fdeamonerp.fr%2Fhttpdocs%2Fcpi2%2Fsrc%2FController%2FDefaultController.php:1361"
x-debug-token
"ccb689"

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_DEV
"dev"
APP_ENV
"dev"
APP_SECRET
"7e5c786ce91b44b1d1df2ea0568252fb"
DATABASE_URL
"mysql://cpi2:Piranha!2023@127.0.0.1:3306/cpi2"
GOOGLE_RECAPTCHA_SECRET
""
GOOGLE_RECAPTCHA_SITE_KEY
""
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/deamonerp.fr/httpdocs"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/deamonerp.fr/httpdocs"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_CONNECTION
"close"
HTTP_HOST
"deamonerp.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
"3.131.13.196"
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
"/cpi2/public/index.php"
PP_CUSTOM_PHP_CGI_INDEX
"plesk-php74-fastcgi"
PP_CUSTOM_PHP_INI
"/var/www/vhosts/system/deamonerp.fr/etc/php.ini"
QUERY_STRING
"p=genererpdf/2&p=genererpdf%2F2"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"p=genererpdf/2&p=genererpdf%2F2"
REDIRECT_SCRIPT_URI
"https://deamonerp.fr/cpi2/public/genererpdf/2"
REDIRECT_SCRIPT_URL
"/cpi2/public/genererpdf/2"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z0Kge89YUnKcb8sPMCCJkQAAAII"
REDIRECT_URL
"/cpi2/public/genererpdf/2"
REMOTE_ADDR
"3.131.13.196"
REMOTE_PORT
"57948"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732419708
REQUEST_TIME_FLOAT
1732419708.4725
REQUEST_URI
"/cpi2/public/genererpdf/2?p=genererpdf%2F2"
SCRIPT_FILENAME
"/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/public/index.php"
SCRIPT_NAME
"/cpi2/public/index.php"
SCRIPT_URI
"https://deamonerp.fr/cpi2/public/genererpdf/2"
SCRIPT_URL
"/cpi2/public/genererpdf/2"
SERVER_ADDR
"141.94.247.171"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"deamonerp.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at deamonerp.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET"
UNIQUE_ID
"Z0Kge89YUnKcb8sPMCCJkQAAAII"

Parent Request

Return to parent request (token = 5e5634)

Key Value
_controller
"App\Controller\DefaultController::genererpdf"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"genererpdf"
_route_params
[
  "id" => "2"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"d9ded8"
id
"2"