Forwarded to ErrorController (16325e)

SectionCrudController :: setLayout

Request

GET Parameters

Key Value
crudAction
"setLayout"
crudControllerFqcn
"App\Controller\Admin\SectionCrudController"
entityId
"6"
referrer
"https://www.larecrutement.fr/admin?crudAction=index&crudControllerFqcn=App%5CController%5CAdmin%5CSectionCrudController&layout=slider&submenuIndex=2"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
[
  "App\Controller\Admin\SectionCrudController"
  "setLayout"
]
_firewall_context
"security.firewall.map.context.main"
_links
Symfony\Component\WebLink\GenericLinkProvider {#1662
  -links: [
    1661 => Symfony\Component\WebLink\Link {#1661
      -href: "https://www.larecrutement.fr/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_remove_csp_headers
true
_route
"admin"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"07954b"
easyadmin_context
EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext {#769
  -request: Symfony\Component\HttpFoundation\Request {#14 …}
  -user: null
  -i18nDto: EasyCorp\Bundle\EasyAdminBundle\Dto\I18nDto {#808 …}
  -crudControllers: EasyCorp\Bundle\EasyAdminBundle\Registry\CrudControllerRegistry {#543 …}
  -entityDto: EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto {#776 …}
  -dashboardDto: EasyCorp\Bundle\EasyAdminBundle\Dto\DashboardDto {#925 …}
  -dashboardControllerInstance: App\Controller\Admin\DashboardController {#851 …}
  -assetDto: EasyCorp\Bundle\EasyAdminBundle\Dto\AssetsDto {#842 …}
  -crudDto: EasyCorp\Bundle\EasyAdminBundle\Dto\CrudDto {#737 …}
  -searchDto: EasyCorp\Bundle\EasyAdminBundle\Dto\SearchDto {#608 …}
  -menuFactory: EasyCorp\Bundle\EasyAdminBundle\Factory\MenuFactory {#550 …}
  -templateRegistry: EasyCorp\Bundle\EasyAdminBundle\Registry\TemplateRegistry {#805 …}
  -mainMenuDto: null
  -userMenuDto: null
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
from
"gptbot(at)openai.com"
host
"www.larecrutement.fr"
remote-ip
"20.171.207.167"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-forwarded-for
"20.171.207.167"
x-forwarded-proto
"https"
x-openai-host-hash
"138661253"
x-ovhrequest-id
"ce19e6708dc4cadf9b50fb26d1a496dc"
x-php-ob-level
"1"
x-predictor
"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
"Fri, 04 Jul 2025 21:31:28 GMT"
link
"<https://www.larecrutement.fr/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
vary
"Accept"
x-debug-exception
"App%5CRepository%5CSectionRepository%3A%3AupdateLayout%28%29%3A%20Argument%20%232%20%28%24layout%29%20must%20be%20of%20type%20string%2C%20null%20given%2C%20called%20in%20%2Fhome%2Flarecry%2Fwww%2Fsrc%2FController%2FAdmin%2FSectionCrudController.php%20on%20line%20118"
x-debug-exception-file
"%2Fhome%2Flarecry%2Fwww%2Fsrc%2FRepository%2FSectionRepository.php:22"
x-debug-token
"b8bec3"
x-debug-token-link
"https://www.larecrutement.fr/_profiler/16325e"
x-previous-debug-token
"16325e"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
  [
    "file" => "/home/larecry/www/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php"
    "line" => 226
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php"
    "line" => 65
    "function" => "getUser"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\Factory\AdminContextFactory"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/easycorp/easyadmin-bundle/src/EventListener/AdminRouterSubscriber.php"
    "line" => 78
    "function" => "create"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\Factory\AdminContextFactory"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelRequest"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 142
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/larecry/www/public/index.php"
    "line" => 5
    "args" => [
      "/home/larecry/www/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"31cdbe196ba4b896a8ad8ac3fafe71cf"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://larecrydb2023:La2023pass@larecrydb2023.mysql.db:3306/larecrydb2023?serverVersion=5.7"
MAILER_DSN
"smtp://laura@larecrutement.fr:Ovhcloud!@pro3.mail.ovh.net:587"
MESSENGER_TRANSPORT_DSN
""

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CFG_CLUSTER
"cluster028"
DOCUMENT_ROOT
"/home/larecry/www"
ENVIRONMENT
"production"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GEOIP_AREA_CODE
"0"
GEOIP_COUNTRY_CODE
"US"
GEOIP_COUNTRY_NAME
"United States"
GEOIP_DMA_CODE
"0"
GEOIP_LATITUDE
"37.750999"
GEOIP_LONGITUDE
"-97.821999"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"www.larecrutement.fr"
HTTP_REMOTE_IP
"20.171.207.167"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_FORWARDED_FOR
"20.171.207.167"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_OPENAI_HOST_HASH
"138661253"
HTTP_X_OVHREQUEST_ID
"ce19e6708dc4cadf9b50fb26d1a496dc"
HTTP_X_PREDICTOR
"1"
MAGIC_QUOTES
"0"
PHP_SELF
"/public/index.php"
PHP_VER
"8_1"
QUERY_STRING
"crudAction=setLayout&crudControllerFqcn=App%5CController%5CAdmin%5CSectionCrudController&entityId=6&referrer=https%3A%2F%2Fwww.larecrutement.fr%2Fadmin%3FcrudAction%3Dindex%26crudControllerFqcn%3DApp%255CController%255CAdmin%255CSectionCrudController%26layout%3Dslider%26submenuIndex%3D2"
REDIRECT_QUERY_STRING
"crudAction=setLayout&crudControllerFqcn=App%5CController%5CAdmin%5CSectionCrudController&entityId=6&referrer=https%3A%2F%2Fwww.larecrutement.fr%2Fadmin%3FcrudAction%3Dindex%26crudControllerFqcn%3DApp%255CController%255CAdmin%255CSectionCrudController%26layout%3Dslider%26submenuIndex%3D2"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/public/admin"
REGISTER_GLOBALS
"0"
REMOTE_ADDR
"20.171.207.167"
REMOTE_PORT
"32962"
REQUEST_METHOD
"GET"
REQUEST_TIME
1751664688
REQUEST_TIME_FLOAT
1751664688.4708
REQUEST_URI
"/admin?crudAction=setLayout&crudControllerFqcn=App%5CController%5CAdmin%5CSectionCrudController&entityId=6&referrer=https%3A%2F%2Fwww.larecrutement.fr%2Fadmin%3FcrudAction%3Dindex%26crudControllerFqcn%3DApp%255CController%255CAdmin%255CSectionCrudController%26layout%3Dslider%26submenuIndex%3D2"
SCRIPT_FILENAME
"/home/larecry/www/public/index.php"
SCRIPT_NAME
"/public/index.php"
SCRIPT_URI
"https://www.larecrutement.fr:443/admin"
SCRIPT_URL
"/admin"
SERVER_ADDR
"10.28.20.79"
SERVER_ADMIN
"postmaster@www.larecrutement.fr"
SERVER_NAME
"www.larecrutement.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SESSION_USE_TRANS_SID
"0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MAILER_DSN,CORS_ALLOW_ORIGIN"
UNIQUE_ID
"aGhIMB@SdQcVKaT-QPkXvAAAAC4"
USER
"larecry"
ZEND_OPTIMIZER
"1"
argc
1
argv
[
  "crudAction=setLayout&crudControllerFqcn=App%5CController%5CAdmin%5CSectionCrudController&entityId=6&referrer=https%3A%2F%2Fwww.larecrutement.fr%2Fadmin%3FcrudAction%3Dindex%26crudControllerFqcn%3DApp%255CController%255CAdmin%255CSectionCrudController%26layout%3Dslider%26submenuIndex%3D2"
]

Sub Requests 1

ErrorController (token = 16325e)

Key Value
_controller
"error_controller"
_links
Symfony\Component\WebLink\GenericLinkProvider {#1533
  -links: [
    1444 => Symfony\Component\WebLink\Link {#1444
      -href: "https://www.larecrutement.fr/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_stopwatch_token
"de6bfd"
exception
TypeError {#988
  #message: "App\Repository\SectionRepository::updateLayout(): Argument #2 ($layout) must be of type string, null given, called in /home/larecry/www/src/Controller/Admin/SectionCrudController.php on line 118"
  #code: 0
  #file: "/home/larecry/www/src/Repository/SectionRepository.php"
  #line: 22
  trace: {
    /home/larecry/www/src/Repository/SectionRepository.php:22 {
      App\Repository\SectionRepository->updateLayout(Section $section, string $layout = 'default') …
      › 
      › public function updateLayout(Section $section, string $layout = 'default'){
    }
    /home/larecry/www/src/Controller/Admin/SectionCrudController.php:118 {
      App\Controller\Admin\SectionCrudController->setLayout(AdminContext $context): Response …
      › $section = $context->getEntity()->getInstance();$this->sectionRepo->updateLayout($section, $layout);arguments: {
        $section: App\Entity\Section {#892 …}
        $layout: null
      }
    }
    /home/larecry/www/vendor/symfony/http-kernel/HttpKernel.php:166 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $context: EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext {#769 …}
      }
    }
    /home/larecry/www/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 {#14 …}
        $type: 1
      }
    }
    /home/larecry/www/vendor/symfony/http-kernel/Kernel.php:197 {
      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 {#14 …}
        $type: 1
        $catch: true
      }
    }
    /home/larecry/www/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 {#14 …}
      }
    }
    /home/larecry/www/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/larecry/www/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';//die('stop');
      arguments: {
        "/home/larecry/www/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#37 …9}