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

ErrorController

Request

GET Parameters

Key Value
p
"genererpdf/6"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"dc312d"
exception
TypeError {#2715
  #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.147.45.207"

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
"Wed, 18 Dec 2024 07:00:15 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
"76acec"

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.147.45.207"
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/6&p=genererpdf%2F6"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"p=genererpdf/6&p=genererpdf%2F6"
REDIRECT_SCRIPT_URI
"https://deamonerp.fr/cpi2/public/genererpdf/6"
REDIRECT_SCRIPT_URL
"/cpi2/public/genererpdf/6"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z2Jy@gJlEL5dW6qZ32tshwAAAIw"
REDIRECT_URL
"/cpi2/public/genererpdf/6"
REMOTE_ADDR
"3.147.45.207"
REMOTE_PORT
"47088"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1734505210
REQUEST_TIME_FLOAT
1734505210.1359
REQUEST_URI
"/cpi2/public/genererpdf/6?p=genererpdf%2F6"
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/6"
SCRIPT_URL
"/cpi2/public/genererpdf/6"
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
"Z2Jy@gJlEL5dW6qZ32tshwAAAIw"

Parent Request

Return to parent request (token = 983027)

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