https://deamonerp.fr/cpi2/public/uploads/formations/ok?p=uploads%2Fformations%2Fok

ErrorController

Request

GET Parameters

Key Value
p
"uploads/formations/ok"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"d1f9cf"
exception
Twig\Error\RuntimeError {#1393
  -lineno: 5
  -name: "default/detailsFormation.html.twig"
  -rawMessage: "Impossible to access an attribute ("reference") on a null variable."
  -sourcePath: "/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/templates/default/detailsFormation.html.twig"
  -sourceCode: """
    {# BASE LOAD #}\n
    {% extends 'base.html.twig' %}\n
    \n
    {# TITLE TOP PAGE #}\n
    {% block title %}CPI | {% if app.request.locale == 'fr' %}Détails de la formation{% else %}Training details{% endif %} {{formation.reference}}{% endblock %}\n
    \n
    {# CSS #}\n
    {% block stylesheet %}\n
        <link rel="stylesheet" href="{{ asset('css/decouverte_formation.css') }}">\n
    {% endblock %}\n
    \n
    {# BODY HOME PAGE #}\n
    {% block body %}\n
     <main>\n
                <div class="accueil text-light">\n
                   <div class="container noMargin" style="margin-top: 20px;">\n
                    <div class="row justify-content-md-center justify-content-start justify-content-lg-start">\n
                        <div class="col-12 col-lg-6">\n
                            <img src="{{asset('uploads/formations/'~formation.image)}}" alt="" class="img-fluid">\n
                        </div>\n
                        <div class="col-12 col-lg-6 align-self-center order-first order-lg-last" style="padding-left: 60px;">\n
                            <div class="row my-5">\n
                                <div class="menu d-flex flex-column flex-md-row" >\n
                        <p class="text-center text-md-start" style="border: solid 1px #fff; padding:5px; text-transform:uppercase">\n
        {% if app.request.locale == 'fr' %}\n
            {% if formation.sujetsFormations is not null and formation.sujetsFormations.titreFr is not null %}\n
                {{ formation.sujetsFormations.titreFr }}\n
            {% else %}\n
                " "\n
            {% endif %}\n
        {% else %}\n
            {% if formation.sujetsFormations is not null and formation.sujetsFormations.titreEn is not null %}\n
                {{ formation.sujetsFormations.titreEn }}\n
            {% else %}\n
                " "\n
            {% endif %}\n
        {% endif %}\n
    </p>\n
    \n
                                    <span class="text-center text-md-start"  style="padding-left:20px;font-size:12px;  color:#7393fa">REF - {{formation.reference}}</span>                       \n
                                </div>\n
                            </div>\n
                            \n
                            <h1 style="font-size: 54px;\n
                            font-weight: bold;">{% if app.request.locale == 'fr' %}{{formation.titreFr}}{% else %}{{formation.titreEn}}{% endif %} </h1>\n
                                                    <hr style="opacity: 0.5;\n
                            height: 2px !important;\n
                            border: solid 1px #fff;margin-top: 50px;\n
                            margin-bottom: 50px;">\n
                            <p  style="font-size:26px ; font-weight: 100!important;">{% if app.request.locale == 'fr' %}{{formation.texteFr|raw}}{% else %}{{formation.texteEn|raw}}{% endif %}</p>\n
                            \n
                            <div class="row pb-5 noBottom ">\n
                                <div class="btn1">\n
                                    <a href="#sessions"><button style="border:solid 1px #fff">{% if app.request.locale == 'fr' %}M'inscrire{% else %}Sign up{% endif %}</button></a>\n
                                </div>\n
                               \n
                            </div>\n
                        </div>\n
                    </div>\n
                   </div> \n
                </div>\n
    \n
    \n
    \n
                <section style="">\n
            <div class="container">\n
                <div class="row ">\n
              \n
    </div>\n
    </div>\n
    </section>\n
    \n
    \n
    <!-- Modale pour demander document -->\n
    <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true" style="width:100%!important; height:100%!important">\n
        <div class="modal-dialog">\n
          <div class="modal-content">\n
            <div class="modal-body">\n
      \n
              <div class="formulaireFile">\n
                  <div class="row">\n
                      <div class="col">\n
                          <p class="pa1">{% if app.request.locale == 'fr' %}Nous vous remercions de votre intérêt pour la solution DELMIAWorks.{% else %}Thank you for your interest in the DELMIAWorks solution.{% endif %}</p>\n
                          <p class="pa2">{% if app.request.locale == 'fr' %}Afin de pouvoir obtenir la documentation, nous vous remercions de bien vouloir renseigner vos coordonnées.{% else %}Please fill in your contact details so that we can send you the documentatio{% endif %}</p>\n
                          \n
                      </div>\n
                      \n
                  </div>\n
                  \n
                  <div class="row pt-3">\n
                  <form action="{{path('sendDocument')}}" method="post">\n
                  <input type="hidden" id="idDocument" name="document">\n
                  <div class="row">\n
                      <div class="col-6 w100">\n
                          <p class="pa3"> <b>{% trans %}form-nom{% endtrans %}</b><span style="color:red;">*</span></p>\n
                          <input type="text" id="Nom" name="nom" required>\n
                      </div>\n
                      <div class="col-6 w100">\n
                          <p class="pa3"> <b>{% trans %}form-prenom{% endtrans %}</b><span style="color:red;">*</span></p>\n
                          <input type="text" id="Prenom" name="prenom" required>\n
                      </div>\n
                  </div>\n
                  </div>\n
                  <div class="row py-3">\n
                      <div class="col w100">\n
                          <p class="pa3"> <b>{% trans %}form-societe{% endtrans %}</b><span style="color:red;">*</span></p>\n
                          <input type="text" id="nomSociete" name="societe" required>\n
                      </div>\n
                      \n
                  </div>\n
                  <div class="row">\n
                      <div class="col w100">\n
                          <p class="pa3"> <b>{% trans %}form-email{% endtrans %}</b><span style="color:red;">*</span></p>\n
                          <input type="text" id="mail" name="mail" required>\n
                      </div>\n
                      \n
                  </div>\n
    \n
                \n
                  <div class="row pt-5">\n
                      <div class="col-7">\n
                          <div class="form-check d-flex">\n
                              <input class="form-check-input" type="checkbox" id="flexCheckDefault" name="flexCheckDefault" required>\n
                              <label class="form-check-label text-light" for="flexCheckDefault">\n
                              {% trans %}form-condition1{% endtrans %} <a href="{{asset('P-CPI-0032-RevOR-Politique protection des données site internet.pdf')}}" target="_blank">{% trans %}form-condition2{% endtrans %}\n
                          </div>\n
                      </div>\n
                      <div class="col-5">\n
                          <div class="d-flex justify-content-center align-items-start">\n
                              <button type="submit" class="buttonDoc">{% if app.request.locale == 'fr' %}Obtenir le document{% else %}Get the document{% endif %}</button>\n
                          </div>\n
                      </div>\n
                  </div>\n
                  </form>\n
      \n
              </div>\n
            </div>\n
            \n
          </div>\n
        </div>\n
      </div>\n
    \n
      <!-- Fin modal -->\n
    \n
            <section style="margin-top:92px; margin-bottom:112px">\n
                <div class="container">\n
                    <div class="row">\n
                        <div class="btn2">\n
                            <a href="{{path('genererpdf',{'id':formation.id})}}" target="_blank"><button style="border:solid 1px #fff;float:right"><i class="fa fa-download" aria-hidden="true" style="margin-right:5px"></i>{% if app.request.locale == 'fr' %}Télécharger la fiche d'information{% else %}Download the information sheet{% endif %}</button></a>\n
                        </div>\n
                    </div>\n
                </div>\n
                <div class="container">\n
                    <div class="row">\n
                     {% if app.request.get('send') == 'success' %}\n
                                    <h4 style="color:green">{% if app.request.locale == 'fr' %}Votre message a bien été envoyé{% else %}Your message has been sent{% endif %}</h4>\n
                                    {% endif %}\n
                        <div class="col-lg-8 col-12">\n
                        <article style="margin-bottom:50px">\n
                                <div class="menu mb-5">\n
                                    <div class="ligneBleu"></div>\n
                                    <p style="top: -1.5px;position: relative;">{% if app.request.locale == 'fr' %}OBJECTIFS{% else %}OBJECTIVES{% endif %}</p>\n
                                </div>\n
                                <p style="font-weight: 100;">{% if app.request.locale == 'fr' %}{{formation.objectifsFr|raw}}{% else %}{{formation.objectifsEn|raw}}{% endif %}</p>\n
                            </article>\n
    \n
                            <article style="margin-bottom:50px">\n
                                <div class="menu mb-5">\n
                                    <div class="ligneBleu"></div>\n
                                    <p style="top: -1.5px;position: relative;">{% if app.request.locale == 'fr' %}PREREQUIS{% else %}REQUIREMENTS{% endif %}</p>\n
                                </div>\n
                                <p style="font-weight: 100;">{% if app.request.locale == 'fr' %}{{formation.prerequisFr|raw}}{% else %}{{formation.prerequisEn|raw}}{% endif %}</p>\n
                            </article>\n
    \n
                             <article class="accueilOnlyResponsive" style="margin-bottom:50px">\n
                                <div class="menu mb-5">\n
                                    <div class="ligneBleu"></div>\n
                                    <p style="top: -1.5px;position: relative;">{% if app.request.locale == 'fr' %}DETAILS{% else %}DETAILS{% endif %}</p>\n
                                </div>\n
                                 <div class="col-lg-4 col-12">\n
                        <div class="accueil3Resp">\n
                                    <div class="row justify-content-between">\n
                                        <div class="col">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/sand-clock.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}DUREE{% else %}DURATION{% endif %}</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col text-end">\n
                                            <p> <b> {% if app.request.locale == 'en' %}\n
                {{ formation.duree|replace({'jour': 'day'}) }}\n
            {% else %}\n
                {{ formation.duree }}\n
            {% endif %}</b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                    <div class="row pt-4 justify-content-between" style="position: relative;right: 7px;">\n
                                        <div class="col">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/user-add.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}PARTICIPANTS{% else %}ATTENDEES{% endif %}</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col text-end">\n
                                            <p> <b>{% if app.request.locale == 'fr' %}{{formation.nbParticipants}}{% else %}{{formation.nbParticipantsEn}}{% endif %}</b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                    <div class="row pt-4 justify-content-between">\n
                                        <div class="col-8">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/user-add.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}DELAIS D'ACCES{% else %}ACCESS TIME{% endif %}</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col-4 text-end">\n
                                            <p> <b>{% if app.request.locale == 'fr' %}{{formation.delaiFr}}{% else %}{{formation.delaiEn}}{% endif %}</b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                    <div class="row pt-4 justify-content-between">\n
                                        <div class="col-8">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/user-add.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}CATEGORIE{% else %}CATEGORY{% endif %}</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col-4 text-end">\n
                                            <p> <b>{% if app.request.locale == 'fr' %}Métier{% else %}Job{% endif %}</b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                   \n
                                   \n
                                  \n
                                    <div class="row pt-4 justify-content-between">\n
                                        <div class="accordion" id="accordionExample">\n
                                            <div class="accordion-item" id="accordion-one">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/boy.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>PUBLIC</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <style>\n
                                                    .accordion-body li::marker\n
                                                    {\n
                                                        color:#163AF5;\n
                                                        font-size:20px\n
                                                    }\n
                                                </style>\n
                                                <div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne" data-bs-parent="#accordionExample" style="">\n
                                                <div class="accordion-body">\n
                                                  \n
                                                    {% if app.request.locale == 'fr' %}{{formation.publicFr|raw}}{% else %}{{formation.publicEn|raw}}{% endif %}\n
    \n
                                                </div>\n
                                                </div>\n
                                            </div>\n
                                            <hr>\n
    \n
    \n
    \n
                                           {% if formation.moyenFr != '' %}\n
                                            <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMoyen" aria-expanded="true" aria-controls="collapseMoyen">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/toolbox.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>{% if app.request.locale == 'fr' %}MOYENS ET METHODES{% else %}MEANS AND METHODS{% endif %}</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseMoyen" class="accordion-collapse collapse " aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                            {% if app.request.locale == 'fr' %}{{formation.moyenFr|raw}}{% else %}{{formation.moyenEn|raw}}{% endif %}\n
                                                            </div>\n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div>\n
                                            {% endif %}\n
    \n
    \n
                                            <hr>\n
    \n
                                            \n
    \n
    \n
    \n
                                            {% if formation.SuviFr != '' %}\n
                                            <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAccesss" aria-expanded="true" aria-controls="collapseAccesss">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                             <img class="img-fluid" src="{{asset('img/Formation-A/play-list-check.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>{% if app.request.locale == 'fr' %}SUIVI ET EVALUATION{% else %}MONITORING AND EVALUATION{% endif %}</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseAccesss" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                               <p>\n
                                                               {% if app.request.locale == 'fr' %}\n
                                                                    {{ formation.SuviFr|raw }}\n
                                                                {% else %}\n
                                                                    {{ formation.SuiviEn|raw }}\n
                                                                {% endif %}\n
                                                               </p>\n
                                                                \n
                                                            </div>\n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div>\n
                                            {% endif %}\n
    \n
    \n
                                            <hr>\n
                                            {% if formation.accessibiliteFr != '' %}\n
                                            <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAccess" aria-expanded="true" aria-controls="collapseAccess">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/controller.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>{% if app.request.locale == 'fr' %}ACCESSIBILITE{% else %}ACCESSIBILITY{% endif %}</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseAccess" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                               <p>{% if app.request.locale == 'fr' %}{{formation.accessibiliteFr|raw}}{% else %}{{formation.accessibiliteEn|raw}}{% endif %}</p>\n
                                                                \n
                                                            </div>\n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div>\n
                                            {% endif %}\n
                                        </div>\n
                                    </div>\n
                            </article>\n
    \n
                            <article style="margin-bottom:50px">\n
                                <div class="menu mb-5">\n
                                    <div class="ligneBleu"></div>\n
                                    <p style="top: -1.5px;position: relative;">{% if app.request.locale == 'fr' %}CONTENUS{% else %}CONTENTS{% endif %}</p>\n
                                </div>\n
                                <p style="font-weight: 100;">{% if app.request.locale == 'fr' %}{{formation.contenusFr|raw}}{% else %}{{formation.contenusEn|raw}}{% endif %}</p>\n
                            </article>\n
    \n
    \n
    \n
                        \n
                            <article style="margin-bottom:50px" id="sessions">\n
                                <div class="menu mb-5">\n
                                    <div class="ligneBleu"></div>\n
                                    <p style="top: -1.5px;position: relative;">{% if app.request.locale == 'fr' %}LES SESSIONS A VENIR{% else %}UPCOMING SESSIONS{% endif %}</p>\n
                                </div>\n
                            <div class="col-12">\n
                            <div class="row" style="padding-left:15px;padding-right:15px;">\n
                                <table class="table table-striped">\n
      <thead>\n
      \n
        <tr>\n
          <th scope="col-12">\n
          <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/calendar.svg')}}" alt="">\n
                                                    <p>DATE</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
          </th>\n
    \n
     <th scope="col">\n
     <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/comment.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}LANGUE{% else %}LANGUAGE{% endif %}</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
          </th>\n
    \n
    \n
       <th scope="col">\n
          <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/toolbox.svg')}}" alt="">\n
                                                    <p>TYPE</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
        </th>\n
    \n
            <th scope="col">\n
         \n
    \n
    \n
          <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/pin.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}LIEU{% else %}LOCATION{% endif %}</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
          </th>\n
    \n
          <th scope="col">\n
          <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/euro.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}TARIF HT{% else %}RATE EXCL.{% endif %}<br>\n
                                                    </p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                                        </th>\n
                                                        </tr>\n
                                                    </thead>\n
                                                    <tbody>\n
    {% set sessions = [] %}\n
    \n
    {% for res in formation.sessionsFormations %}\n
        {% if res.date is not null %}\n
            {% set sessions = sessions|merge([res]) %}\n
        {% endif %}\n
    {% endfor %}\n
    \n
    {% set sortedSessions = sessions|sort((a, b) => a.date|default('9999-12-31')|date('U') - b.date|default('9999-12-31')|date('U')) %}\n
    \n
    {% for res in sortedSessions|reverse %}\n
        <tr>\n
            <th scope="row">\n
                {% if res.date is null %}\n
                    {% if app.request.locale == 'fr' %}Nous consulter{% else %}Contact us{% endif %}\n
                {% else %}\n
                    {{ res.date|date('d/m/Y') }}\n
                {% endif %}\n
            </th>\n
            <td>{% if app.request.locale == 'fr' %}{{ res.languesFr|raw }}{% else %}{{ res.languesEn|raw }}{% endif %}</td>\n
            <td>{% if app.request.locale == 'fr' %}{{ res.typesFormations.titreFr|raw }}{% else %}{{ res.typesFormations.titreEn|raw }}{% endif %}</td>\n
            <td>\n
                {% if app.request.locale == 'en' %}\n
                    {{ res.lieuEn|raw|replace({'A convenir': 'To agree', 'A distance': 'Remote'}) }}\n
                {% else %}\n
                    {{ res.lieu|raw }}\n
                {% endif %}\n
            </td>\n
            <td><b>\n
                {% if app.request.locale == 'en' %}\n
                    {{ res.tarifs|raw|replace({'par jour / pers.': 'per Day / pers.','Nous consulter' : 'Contact us', 'par jour (1-4 pers.)' : 'per day (1-4 pers)' }) }}\n
                {% else %}\n
                    {{ res.tarifs|raw }}\n
                {% endif %}\n
            </b></td>\n
        </tr>\n
    {% endfor %}\n
    \n
    {% for res in formation.sessionsFormations %}\n
        {% if res.date is null %}\n
            <tr>\n
                <th scope="row">\n
                    {% if app.request.locale == 'fr' %}Nous consulter{% else %}Contact us{% endif %}\n
                </th>\n
                <td>{% if app.request.locale == 'fr' %}{{ res.languesFr|raw }}{% else %}{{ res.languesEn|raw }}{% endif %}</td>\n
                <td>{% if app.request.locale == 'fr' %}{{ res.typesFormations.titreFr|raw }}{% else %}{{ res.typesFormations.titreEn|raw }}{% endif %}</td>\n
                <td>\n
                    {% if app.request.locale == 'en' %}\n
                        {{ res.lieuEn|raw|replace({'A convenir': 'To agree', 'A distance': 'Remote'}) }}\n
                    {% else %}\n
                        {{ res.lieu|raw }}\n
                    {% endif %}\n
                </td>\n
                <td><b>\n
                    {% if app.request.locale == 'en' %}\n
                        {{ res.tarifs|raw|replace({'par jour / pers.': 'per Day / pers.','Nous consulter' : 'Contact us', 'par jour (1-4 pers.)' : 'per day (1-4 pers)' }) }}\n
                    {% else %}\n
                        {{ res.tarifs|raw }}\n
                    {% endif %}\n
                </b></td>\n
            </tr>\n
        {% endif %}\n
    {% endfor %}\n
    \n
    \n
    \n
                                                        \n
                                                    </tbody>\n
                                                    </table>\n
                                                    </div>\n
                                                    </div>\n
                            </article>\n
    \n
    \n
    \n
    \n
    \n
    <article>\n
    <div class="opensans_bold_50 noPaddingTop pt-5" style="color:blue; font-size: 36px;">\n
                                    {% if app.request.locale == 'fr' %}Inscription{% else %}Registration{% endif %} <span style="font-size:16px; float:right; font-weight:300; color:#000"><span style="color:red;">*</span>{% if app.request.locale == 'fr' %}Champs obligatoire.{% else %}Required fields.{% endif %}</span>\n
                                </div>\n
    \n
                                   <h2 style="font-size: 24px;\n
    font-weight: bold; color:black">  {% if app.request.locale == 'fr' %}{{formation.titreFr}}{% else %}{{formation.titreEn}}{% endif %} </h2>\n
                                <p class="fw-light mt-5 mb-5"></p>\n
                                <form action="{{path('sendFormDetailsFormation')}}" method="POST">\n
                                    <div class="formulaire">\n
                                        <div class="row my-4">\n
                                            <div class="col">\n
                                                <p>  <b>  {% if app.request.locale == 'fr' %}Session{% else %}Session{% endif %} </b>  <span style="color:red;">*</span></p>\n
                                                <select id="session" name="session" required>\n
                                                    <option value="">  {% if app.request.locale == 'fr' %}Voir les sessions disponibles{% else %}See available sessions{% endif %}</option>\n
                                                    {% for res in formation.sessionsFormations %}\n
                                                    <option value="\n
                                                    {{res.id}}">\n
    \n
                                                    {% if res.date == null %}\n
                                                        {% if app.request.locale == 'fr' %}Nous Consulter{% else %}Contact us{% endif %}\n
                                                    {% else %}\n
                                                        {{ res.date|date('d/m/Y') }}\n
                                                     {% endif %}\n
    \n
    \n
    \n
                                                                    - {{res.type}} -  {% if app.request.locale == 'en' %}\n
                                                                    {{ res.lieuEn|raw|replace({'A convenir': 'To agree', 'A distance': 'Remote'}) }}\n
                                                                {% else %}\n
                                                                    {{ res.lieu|raw }}\n
                                                                {% endif %}</option>\n
                                                    {% endfor %}\n
                                                                                                    \n
                                                </select>\n
                                            </div>\n
                                        </div>\n
                                        <div class="row my-4">\n
                                            <div class="col">\n
                                                <p><b>{% trans %}form-nom{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':97})}}"><button type="button"  style="margin-left:10px" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</b> <span style="color:red;">*</span></p>\n
                                                <input type="text" id="nom" name="nom" required>\n
                                            </div>\n
                                            <div class="col">\n
                                                <p><b>{% trans %}form-prenom{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':98})}}"><button type="button"  style="margin-left:10px" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</b> <span style="color:red;">*</span></p>\n
                                                <input type="text" id="prenom" name="prenom" required>\n
                                            </div>\n
                                        </div>\n
                                        <div class="row mb-4">\n
                                            <div class="col">\n
                                                <p><b>{% trans %}form-societe{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':99})}}"><button type="button"  style="margin-left:10px" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</b> <span style="color:red;">*</span></p>\n
                                                <input type="text" id="societe" name="societe" required>\n
                                            </div>\n
                                        </div>\n
                                        <div class="row mb-4">\n
                                            <div class="col">\n
                                                <p><b>{% trans %}form-email{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':105})}}"><button type="button"  style="margin-left:10px" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</b><span style="color:red;"> *</span></p>\n
                                                <input type="email" id="email" name="email" required>\n
                                            </div>\n
                                            <div class="col">\n
                                                <p><b>{% trans %}form-tel{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':106})}}"><button type="button"  style="margin-left:10px" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</b> <span style="color:red;">*</span></p>\n
                                                <input type="text" id="telephone" name="telephone" required>\n
                                            </div>\n
                                        </div>\n
                                        <div class="row mb-4">\n
                                            <div class="col">\n
                                                <p> <b>{% if app.request.locale == 'fr' %}Remarque{% else %}Note{% endif %}</b></p>\n
                                                <textarea id="remarque" name="remarque" rows="5"></textarea>\n
                                            </div>\n
                                        </div>\n
                                    </div>\n
                                    <div class="row pt-3 d-flex flex-lg-row flex-column">\n
                                                <div class="col-12 col-xl-6 d-flex" style="margin-bottom:20px;">\n
                                                    <div class="g-recaptcha" data-sitekey="6Lf0RGEnAAAAAJcwFd-oTX1mAE4Rqr7ENpEHL70L"></div>\n
                                                    <div class="error-message">\n
                                                        {% if app.request.query.has('recaptcha_error') %}\n
                                                            <span style="color: red;">{% if app.request.locale == 'fr' %}La vérification reCAPTCHA a échoué. Veuillez réessayer.{% else %}The reCAPTCHA check failed. Please try again.{% endif %}</span>\n
                                                        {% endif %}\n
                                                    </div>\n
                                                </div>\n
                                                <div class="col-12 col-xl-6 mt-3 mt-md-0">\n
                                                    <div class="col-12 ">\n
                                                        <div class="form-check">\n
                                                            <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault" name="confidentialite" required>\n
                                                            <label class="form-check-label" for="flexCheckDefault">                                                       \n
                                                                {% trans %}form-condition1{% endtrans %} <a href="{{ path('politique',{'locale':app.request.locale})}}" target="_blank">{% trans %}form-condition2{% endtrans %}</a>\n
                                                        </div>\n
                                                    </div>\n
                                                    <div class="col-12 ">\n
                                                        <div class="bouton-bleu text-end">\n
                                                            <button type="submit">{% if app.request.locale == 'fr' %}Postuler{% else %}Apply{% endif %}</button>\n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div>\n
                                    \n
                                </form>\n
    </article>\n
    \n
    \n
                       \n
                        </div>\n
                        <div class="col-lg-4 col-12">\n
                        <div class="accueil3">\n
                                    <div class="row justify-content-between">\n
                                        <div class="col">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/sand-clock.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}DUREE{% else %}DURATION{% endif %} </p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col text-end">\n
                                            <p> <b> {% if app.request.locale == 'en' %}\n
                {{ formation.duree|replace({'jour': 'day'}) }}\n
            {% else %}\n
                {{ formation.duree }}\n
            {% endif %}</b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                    <div class="row pt-4 justify-content-between">\n
                                        <div class="col">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/user-add.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}PARTICIPANTS{% else %}ATTENDEES{% endif %} </p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col text-end">\n
                                            <p> <b>{% if app.request.locale == 'fr' %}{{formation.nbParticipants}}{% else %}{{formation.nbParticipantsEn}}{% endif %}</b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                    <div class="row pt-4 justify-content-between">\n
                                        <div class="col-8">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/user-add.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}DELAIS D'ACCES{% else %}ACCESS TIME{% endif %}</p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col-4 text-end">\n
                                            <p> <b>{% if app.request.locale == 'fr' %}{{formation.delaiFr}}{% else %}{{formation.delaiEn}}{% endif %} </b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                     <div class="row pt-4 justify-content-between">\n
                                        <div class="col-8">\n
                                            <div class="titre_traitBleu">\n
                                                <div class="titre">\n
                                                    <img class="img-fluid" src="{{asset('img/Formation-A/user-add.svg')}}" alt="">\n
                                                    <p>{% if app.request.locale == 'fr' %}CATEGORIE{% else %}CATEGORY{% endif %} </p>\n
                                                </div>\n
                                                <div class="trait-bleu">\n
                                                    <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                </div>\n
                                            </div>\n
                                        </div>\n
                                        <div class="col-4 text-end">\n
                                            <p> <b>{% if app.request.locale == 'fr' %}Métier{% else %}Job{% endif %}</b> </p>\n
                                        </div>\n
                                    </div>\n
                                    <hr>\n
                                   \n
                                   \n
                                 \n
                                    <div class="row pt-4 justify-content-between" style="position:relative;right:7px;">\n
                                        <div class="accordion" id="accordionExample">\n
                                            <div class="accordion-item" id="accordion-one">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/boy.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>PUBLIC</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <style>\n
                                                    .accordion-body li::marker\n
                                                    {\n
                                                        color:#163AF5;\n
                                                        font-size:20px\n
                                                    }\n
                                                </style>\n
                                                <div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne" data-bs-parent="#accordionExample" style="">\n
                                                <div class="accordion-body">\n
                                                   {% if app.request.locale == 'fr' %}{{formation.publicFr|raw}}{% else %}{{formation.publicEn|raw}}{% endif %}\n
                                                  \n
                                                </div>\n
                                                </div>\n
                                            </div>\n
                                            <hr>\n
                                            {% if formation.moyenFr != '' %}\n
                                            <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMoyen" aria-expanded="true" aria-controls="collapseMoyen">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/toolbox.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>{% if app.request.locale == 'fr' %}MOYENS ET METHODES{% else %}MEANS AND METHODS{% endif %} </p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseMoyen" class="accordion-collapse collapse " aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                             {% if app.request.locale == 'fr' %}{{formation.moyenFr|raw}}{% else %}{{formation.moyenEn|raw}}{% endif %} \n
                                                            </div>\n
    \n
    \n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div>\n
                                            {% endif %}\n
                                            <hr>\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
                                            {% if formation.SuviFr != '' %}\n
                                            <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="true" aria-controls="collapseTwo">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/play-list-check.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>{% if app.request.locale == 'fr' %}SUIVI ET EVALUATION{% else %}MONITORING AND EVALUATION{% endif %} </p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseTwo" class="accordion-collapse collapse " aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                            <p> {% if app.request.locale == 'fr' %}\n
                                                                    {{ formation.SuviFr|raw }}\n
                                                                {% else %}\n
                                                                    {{ formation.SuiviEn|raw }}\n
                                                                {% endif %}</p>\n
                                                            </div>\n
    \n
    \n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div>\n
                                            {% endif %}\n
                                            <hr>\n
    \n
    \n
    \n
                                           \n
                                        \n
                                            {% if formation.accessibiliteFr != '' %}\n
                                            <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAcces" aria-expanded="true" aria-controls="collapseAcces">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/controller.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>{% if app.request.locale == 'fr' %}ACCESSIBILITE{% else %}ACCESSIBILITY{% endif %} </p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseAcces" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                               <p>{% if app.request.locale == 'fr' %}{{formation.accessibiliteFr|raw}}{% else %}{{formation.accessibiliteEn|raw}}{% endif %}</p>\n
                                                                \n
                                                            </div>\n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div>\n
                                            {% endif %}\n
                                        </div>\n
                                    </div>\n
                                    {# <hr> #}\n
                                    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {% if formation.moyenFr != '' %}\n
                                    {# <div class="row pt-4 justify-content-between">\n
                                        <div class="accordion" id="accordionExample"> #}\n
                                            {# <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMoyen" aria-expanded="true" aria-controls="collapseMoyen">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/toolbox.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>MOYENS ET METHODES</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseMoyen" class="accordion-collapse collapse show" aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                            {{formation.moyenFr|raw}}\n
                                                            </div>\n
    \n
    \n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div> #}\n
                                        {# </div>\n
                                    </div>\n
                                    <hr> #}\n
    {% endif %}\n
    \n
    \n
    {% if formation.SuviFr != '' %}\n
                                    {# <div class="row pt-4 justify-content-between">\n
                                        <div class="accordion" id="accordionExample"> #}\n
                                            {# <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseSuivi" aria-expanded="true" aria-controls="collapseSuivi">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/play-list-check.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>SUIVI ET EVALUATION</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseSuivi" class="accordion-collapse collapse show" aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                            {{formation.SuviFr|raw}}\n
                                                            </div>\n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div> #}\n
                                        {# </div>\n
                                    </div>\n
                                    <hr> #}\n
    {% endif %}\n
    \n
    {% if formation.accessibiliteFr != '' %}\n
                                    {# <div class="row pt-4 justify-content-between">\n
                                        <div class="accordion" id="accordionExample"> #}\n
                                            {# <div class="accordion-item">\n
                                                <h2 class="accordion-header">\n
                                                <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAcces" aria-expanded="true" aria-controls="collapseAcces">\n
                                                    <div class="titre_traitBleu">\n
                                                        <div class="titre">\n
                                                            <img class="img-fluid" src="{{asset('img/Formation-A/controller.svg')}}" alt="" style="margin-top: -7px;">\n
                                                            <p>ACCESSIBILITE</p>\n
                                                        </div>\n
                                                        <div class="trait-bleu">\n
                                                            <img class="img-fluid" src="{{asset('img/recrutement/Ligne 80.svg')}}" alt="">\n
                                                        </div>\n
                                                    </div>\n
                                                </button>\n
                                                </h2>\n
                                                <div id="collapseAcces" class="accordion-collapse collapse show" aria-labelledby="headingTwo" data-bs-parent="#accordionExample" style="">\n
                                                    <div class="accordion-body">\n
                                                        <div class="row py-3">\n
                                                            <div class="col">\n
                                                               <p>{{formation.accessibiliteFr|raw}}</p>\n
                                                                \n
                                                            </div>\n
                                                        </div>\n
                                                    </div>\n
                                                </div>\n
                                            </div> #}\n
                                        {# </div>\n
                                    </div>\n
                                    <hr> #}\n
    {% endif %}\n
                                    \n
    \n
    \n
                                </div>\n
                        </div>\n
                    </div>\n
                </div>\n
            </section>\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
                </div>\n
              \n
            </main>\n
    \n
               <!-- Google reCAPTCHA script -->\n
    <script src="https://www.google.com/recaptcha/api.js" async defer></script>\n
    <script src="https://www.google.com/recaptcha/api.js?hl={{ app.request.locale == 'fr' ? 'fr' : 'en' }}"></script>\n
    \n
    \n
    \n
    {% endblock %}
    """
  #message: "Impossible to access an attribute ("reference") on a null variable."
  #code: 0
  #file: "/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/templates/default/detailsFormation.html.twig"
  #line: 5
  trace: {
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/templates/default/detailsFormation.html.twig:5 {
      twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › {# TITLE TOP PAGE #}{% block title %}CPI | {% if app.request.locale == 'fr' %}Détails de la formation{% else %}Training details{% endif %} {{formation.reference}}{% endblock %}}
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/var/cache/dev/twig/16/16f5a8ab16a2dca773ce249d1cb56d0de2f2b956d2a0f57fda88b31d4dff076c.php:76 {
      __TwigTemplate_dbf3698ffd6c567e10a4476b1ccfbe3b1974cfd150868328de62a1469a1bd2a0->block_title($context, array $blocks = []) …
      › echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 5, $this->source); })()), "reference", [], "any", false, false, false, 5), "html", null, true);}
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/Template.php:171 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/templates/base.html.twig:8 {
      __TwigTemplate_28da4d6755b6cc9b54d8068260de9791fc0dbf500a2c22097a12175b326b4c8b->doDisplay(array $context, array $blocks = []) …
      › <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> --><title>{% block title %}Welcome!{% endblock %}</title><link rel="icon" href="{{asset('img/favicon-16x16.png')}}">
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/var/cache/dev/twig/16/16f5a8ab16a2dca773ce249d1cb56d0de2f2b956d2a0f57fda88b31d4dff076c.php:50 {
      __TwigTemplate_dbf3698ffd6c567e10a4476b1ccfbe3b1974cfd150868328de62a1469a1bd2a0->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("base.html.twig", "default/detailsFormation.html.twig", 2);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/twig/twig/src/Environment.php:280 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/framework-bundle/Controller/AbstractController.php:258 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/framework-bundle/Controller/AbstractController.php:266 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);}
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/src/Controller/DefaultController.php:439 {
      App\Controller\DefaultController->detailsFormation($locale, FormationsRepository $formationsRepository, SessionsFormationsRepository $sessionsFormationsRepository, $ref): Response …
      › 'formationsall' => $formationsRepository->findAll(),'$dates' => $dates,}
    /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
connection
"close"
host
"deamonerp.fr"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"141.94.247.171"

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, 19 Jan 2025 02:19:16 GMT"
vary
"Accept"
x-debug-exception
"Impossible%20to%20access%20an%20attribute%20%28%22reference%22%29%20on%20a%20null%20variable."
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fdeamonerp.fr%2Fhttpdocs%2Fcpi2%2Ftemplates%2Fdefault%2FdetailsFormation.html.twig:5"
x-debug-token
"01f3f4"

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_CONNECTION
"close"
HTTP_HOST
"deamonerp.fr"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"141.94.247.171"
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=uploads/formations/ok"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"p=uploads/formations/ok"
REDIRECT_SCRIPT_URI
"https://deamonerp.fr/cpi2/public/uploads/formations/ok"
REDIRECT_SCRIPT_URL
"/cpi2/public/uploads/formations/ok"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z4xhJNKH6mr0R1yR5OAw4wAAAAk"
REDIRECT_URL
"/cpi2/public/uploads/formations/ok"
REMOTE_ADDR
"141.94.247.171"
REMOTE_PORT
"58502"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1737253156
REQUEST_TIME_FLOAT
1737253156.2913
REQUEST_URI
"/cpi2/public/uploads/formations/ok"
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/uploads/formations/ok"
SCRIPT_URL
"/cpi2/public/uploads/formations/ok"
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
"Z4xhJNKH6mr0R1yR5OAw4wAAAAk"

Parent Request

Return to parent request (token = cce35d)

Key Value
_controller
"App\Controller\DefaultController::detailsFormation"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"detailsFormation"
_route_params
[
  "locale" => "uploads"
  "ref" => "ok"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"403d57"
locale
"uploads"
ref
"ok"