Error 500 Internal Server Error

GET https://actnr.fr/bilan-carbone/43

Forwarded to ErrorController (f95e0d)

BilanCarboneController :: index

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\BilanCarboneController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_bc_index"
_route_params
[
  "company" => "43"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"47254a"
company
App\Entity\Company {#639
  -id: 43
  -name: "Groupe Laforêt"
  -accompanist: null
  -companyMembers: Doctrine\ORM\PersistentCollection {#601 …}
  -evaluations: Doctrine\ORM\PersistentCollection {#478 …}
  -enterProgram: DateTimeImmutable @1742079600 {#564
    date: 2025-03-16 00:00:00.0 Europe/Zurich (+01:00)
  }
  -objectives: Doctrine\ORM\PersistentCollection {#465 …}
  -updatedAt: null
  -lastUpdator: null
  -logo: "LAFORET-Logotype-long-RGB-67d6b57fdced0.webp"
  -companyQuestionnaires: Doctrine\ORM\PersistentCollection {#678 …}
  -activeQuestionnaires: null
  -companyIndicatorThematics: Doctrine\ORM\PersistentCollection {#470 …}
  -memberships: Doctrine\ORM\PersistentCollection {#443 …}
  -lastMembership: null
  -BCCompanies: Doctrine\ORM\PersistentCollection {#607 …}
  -companyLabelNR: Doctrine\ORM\PersistentCollection {#638 …}
  -companyAuditNR: Doctrine\ORM\PersistentCollection {#532 …}
  -labelNR: false
  -bilanCarbone: true
  -auditNR: false
  -training: false
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
from
"gptbot(at)openai.com"
host
"actnr.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-forwarded-proto
"https"
x-openai-host-hash
"443073906"
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
"Mon, 16 Jun 2025 04:25:50 GMT"
vary
"Accept"
x-debug-exception
"Impossible%20to%20access%20an%20attribute%20%28%22companyMember%22%29%20on%20a%20null%20variable."
x-debug-exception-file
"%2Fhome%2Fclients%2Fb2c9b347357ad143786bc797d7bd0ce1%2Fsites%2Fresponsable.bilbea.fr%2Ftemplates%2Fpartials%2F_sidebar.html.twig:21"
x-debug-token
"f1be40"
x-debug-token-link
"https://actnr.fr/_profiler/f95e0d"
x-previous-debug-token
"f95e0d"
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/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/twig-bridge/AppVariable.php"
    "line" => 78
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Extension/CoreExtension.php"
    "line" => 1754
    "function" => "getUser"
    "class" => "Symfony\Bridge\Twig\AppVariable"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/var/cache/dev/twig/0d/0dc883bd8e32ed9b97d0b980031add3f.php"
    "line" => 80
    "function" => "getAttribute"
    "class" => "Twig\Extension\CoreExtension"
    "type" => "::"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php"
    "line" => 393
    "function" => "doDisplay"
    "class" => "__TwigTemplate_5640aeb3c07be393ea2588e676b0bc9a"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/var/cache/dev/twig/72/7295ebe20646a27b097078c4064c3f60.php"
    "line" => 84
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php"
    "line" => 393
    "function" => "doDisplay"
    "class" => "__TwigTemplate_1f973ba59af2b99377cde1d4fbd6ac8c"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/var/cache/dev/twig/6a/6a9f932c8648bf9c903bcea24160a833.php"
    "line" => 57
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php"
    "line" => 393
    "function" => "doDisplay"
    "class" => "__TwigTemplate_b4dcafe84fe6ced4c381fcac1e198a54"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php"
    "line" => 349
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php"
    "line" => 364
    "function" => "display"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/TemplateWrapper.php"
    "line" => 35
    "function" => "render"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Environment.php"
    "line" => 306
    "function" => "render"
    "class" => "Twig\TemplateWrapper"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 242
    "function" => "render"
    "class" => "Twig\Environment"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 253
    "function" => "renderView"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/src/Controller/BilanCarboneController.php"
    "line" => 85
    "function" => "render"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "index"
    "class" => "App\Controller\BilanCarboneController"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/public/index.php"
    "line" => 5
    "args" => [
      "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/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
"cab869457e98d580a593830369936ab8"
COLOR_1
"86, 150, 200"
COLOR_10
"106, 200, 184"
COLOR_2
"201, 166, 144"
COLOR_3
"160, 206, 59"
COLOR_4
"172, 92, 173"
COLOR_5
"247, 157, 38"
COLOR_6
"106, 200, 184"
COLOR_7
"106, 200, 184"
COLOR_8
"106, 200, 184"
COLOR_9
"106, 200, 184"
COLOR_LIGHT_1
"234, 240, 245"
COLOR_LIGHT_10
"236, 245, 243"
COLOR_LIGHT_2
"238, 234, 231"
COLOR_LIGHT_3
"241, 246, 231"
COLOR_LIGHT_4
"242, 234, 242"
COLOR_LIGHT_5
"250, 241, 229"
COLOR_LIGHT_6
"236, 245, 243"
COLOR_LIGHT_7
"236, 245, 243"
COLOR_LIGHT_8
"236, 245, 243"
COLOR_LIGHT_9
"236, 245, 243"
DATABASE_URL
"mysql://j984s_admin-resp:5YOIj-8amH8-W5dD1@j984s.myd.infomaniak.com/j984s_resp76140"
EMAIL_DOMAIN
"hebergement-client@bilbea.fr"
EMAIL_DOMAIN_NAME
"Bilbea"
MAILER_DSN
"mailjet+smtp://0b2b89b5d2298316306ff1d012ba2bff:1acca5b859d155931fd9591c725f9f71@in-v3.mailjet.com"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/.config/apache/responsable.bilbea.fr/.fpm/"
CONTEXT_PREFIX
"/.fpm/"
DOCUMENT_ROOT
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"actnr.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_OPENAI_HOST_HASH
"443073906"
ORIG_PATH_INFO
"/index.php"
ORIG_PATH_TRANSLATED
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/public/index.php"
ORIG_SCRIPT_FILENAME
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/.config/apache/responsable.bilbea.fr/.fpm/php5.external"
ORIG_SCRIPT_NAME
"/.fpm/php5.external"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
PHP_VERSION
"8.2"
QUERY_STRING
""
REDIRECT_HANDLER
"php5-fcgi"
REDIRECT_HTTPS
"on"
REDIRECT_PHP_VERSION
"8.2"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_PHP_VERSION
"8.2"
REDIRECT_REDIRECT_SCRIPT_URI
"https://actnr.fr/bilan-carbone/43"
REDIRECT_REDIRECT_SCRIPT_URL
"/bilan-carbone/43"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_UNIQUE_ID
"aE-cztZb3D7dkMh_6djH5AAAAIg"
REDIRECT_SCRIPT_URI
"https://actnr.fr/bilan-carbone/43"
REDIRECT_SCRIPT_URL
"/bilan-carbone/43"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aE-cztZb3D7dkMh_6djH5AAAAIg"
REDIRECT_URL
"/index.php"
REMOTE_ADDR
"20.171.207.167"
REMOTE_PORT
"60758"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1750047950
REQUEST_TIME_FLOAT
1750047950.6877
REQUEST_URI
"/bilan-carbone/43"
SCRIPT_FILENAME
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://actnr.fr/bilan-carbone/43"
SCRIPT_URL
"/bilan-carbone/43"
SERVER_ADDR
"127.0.0.80"
SERVER_ADMIN
"hosting@bilbea.fr"
SERVER_NAME
"actnr.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,COLOR_1,COLOR_2,COLOR_3,COLOR_4,COLOR_5,COLOR_6,COLOR_7,COLOR_8,COLOR_9,COLOR_10,COLOR_LIGHT_1,COLOR_LIGHT_2,COLOR_LIGHT_3,COLOR_LIGHT_4,COLOR_LIGHT_5,COLOR_LIGHT_6,COLOR_LIGHT_7,COLOR_LIGHT_8,COLOR_LIGHT_9,COLOR_LIGHT_10,MAILER_DSN,EMAIL_DOMAIN,EMAIL_DOMAIN_NAME"
TEMP
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/tmp"
TMP
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/tmp"
TMPDIR
"/home/clients/b2c9b347357ad143786bc797d7bd0ce1/tmp"
UNIQUE_ID
"aE-cztZb3D7dkMh_6djH5AAAAIg"

Sub Requests 1

ErrorController (token = f95e0d)

Key Value
_controller
"error_controller"
_stopwatch_token
"9a0b4b"
exception
Twig\Error\RuntimeError {#1609
  #message: "Impossible to access an attribute ("companyMember") on a null variable."
  #code: 0
  #file: "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/partials/_sidebar.html.twig"
  #line: 21
  -lineno: 21
  -name: "partials/_sidebar.html.twig"
  -rawMessage: "Impossible to access an attribute ("companyMember") on a null variable."
  -sourcePath: "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/partials/_sidebar.html.twig"
  -sourceCode: """
    <nav class="header-mobile d-flex d-lg-none justify-content-between align-items-center bg-white  border-1 border-bottom px-4 py-3">\r\n
    \t<a class="header-logo d-flex align-items-center " href="{{ path('app_home') }}" aria-label="Retour à l'accueil"><img class="w-100" loading="lazy" src="{{ asset('assets/images/Bilbea-logo-H sans.webp') }}" alt=""/></a>\r\n
    \r\n
    \t<button id="open-sidebar" type="button" class="fill-primary icon-button" aria-label="Menu" title="Menu">\r\n
    \t\t<svg class="icon-large" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>\r\n
    \t</button>\r\n
    </nav>\r\n
    \r\n
    <nav id="sidebar" class="sidebar border-1 border-end px-3 py-3 py-2 flex-column ">\r\n
    \r\n
    \t<div class="d-flex justify-content-between align-items-center mb-3 gap-4">\r\n
    \t\t<a class="sidebar-logo d-block w-100" href="{{ path('app_home') }}" aria-label="Retour à l'accueil"><img class="w-100" loading="lazy" src="{{ asset('assets/images/Bilbea-logo-H sans.webp') }}" alt=""/></a>\r\n
    \r\n
    \t\t<button id="close-sidebar" type="button" class="fill-primary icon-button d-block d-lg-none" aria-label="Fermer le menu" title="Fermer le menu">\r\n
    \t\t\t<svg class="icon-large" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 384 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>\r\n
    \t\t</button>\r\n
    \t</div>\r\n
    \t<ul class="sidebar-nav navbar-nav fs-6 flex-fill">\r\n
    \r\n
    \r\n
    \t\t{% if app.user.companyMember %}\r\n
    \r\n
    \t\t\t{% set company = app.user.companyMember.company  %}\r\n
    \t\t\t{% set companyId = app.user.companyMember.company.id  %}\r\n
    \r\n
    \t\t{% elseif app.request.attributes.get('company')  %}\r\n
    \t\t\t{% set company = app.request.attributes.get('company')  %}\r\n
    \t\t\t{% set companyId = app.request.attributes.get('company').id  %}\r\n
    \t\t{% else %}\r\n
    \t\t\t{% if app.request.attributes.get('evaluation')  %}\r\n
    \t\t\t\t{% set company = app.request.attributes.get('evaluation').company  %}\r\n
    \t\t\t\t{% set companyId = app.request.attributes.get('evaluation').company.id  %}\r\n
    \r\n
    \t\t\t{% elseif app.request.attributes.get('bilan')  %}\r\n
    \t\t\t\t{% set company = app.request.attributes.get('bilan').company  %}\r\n
    \t\t\t\t{% set companyId = app.request.attributes.get('bilan').company.id  %}\r\n
    \t\t\t{% elseif app.request.attributes.get('labelNR')  %}\r\n
    \t\t\t\t{% set company = app.request.attributes.get('labelNR').company  %}\r\n
    \t\t\t\t{% set companyId = app.request.attributes.get('labelNR').company.id  %}\r\n
    \t\t\t{% elseif app.request.attributes.get('auditNR')  %}\r\n
    \t\t\t\t{% set company = app.request.attributes.get('auditNR').company  %}\r\n
    \t\t\t\t{% set companyId = app.request.attributes.get('auditNR').company.id  %}\r\n
    \r\n
    \t\t\t{% else %}\r\n
    \t\t\t\t{% set company = null  %}\r\n
    \t\t\t\t{% set companyId = null  %}\r\n
    \t\t\t{% endif %}\r\n
    \t\t{% endif %}\r\n
    \r\n
    \r\n
    \t\t{% if is_granted('ROLE_COMPANY')  %}\r\n
    \t\t\t<li>\r\n
    \t\t\t\t<h4 class="fs-5 mt-2">{{company.name}}</h4>\r\n
    \t\t\t</li>\r\n
    \r\n
    \t\t\t{% if is_granted('ROLE_COMPANY_PILOT')  %}\r\n
    \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_pilot_manage_members", "arguments" : null, "linkLabel": "Membres", "iconPath": "icons/_users_icon.html.twig", "app": app} %}\r\n
    \t\t\t{% endif %}\r\n
    \t\t\t{# {% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_roadmap_index", "arguments" : null, "linkLabel": "Dashboard", "iconPath": "icons/_dashboard_icon.html.twig", "app": app} %} #}\r\n
    \r\n
    \t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_roadmap_index", "arguments" : null, "linkLabel": "Feuille de route", "iconPath": "icons/_calendar_icon.html.twig", "app": app} %}\r\n
    \r\n
    \t\t\t{% if company.isAuditNR %}\r\n
    \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_maturity_nr", "arguments" : null, "linkLabel": "Maturité NR", "iconPath": "icons/_maturite_icon.html.twig", "app": app} %}\r\n
    \t\t\t{% endif %}\r\n
    \t\t\t{% if company.isLabelNR %}\r\n
    \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_label_nr", "arguments" : null, "linkLabel": "Label NR", "iconPath": "icons/_label_icon.html.twig", "app": app} %}\r\n
    \t\t\t{% endif %}\r\n
    \r\n
    \t\t\t{% if company.isBilanCarbone %}\r\n
    \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_bc_index", "arguments" : null, "linkLabel": "Bilan Carbone SI", "iconPath": "icons/_bilan_icon.html.twig", "app": app} %}\r\n
    \t\t\t{% endif %}\r\n
    \t\t{% endif %}\r\n
    \r\n
    \t\t{% if is_granted('ROLE_BILBEA') or is_granted('ROLE_ADMIN') %}\r\n
    \t\t\t<li class="nav-item text-end text-lg-start">\r\n
    \t\t\t\t<a class="d-flex flex-nowrap nav-link fs-6 rounded {% if app.request.get('_route') ==  'app_backoffice' %}active {% endif %}" aria-current="page" href="{{path('app_backoffice')}}">\r\n
    \t\t\t\t\t<span class="d-flex justify-content-center align-items-center col-2 fill-ongoing">\r\n
    \t\t\t\t\t\t<svg class="me-2 text-icon" xmlns="http://www.w3.org/2000/svg" height="1em" viewbox="0 0 576 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"/></svg>\r\n
    \t\t\t\t\t</span>\r\n
    \t\t\t\t\t<span>Backoffice</span>\r\n
    \t\t\t\t</a>\r\n
    \t\t\t</li>\r\n
    \t\t\t{% if companyId %}\r\n
    \t\t\t\t<li>\r\n
    \t\t\t\t\t<hr class="mb-2 mt-1">\r\n
    \t\t\t\t\t<h4 class="fs-5 mt-2">{{company.name}}</h4>\r\n
    \t\t\t\t</li>\r\n
    \t\t\t\t{# {% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_roadmap_index", "arguments" : {company: companyId}, "linkLabel": "Dashboard", "iconPath": "icons/_dashboard_icon.html.twig", "app": app} %} #}\r\n
    \r\n
    \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_roadmap_index", "arguments" : {company: companyId}, "linkLabel": "Feuille de route", "iconPath": "icons/_calendar_icon.html.twig", "app": app} %}\r\n
    \r\n
    \t\t\t\t{% if company.isAuditNR %}\r\n
    \t\t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_maturity_nr", "arguments" : {company: companyId}, "linkLabel": "Maturité NR", "iconPath": "icons/_maturite_icon.html.twig", "app": app} %}\r\n
    \t\t\t\t{% endif %}\r\n
    \r\n
    \t\t\t\t{% if company.isLabelNR %}\r\n
    \t\t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_label_nr", "arguments" : {company: companyId}, "linkLabel": "Label NR", "iconPath": "icons/_label_icon.html.twig", "app": app} %}\r\n
    \t\t\t\t{% endif %}\r\n
    \r\n
    \t\t\t\t{% if company.isBilanCarbone %}\r\n
    \t\t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {"path": "app_bc_index", "arguments" : {company: companyId}, "linkLabel": "Bilan Carbone SI", "iconPath": "icons/_bilan_icon.html.twig", "app": app} %}\r\n
    \t\t\t\t{% endif %}\r\n
    \t\t\t{% endif %}\r\n
    \r\n
    \r\n
    \t\t{% endif %}\r\n
    \r\n
    \t</ul>\r\n
    \r\n
    \r\n
    \t<div>\r\n
    \r\n
    \t\t<p class="small mb-2">Connecté en tant que\r\n
    \t\t\t<br>\r\n
    \t\t\t<span class="text-primary fw-semibold fs-5">{{app.user.getName}}</span>\r\n
    \t\t</p>\r\n
    \t\t<div class="d-flex align-items-center gap-2">\r\n
    \t\t\t{% if is_granted('ROLE_COMPANY')  %}\r\n
    \t\t\t\t<a href="{{path('app_profile')}}" class="fill-black" aria-label="Lien vers profil" title="Profil">\r\n
    \t\t\t\t\t<svg class="icon-large" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: ;msFilter:;">\r\n
    \t\t\t\t\t\t<path d="M12 16c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.084 0 2 .916 2 2s-.916 2-2 2-2-.916-2-2 .916-2 2-2z"></path>\r\n
    \t\t\t\t\t\t<path d="m2.845 16.136 1 1.73c.531.917 1.809 1.261 2.73.73l.529-.306A8.1 8.1 0 0 0 9 19.402V20c0 1.103.897 2 2 2h2c1.103 0 2-.897 2-2v-.598a8.132 8.132 0 0 0 1.896-1.111l.529.306c.923.53 2.198.188 2.731-.731l.999-1.729a2.001 2.001 0 0 0-.731-2.732l-.505-.292a7.718 7.718 0 0 0 0-2.224l.505-.292a2.002 2.002 0 0 0 .731-2.732l-.999-1.729c-.531-.92-1.808-1.265-2.731-.732l-.529.306A8.1 8.1 0 0 0 15 4.598V4c0-1.103-.897-2-2-2h-2c-1.103 0-2 .897-2 2v.598a8.132 8.132 0 0 0-1.896 1.111l-.529-.306c-.924-.531-2.2-.187-2.731.732l-.999 1.729a2.001 2.001 0 0 0 .731 2.732l.505.292a7.683 7.683 0 0 0 0 2.223l-.505.292a2.003 2.003 0 0 0-.731 2.733zm3.326-2.758A5.703 5.703 0 0 1 6 12c0-.462.058-.926.17-1.378a.999.999 0 0 0-.47-1.108l-1.123-.65.998-1.729 1.145.662a.997.997 0 0 0 1.188-.142 6.071 6.071 0 0 1 2.384-1.399A1 1 0 0 0 11 5.3V4h2v1.3a1 1 0 0 0 .708.956 6.083 6.083 0 0 1 2.384 1.399.999.999 0 0 0 1.188.142l1.144-.661 1 1.729-1.124.649a1 1 0 0 0-.47 1.108c.112.452.17.916.17 1.378 0 .461-.058.925-.171 1.378a1 1 0 0 0 .471 1.108l1.123.649-.998 1.729-1.145-.661a.996.996 0 0 0-1.188.142 6.071 6.071 0 0 1-2.384 1.399A1 1 0 0 0 13 18.7l.002 1.3H11v-1.3a1 1 0 0 0-.708-.956 6.083 6.083 0 0 1-2.384-1.399.992.992 0 0 0-1.188-.141l-1.144.662-1-1.729 1.124-.651a1 1 0 0 0 .471-1.108z"></path>\r\n
    \t\t\t\t\t</svg>\r\n
    \t\t\t\t</a>\r\n
    \t\t\t{% endif %}\r\n
    \t\t\t<a href="{{path('app_edit_password_complete')}}" class="fill-black" aria-label="Lien vers modification du mot de passe" title="Modifier mot de passe">\r\n
    \t\t\t\t<svg class="icon-large" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: ;msFilter:;">\r\n
    \t\t\t\t\t<path d="M12 2C9.243 2 7 4.243 7 7v2H6c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v2H9V7zm9.002 13H13v-2.278c.595-.347 1-.985 1-1.722 0-1.103-.897-2-2-2s-2 .897-2 2c0 .736.405 1.375 1 1.722V20H6v-9h12l.002 9z"></path>\r\n
    \t\t\t\t</svg>\r\n
    \t\t\t</a>\r\n
    \t\t\t<a href="{{path('app_logout')}}" class="fill-black" aria-label="Lien vers déconnexion" title="Déconnexion">\r\n
    \t\t\t\t<svg class="icon-large" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: ;msFilter:;">\r\n
    \t\t\t\t\t<path d="M16 13v-2H7V8l-5 4 5 4v-3z"></path>\r\n
    \t\t\t\t\t<path d="M20 3h-9c-1.103 0-2 .897-2 2v4h2V5h9v14h-9v-4H9v4c0 1.103.897 2 2 2h9c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2z"></path>\r\n
    \t\t\t\t</svg>\r\n
    \t\t\t</a>\r\n
    \t\t</div>\r\n
    \r\n
    \t</div>\r\n
    </nav>\r\n
    """
  trace: {
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/partials/_sidebar.html.twig:21 {
      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) …
      › \r{% if app.user.companyMember %}\r\r
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/partials/_sidebar.html.twig:21 {
      __TwigTemplate_5640aeb3c07be393ea2588e676b0bc9a->doDisplay(array $context, array $blocks = []): iterable …
      › \r{% if app.user.companyMember %}\r\r
      arguments: {
        $env: Twig\Environment {#1476 …}
        $source: Twig\Source {#1568 …}
        $object: null
        $item: "companyMember"
        $arguments: []
        $type: "any"
        $isDefinedTest: false
        $ignoreStrictCheck: false
        $sandboxed: false
        $lineno: 21
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php:393 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › try {    yield from $this->doDisplay($context, $blocks);} catch (Error $e) {
      arguments: {
        $context: [ …7]
        $blocks: [ …5]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/base.html.twig:21 {
      __TwigTemplate_1f973ba59af2b99377cde1d4fbd6ac8c->doDisplay(array $context, array $blocks = []): iterable …
      › \r{% include "partials/_sidebar.html.twig" %}\r\r
      arguments: {
        $context: [ …7]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php:393 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › try {    yield from $this->doDisplay($context, $blocks);} catch (Error $e) {
      arguments: {
        $context: [ …7]
        $blocks: [ …5]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/var/cache/dev/twig/6a/6a9f932c8648bf9c903bcea24160a833.php:57 {
      __TwigTemplate_b4dcafe84fe6ced4c381fcac1e198a54->doDisplay(array $context, array $blocks = []): iterable …
      › $this->parent = $this->loadTemplate("base.html.twig", "bilan_carbone/index.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));arguments: {
        $context: [ …7]
        $blocks: [ …6]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php:393 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › try {    yield from $this->doDisplay($context, $blocks);} catch (Error $e) {
      arguments: {
        $context: [ …7]
        $blocks: [ …5]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php:349 {
      Twig\Template->display(array $context, array $blocks = []): void …
      › {    foreach ($this->yield($context, $blocks) as $data) {        echo $data;
      arguments: {
        $context: [ …7]
        $blocks: [ …5]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Template.php:364 {
      Twig\Template->render(array $context): string …
      › try {    $this->display($context);} catch (\Throwable $e) {
      arguments: {
        $context: [ …6]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/TemplateWrapper.php:35 {
      Twig\TemplateWrapper->render(array $context = []): string …
      › {    return $this->template->render($context);}
      arguments: {
        $context: [ …6]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/twig/twig/src/Environment.php:306 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
      arguments: {
        $context: [ …6]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/framework-bundle/Controller/AbstractController.php:242 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
      arguments: {
        $name: "bilan_carbone/index.html.twig"
        $context: [ …6]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/framework-bundle/Controller/AbstractController.php:253 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);    $response ??= new Response();
      arguments: {
        $view: "bilan_carbone/index.html.twig"
        $parameters: [ …6]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/src/Controller/BilanCarboneController.php:85 {
      App\Controller\BilanCarboneController->index(?Company $company, Request $request, EntityManagerInterface $em, CompanyLabelNRTIRRepository $companyLabelNRTIRRepository, BCFamilleRepository $BCFamilleRepository): Response …
      › 
      › return $this->render('bilan_carbone/index.html.twig', [    'controller_name' => 'BilanCarboneController',
      arguments: {
        $view: "bilan_carbone/index.html.twig"
        $parameters: [ …6]
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/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);arguments: {
        $company: App\Entity\Company {#639 …}
        $request: Symfony\Component\HttpFoundation\Request {#13 …}
        $em: ContainerOeR4y1s\EntityManagerGhost51e8656 {#424 …}
        $companyLabelNRTIRRepository: App\Repository\CompanyLabelNRTIRRepository {#932 …}
        $BCFamilleRepository: App\Repository\BCFamilleRepository {#941 …}
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/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 {#13 …}
        $type: 1
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/symfony/http-kernel/Kernel.php:184 {
      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 {#13 …}
        $type: 1
        $catch: true
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/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 {#13 …}
      }
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#155 …9}