TrainingController :: index2
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\TrainingController::index2" |
| _firewall_context | "security.firewall.map.context.main" |
| _links | Symfony\Component\WebLink\GenericLinkProvider {#930 -links: [ 932 => Symfony\Component\WebLink\Link {#932 -href: "/assets/styles/app-9df76b0903e7267ade0846f175b67a30.css" -rel: [ "preload" => "preload" ] -attributes: [ "as" => "style" ] } ] } |
| _remove_csp_headers | true |
| _route | "app_training2" |
| _route_params | [] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "cf5589" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| connection | "Keep-Alive" |
| host | "dev.tobehelper.fr" |
| mod-rewrite | "On" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| x-forwarded-for | "216.73.216.42" |
| x-forwarded-host | "dev.tobehelper.fr" |
| x-forwarded-server | "dev.tobehelper.fr" |
| x-php-ob-level | "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 | "Sat, 06 Dec 2025 03:28:07 GMT" |
| link | "</assets/styles/app-9df76b0903e7267ade0846f175b67a30.css>; rel="preload"; as="style"" |
| vary | "Accept" |
| x-debug-exception | "Neither%20the%20property%20%22prix_entreprise%22%20nor%20one%20of%20the%20methods%20%22prix_entreprise%28%29%22%2C%20%22getprix_entreprise%28%29%22%2F%22isprix_entreprise%28%29%22%2F%22hasprix_entreprise%28%29%22%20or%20%22__call%28%29%22%20exist%20and%20have%20public%20access%20in%20class%20%22App%5CEntity%5CTraining%22." |
| x-debug-exception-file | "%2Fvar%2Fwww%2Fhtml%2Fwebsite_dev%2Ftemplates%2Ftraining%2Findex2.html.twig:28" |
| x-debug-token | "3cd612" |
| x-debug-token-link | "https://dev.tobehelper.fr/_profiler/4eb9fd" |
| x-previous-debug-token | "4eb9fd" |
| 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" => "/var/www/html/website_dev/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
"line" => 41
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/twig-bridge/AppVariable.php"
"line" => 92
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/twig/twig/src/Extension/CoreExtension.php"
"line" => 1861
"function" => "getUser"
"class" => "Symfony\Bridge\Twig\AppVariable"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/var/cache/dev/twig/31/3139d5dc1402bcc914395b60acbbb8b4.php"
"line" => 146
"function" => "getAttribute"
"class" => "Twig\Extension\CoreExtension"
"type" => "::"
]
[
"file" => "/var/www/html/website_dev/vendor/twig/twig/src/Template.php"
"line" => 387
"function" => "doDisplay"
"class" => "__TwigTemplate_f6755affa7a4bd7607c0d443b10a2340"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/var/cache/dev/twig/73/737d41331010cd246f541b775c1082ff.php"
"line" => 54
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/twig/twig/src/Template.php"
"line" => 387
"function" => "doDisplay"
"class" => "__TwigTemplate_eb8b0e06fb63ed09bd9f9c121ddccaab"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/twig/twig/src/Template.php"
"line" => 343
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/twig/twig/src/Template.php"
"line" => 358
"function" => "display"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/twig/twig/src/TemplateWrapper.php"
"line" => 35
"function" => "render"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/twig/twig/src/Environment.php"
"line" => 320
"function" => "render"
"class" => "Twig\TemplateWrapper"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 431
"function" => "render"
"class" => "Twig\Environment"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 436
"function" => "doRenderView"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 250
"function" => "doRender"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/src/Controller/TrainingController.php"
"line" => 23
"function" => "render"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 183
"function" => "index2"
"class" => "App\Controller\TrainingController"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/http-kernel/Kernel.php"
"line" => 182
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/website_dev/public/index.php"
"line" => 5
"args" => [
"/var/www/html/website_dev/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 | "6b655999335cbe3ae0ad3f97daf4f900" |
| DATABASE_URL | "mysql://helper:To-Be-Helper1@127.0.0.1:3306/website_dev?serverVersion=10.11.6-MariaDB&charset=utf8mb4" |
| JWT_SECRET | "OhLaB3ll3Broue11e!" |
| MAILER_DSN | "smtp://contact@tobehelper.fr:To-Be-Helper1@ns0.ovh.net:587" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=1" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTENT_LENGTH | "" |
| CONTENT_TYPE | "" |
| DOCUMENT_ROOT | "/var/www/html/website_dev/public/" |
| DOCUMENT_URI | "/index.php" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/home/marceau" |
| HTTPS | "On" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_CONNECTION | "Keep-Alive" |
| HTTP_HOST | "dev.tobehelper.fr" |
| HTTP_MOD_REWRITE | "On" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| HTTP_X_FORWARDED_FOR | "216.73.216.42" |
| HTTP_X_FORWARDED_HOST | "dev.tobehelper.fr" |
| HTTP_X_FORWARDED_SERVER | "dev.tobehelper.fr" |
| LANG | "fr_FR.UTF-8" |
| LC_ALL | "C" |
| LOGNAME | "marceau" |
| OLDPWD | "/home/marceau" |
| PATH | "/usr/bin:/bin" |
| PATH_INFO | "/formations2" |
| PGGSSENCMODE | "disable" |
| PHP_BINARY | "/usr/bin/php8.4" |
| PHP_PATH | "/usr/bin/php8.4" |
| PHP_PEAR_PHP_BIN | "/usr/bin/php8.4" |
| PHP_SELF | "/index.php/formations2" |
| PWD | "/var/www/html/website_dev" |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REEXEC_STATUS_FILE | "/home/marceau/.symfony5/var/status-2872339491" |
| REEXEC_WATCH_PID | "910" |
| REMOTE_ADDR | "::1" |
| REMOTE_PORT | "45248" |
| REQUEST_METHOD | "GET" |
| REQUEST_TIME | 1764991687 |
| REQUEST_TIME_FLOAT | 1764991687.4149 |
| REQUEST_URI | "/formations2" |
| SCRIPT_FILENAME | "/var/www/html/website_dev/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_NAME | "dev.tobehelper.fr" |
| SERVER_PORT | "8013" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SOFTWARE | "symfony-cli/5.15.1" |
| SHELL | "/bin/sh" |
| SYMFONY_APPLICATION_DEFAULT_ROUTE_HOST | "127.0.0.1:8013" |
| SYMFONY_APPLICATION_DEFAULT_ROUTE_PATH | "/" |
| SYMFONY_APPLICATION_DEFAULT_ROUTE_PORT | "8013" |
| SYMFONY_APPLICATION_DEFAULT_ROUTE_SCHEME | "https" |
| SYMFONY_APPLICATION_DEFAULT_ROUTE_URL | "https://127.0.0.1:8013/" |
| SYMFONY_DEFAULT_ROUTE_HOST | "127.0.0.1:8013" |
| SYMFONY_DEFAULT_ROUTE_PATH | "/" |
| SYMFONY_DEFAULT_ROUTE_PORT | "8013" |
| SYMFONY_DEFAULT_ROUTE_SCHEME | "https" |
| SYMFONY_DEFAULT_ROUTE_URL | "https://127.0.0.1:8013/" |
| SYMFONY_DOCKER_ENV | "" |
| SYMFONY_DOTENV_PATH | "/var/www/html/website_dev/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,JWT_SECRET" |
| SYMFONY_PROJECT_DEFAULT_ROUTE_HOST | "127.0.0.1:8013" |
| SYMFONY_PROJECT_DEFAULT_ROUTE_PATH | "/" |
| SYMFONY_PROJECT_DEFAULT_ROUTE_PORT | "8013" |
| SYMFONY_PROJECT_DEFAULT_ROUTE_SCHEME | "https" |
| SYMFONY_PROJECT_DEFAULT_ROUTE_URL | "https://127.0.0.1:8013/" |
| SYMFONY_TUNNEL | "" |
| SYMFONY_TUNNEL_BRAND | "" |
| SYMFONY_TUNNEL_ENV | "" |
| USER | "marceau" |
| X_FORWARDED_PORT | "8013" |
Sub Requests 1
ErrorController (token = 4eb9fd)
| Key | Value |
|---|---|
| _controller | "error_controller" |
| _stopwatch_token | "bf40a9" |
| exception | Twig\Error\RuntimeError {#961 #message: "Neither the property "prix_entreprise" nor one of the methods "prix_entreprise()", "getprix_entreprise()"/"isprix_entreprise()"/"hasprix_entreprise()" or "__call()" exist and have public access in class "App\Entity\Training"." #code: 0 #file: "/var/www/html/website_dev/templates/training/index2.html.twig" #line: 28 -lineno: 28 -name: "training/index2.html.twig" -rawMessage: "Neither the property "prix_entreprise" nor one of the methods "prix_entreprise()", "getprix_entreprise()"/"isprix_entreprise()"/"hasprix_entreprise()" or "__call()" exist and have public access in class "App\Entity\Training"." -sourcePath: "/var/www/html/website_dev/templates/training/index2.html.twig" -sourceCode: """ {% extends 'base.html.twig' %}\n \n {% block title %}\n Hello TrainingController!\n {% endblock %}\n \n {% block body %}\n <div class="container mt-4">\n <h1 class="mb-4 bleu">Nos Formations</h1>\n \n <div class="row">\n {% for formation in formations %}\n {% if formation.actif == 1 %}\n <div class="col-md-6 mb-4">\n <div class="card h-100">\n <div class="card-body">\n <h5 class="card-title rouge">{{ formation.titre }}</h5>\n <p class="card-text">{{ formation.description|nl2br }}</p>\n \n <div class="mt-3">\n <p>\n <strong><i class="fas fa-clock icon"></i> Durée:</strong> {{ formation.duree }}\n </p>\n <p>\n <strong><i class="fas fa-coins"></i> Prix:</strong> {{ formation.prix|number_format(2, ',', ' ') }} €\n </p>\n <p>\n <strong><i class="fas fa-coins"></i> Prix:</strong> {{ formation.prix_entreprise|number_format(2, ',', ' ') }} €\n </p>\n </div>\n \n {% if formation.fichepdf %}\n <a href="/uploads/fiches/{{ formation.fichepdf }}" class="btn btn-primary" target="_blank" download="formation_{{ formation.titre }}.pdf">\n <i class="fas fa-download me-2"></i>\n Télécharger la fiche de formation\n </a>\n {% endif %}\n </div>\n </div>\n </div>\n {% endif %}\n {% endfor %}\n </div>\n </div>\n {% endblock %}\n """ : { { Twig\Extension\CoreExtension::getAttribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = Template::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) … › |
| logger | Symfony\Bridge\Monolog\Processor\DebugProcessor {#145 -records: [ 2 => [ [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.426+00:00" "message" => "Matched route "{route}"." "priority" => 200 "priorityName" => "INFO" "context" => [ "route" => "app_training2" "route_parameters" => [ "_route" => "app_training2" "_controller" => "App\Controller\TrainingController::index2" ] "request_uri" => "https://dev.tobehelper.fr/formations2" "method" => "GET" ] "channel" => "request" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.427+00:00" "message" => "Checking for authenticator support." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "firewall_name" => "main" "authenticators" => 1 ] "channel" => "security" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.427+00:00" "message" => "Checking support on authenticator." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "firewall_name" => "main" "authenticator" => "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" ] "channel" => "security" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.427+00:00" "message" => "Authenticator does not support the request." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "firewall_name" => "main" "authenticator" => "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" ] "channel" => "security" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequestPrettyUrls" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.428+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.431+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.431+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.431+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.431+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "ContainerYJHhk1M\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.431+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.433+00:00" "message" => "Connecting with parameters {params}" "priority" => 200 "priorityName" => "INFO" "context" => [ "params" => [ "use_savepoints" => true "driver" => "pdo_mysql" "idle_connection_ttl" => 600 "host" => "127.0.0.1" "port" => 3306 "user" => "helper" "password" => "<redacted>" "driverOptions" => [] "defaultTableOptions" => [] "dbname" => "website_dev" "serverVersion" => "10.11.6-MariaDB" "charset" => "utf8mb4" ] ] "channel" => "doctrine" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.434+00:00" "message" => "Executing query: {sql}" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT t0.id AS id_1, t0.titre AS titre_2, t0.description AS description_3, t0.duree AS duree_4, t0.prix AS prix_5, t0.prix_entreprise AS prix_entreprise_6, t0.fiche_pdf AS fiche_pdf_7, t0.date_creation AS date_creation_8, t0.actif AS actif_9 FROM training t0" ] "channel" => "doctrine" ] [ "timestamp" => 1764991687 "timestamp_rfc3339" => "2025-12-06T03:28:07.438+00:00" "message" => "Uncaught PHP Exception Twig\Error\RuntimeError: "Neither the property "prix_entreprise" nor one of the methods "prix_entreprise()", "getprix_entreprise()"/"isprix_entreprise()"/"hasprix_entreprise()" or "__call()" exist and have public access in class "App\Entity\Training"." at index2.html.twig line 28" "priority" => 500 "priorityName" => "CRITICAL" "context" => [ "exception" => Twig\Error\RuntimeError {#961 #message: "Neither the property "prix_entreprise" nor one of the methods "prix_entreprise()", "getprix_entreprise()"/"isprix_entreprise()"/"hasprix_entreprise()" or "__call()" exist and have public access in class "App\Entity\Training"." #code: 0 #file: "/var/www/html/website_dev/templates/training/index2.html.twig" #line: 28 -lineno: 28 -name: "training/index2.html.twig" -rawMessage: "Neither the property "prix_entreprise" nor one of the methods "prix_entreprise()", "getprix_entreprise()"/"isprix_entreprise()"/"hasprix_entreprise()" or "__call()" exist and have public access in class "App\Entity\Training"." -sourcePath: "/var/www/html/website_dev/templates/training/index2.html.twig" -sourceCode: """ {% extends 'base.html.twig' %}\n \n {% block title %}\n Hello TrainingController!\n {% endblock %}\n \n {% block body %}\n <div class="container mt-4">\n <h1 class="mb-4 bleu">Nos Formations</h1>\n \n <div class="row">\n {% for formation in formations %}\n {% if formation.actif == 1 %}\n <div class="col-md-6 mb-4">\n <div class="card h-100">\n <div class="card-body">\n <h5 class="card-title rouge">{{ formation.titre }}</h5>\n <p class="card-text">{{ formation.description|nl2br }}</p>\n \n <div class="mt-3">\n <p>\n <strong><i class="fas fa-clock icon"></i> Durée:</strong> {{ formation.duree }}\n </p>\n <p>\n <strong><i class="fas fa-coins"></i> Prix:</strong> {{ formation.prix|number_format(2, ',', ' ') }} €\n </p>\n <p>\n <strong><i class="fas fa-coins"></i> Prix:</strong> {{ formation.prix_entreprise|number_format(2, ',', ' ') }} €\n </p>\n </div>\n \n {% if formation.fichepdf %}\n <a href="/uploads/fiches/{{ formation.fichepdf }}" class="btn btn-primary" target="_blank" download="formation_{{ formation.titre }}.pdf">\n <i class="fas fa-download me-2"></i>\n Télécharger la fiche de formation\n </a>\n {% endif %}\n </div>\n </div>\n </div>\n {% endif %}\n {% endfor %}\n </div>\n </div>\n {% endblock %}\n """ : { { Twig\Extension\CoreExtension::getAttribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = Template::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) … › |