Error 500 Internal Server Error

GET https://www.cadeaux-chretiens.fr/custom-product

Exceptions

Variable "title" does not exist in base.html.twig at line 5.

Exception

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#766
  -lineno: 5
  -rawMessage: "Variable "title" does not exist."
  -source: Twig\Source {#758
    -code: """
      <!doctype html>\n
      <html lang="en" xmlns="http://www.w3.org/1999/xhtml">\n
      \t<head>\n
      \t\t<meta charset="UTF-8">\n
      \t\t<title>{{title}}</title>\n
      \t\t<meta name="description" content="...">\n
      \n
      \t\t<meta name="viewport" content="width=device-width, maximum-scale=5, initial-scale=1">\n
      \t\t<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->\n
      \n
      \t\t<!-- up to 10% speed up for external res -->\n
      \t\t<link rel="dns-prefetch" href="https://fonts.googleapis.com/">\n
      \t\t<link rel="dns-prefetch" href="https://fonts.gstatic.com/">\n
      \t\t<link rel="preconnect" href="https://fonts.googleapis.com/">\n
      \t\t<link rel="preconnect" href="https://fonts.gstatic.com/">\n
      \t\t<!-- preloading icon font is helping to speed up a little bit -->\n
      \t\t<link rel="preload" href="assets/fonts/flaticon/Flaticon.woff2" as="font" type="font/woff2" crossorigin>\n
      \n
      \t\t<link rel="stylesheet" href="assets/css/core.min.css">\n
      \t\t<link rel="stylesheet" href="assets/css/vendor_bundle.min.css">\n
      \t\t<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap" rel="stylesheet">\n
      \n
      \t\t<!-- favicon -->\n
      \t\t<link rel="shortcut icon" href="favicon.ico">\n
      \t\t<script src="https://js.stripe.com/dahlia/stripe.js"></script>\n
      \n
      \t</head>\n
      \n
               <!-- Header -->\n
            <header id="header" class="shadow-none">\n
      \n
              <!-- Navbar -->\n
              <div class="container position-relative">\n
      \n
      \n
                <nav class="navbar navbar-expand-lg navbar-light justify-content-lg-between justify-content-md-inherit">\n
      \n
                  <!-- navbar : brand (logo) -->\n
                  <a class="navbar-brand" href="/">\n
                    <img src="assets/images/logo/logo_dark.svg" width="110" height="38" alt="...">\n
                  </a>\n
      \n
                  <div class="align-items-start">\n
      \n
                    <!-- mobile menu button : show -->\n
                    <button class="navbar-toggler border-0 m-0" type="button" data-bs-toggle="collapse" data-bs-target="#navbarMainNav" aria-controls="navbarMainNav" aria-expanded="false" aria-label="Toggle navigation">\n
                      <svg width="25" viewBox="0 0 20 20">\n
                        <path d="M 19.9876 1.998 L -0.0108 1.998 L -0.0108 -0.0019 L 19.9876 -0.0019 L 19.9876 1.998 Z"></path>\n
                        <path d="M 19.9876 7.9979 L -0.0108 7.9979 L -0.0108 5.9979 L 19.9876 5.9979 L 19.9876 7.9979 Z"></path>\n
                        <path d="M 19.9876 13.9977 L -0.0108 13.9977 L -0.0108 11.9978 L 19.9876 11.9978 L 19.9876 13.9977 Z"></path>\n
                        <path d="M 19.9876 19.9976 L -0.0108 19.9976 L -0.0108 17.9976 L 19.9876 17.9976 L 19.9876 19.9976 Z"></path>\n
                      </svg>\n
                    </button>\n
      \n
                  </div>\n
      \n
      \n
      \n
      \n
                  <!-- Menu -->\n
                  <!--\n
      \n
                    Dropdown Classes (should be added to primary .dropdown-menu only, dropdown childs are also affected)\n
                      .dropdown-menu-dark     - dark dropdown (desktop only, will be white on mobile)\n
                      .dropdown-menu-hover    - open on hover\n
                      .dropdown-menu-clean    - no background color on hover\n
                      .dropdown-menu-invert     - open dropdown in oposite direction (left|right, according to RTL|LTR)\n
                      .dropdown-menu-uppercase  - uppercase text (font-size is scalled down to 13px)\n
                      .dropdown-click-ignore    - keep dropdown open on inside click (useful on forms inside dropdown)\n
      \n
                      Repositioning long dropdown childs (Example: Pages->Account)\n
                        .dropdown-menu-up-n100    - open up with top: -100px\n
                        .dropdown-menu-up-n100    - open up with top: -150px\n
                        .dropdown-menu-up-n180    - open up with top: -180px\n
                        .dropdown-menu-up-n220    - open up with top: -220px\n
                        .dropdown-menu-up-n250    - open up with top: -250px\n
                        .dropdown-menu-up       - open up without negative class\n
      \n
      \n
                      Dropdown prefix icon (optional, if enabled in variables.scss)\n
                        .prefix-link-icon .prefix-icon-dot    - link prefix\n
                        .prefix-link-icon .prefix-icon-line   - link prefix\n
                        .prefix-link-icon .prefix-icon-ico    - link prefix\n
                        .prefix-link-icon .prefix-icon-arrow  - link prefix\n
      \n
                      .nav-link.nav-link-caret-hide   - no dropdown icon indicator on main link\n
                      .nav-item.dropdown-mega     - required ONLY on fullwidth mega menu\n
      \n
                      Mobile animation - add to .navbar-collapse:\n
                      .navbar-animate-fadein\n
                      .navbar-animate-fadeinup\n
                      .navbar-animate-bouncein\n
      \n
                  -->\n
                  <div class="collapse navbar-collapse justify-content-end navbar-animate-fadein" id="navbarMainNav">\n
      \n
      \n
                    <!-- navbar : mobile menu -->\n
                    <div class="navbar-xs d-none"><!-- .sticky-top -->\n
      \n
                      <!-- mobile menu button : close -->\n
                      <button class="navbar-toggler pt-0" type="button" data-bs-toggle="collapse" data-bs-target="#navbarMainNav" aria-controls="navbarMainNav" aria-expanded="false" aria-label="Toggle navigation">\n
                        <svg width="20" viewBox="0 0 20 20">\n
                          <path d="M 20.7895 0.977 L 19.3752 -0.4364 L 10.081 8.8522 L 0.7869 -0.4364 L -0.6274 0.977 L 8.6668 10.2656 L -0.6274 19.5542 L 0.7869 20.9676 L 10.081 11.679 L 19.3752 20.9676 L 20.7895 19.5542 L 11.4953 10.2656 L 20.7895 0.977 Z"></path>\n
                        </svg>\n
                      </button>\n
      \n
                      <!-- \n
                        Mobile Menu Logo \n
                        Logo : height: 70px max\n
                      -->\n
                      <a class="navbar-brand" href="/">\n
                        <img src="assets/images/logo/logo_dark.svg" width="110" height="38" alt="...">\n
                      </a>\n
      \n
                    </div>\n
                    <!-- /navbar : mobile menu -->\n
      \n
      \n
      \n
                    <!-- navbar : navigation -->\n
                    <ul class="navbar-nav">\n
                      <!-- Menu -->\n
                      <!--\n
      \n
                        Dropdown Classes (should be added to primary .dropdown-menu only, dropdown childs are also affected)\n
                          .dropdown-menu-dark     - dark dropdown (desktop only, will be white on mobile)\n
                          .dropdown-menu-hover    - open on hover\n
                          .dropdown-menu-clean    - no background color on hover\n
                          .dropdown-menu-invert     - open dropdown in oposite direction (left|right, according to RTL|LTR)\n
                          .dropdown-menu-uppercase  - uppercase text (font-size is scalled down to 13px)\n
                          .dropdown-click-ignore    - keep dropdown open on inside click (useful on forms inside dropdown)\n
      \n
                          Repositioning long dropdown childs (Example: Pages->Account)\n
                            .dropdown-menu-up-n100    - open up with top: -100px\n
                            .dropdown-menu-up-n100    - open up with top: -150px\n
                            .dropdown-menu-up-n180    - open up with top: -180px\n
                            .dropdown-menu-up-n220    - open up with top: -220px\n
                            .dropdown-menu-up-n250    - open up with top: -250px\n
                            .dropdown-menu-up       - open up without negative class\n
      \n
      \n
                          Dropdown prefix icon (optional, if enabled in variables.scss)\n
                            .prefix-link-icon .prefix-icon-dot    - link prefix\n
                            .prefix-link-icon .prefix-icon-line   - link prefix\n
                            .prefix-link-icon .prefix-icon-ico    - link prefix\n
                            .prefix-link-icon .prefix-icon-arrow  - link prefix\n
      \n
                          .nav-link.nav-link-caret-hide   - no dropdown icon indicator on main link\n
                          .nav-item.dropdown-mega     - required ONLY on fullwidth mega menu\n
      \n
                      -->\n
                      <!-- mobile only image + simple search (d-block d-sm-none) -->\n
                      <li class="nav-item d-block d-sm-none">\n
      \n
                        <!-- image -->\n
                        <div class="mb-4">\n
                          <img width="600" height="600" class="img-fluid" src="demo.files/svg/artworks/people_crossbrowser.svg" alt="...">\n
                        </div>\n
      \n
                        <!-- search -->\n
                        <form method="get" action="#!search" class="input-group-over mb-4 bg-light p-2 form-control-pill">\n
                          <input type="text" name="keyword" value="" placeholder="Quick search..." class="form-control border-dashed">\n
                          <button class="btn btn-sm fi fi-search mx-3"></button>\n
                        </form>\n
      \n
                      </li>\n
      \n
      \n
                      <!-- home -->\n
                      <li class="nav-item dropdown active">\n
      \n
                        <a href="/"  class="nav-link " >\n
                          Accueil\n
                        </a>\n
      \n
      \n
                      </li>\n
      \n
      \n
                      <!-- features -->\n
                      <li class="nav-item dropdown">\n
      \n
                        <a href="/custom-product"  class="nav-link" >\n
                          Lot de 3 coeurs "Jésus t'aime" \n
                        </a>\n
      \n
                      </li>\n
      \n
      \n
      \n
      \n
                      <!-- pages -->\n
                      <li class="nav-item dropdown">\n
      \n
                        <a href="/contact"  class="nav-link " >\n
                          Contact\n
                        </a>\n
      \n
      \n
                      </li>\n
      \n
      \n
      \n
      \n
                 \n
      \n
      \n
      \n
      \n
      \n
      \n
      \n
      \n
       \n
      \n
      \n
      \n
              \n
                    </ul>\n
                    <!-- /navbar : navigation -->\n
      \n
      \n
                  </div>\n
      \n
                </nav>\n
      \n
              </div>\n
              <!-- /Navbar -->\n
      \n
            </header>\n
            <!-- /Header -->\n
      \n
      \n
              {% block body %}{% endblock %}\n
      \n
      \n
              \t\t\t<footer id="footer" class="shadow-xs">\n
      \t\t\t\t\n
      \t\t\t\t<div class="container py-5">\n
      \n
      \t\t\t\t\t<div class="row">\n
      \n
      \t\t\t\t\t\t<div class="col-12 col-lg-8">\n
      \n
      \t\t\t\t\t\t\t<div class="row mb-3">\n
      \n
      \t\t\t\t\t\t\t\t<!-- Col 1 -->\n
      \t\t\t\t\t\t\t\t<div class="col-12 col-lg-4 mb-1">\n
      \n
      \t\t\t\t\t\t\t\t\t<!-- mobile only : SOW Toggle Button -->\n
      \t\t\t\t\t\t\t\t\t<button class="clearfix btn btn-toggle btn-sm w-100 text-align-left shadow-md border rounded mb-1 d-block d-lg-none" \n
      \t\t\t\t\t\t\t\t\t\t\tdata-bs-target="#footer_c1" \n
      \t\t\t\t\t\t\t\t\t\t\tdata-toggle-container-class="d-none d-sm-block bg-white shadow-md border animate-fadein rounded p-3">\n
      \t\t\t\t\t\t\t\t\t\t\n
      \t\t\t\t\t\t\t\t\t\t<span class="group-icon p-2 float-start">\n
      \t\t\t\t\t\t\t\t\t\t\t<i class="fi fi-bars-2"></i>\n
      \t\t\t\t\t\t\t\t\t\t\t<i class="fi fi-close"></i>\n
      \t\t\t\t\t\t\t\t\t\t</span>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<span class="h5 py-2 m-0 float-start">\n
      \t\t\t\t\t\t\t\t\t\t\tOrders\n
      \t\t\t\t\t\t\t\t\t\t</span>\n
      \t\t\t\t\t\t\t\t\t</button>\n
      \n
      \t\t\t\t\t\t\t\t\t<!-- desktop only -->\n
      \t\t\t\t\t\t\t\t\t<h3 class="h5 py-3 m-0 d-none d-lg-block">\n
      \t\t\t\t\t\t\t\t\t\tÀ PROPOS\n
      \t\t\t\t\t\t\t\t\t</h3>\n
      \n
      \n
      \t\t\t\t\t\t\t\t\t<!-- navbar : navigation -->\n
      \t\t\t\t\t\t\t\t\t<ul id="footer_c1" class="nav flex-column d-none d-lg-block">\n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">My Account</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">How do I order?</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">Payment Methods</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \t\t\t\t\t\t\t\t\t</ul>\n
      \n
      \t\t\t\t\t\t\t\t</div>\n
      \n
      \t\t\t\t\t\t\t\t<!-- Col 2 -->\n
      \t\t\t\t\t\t\t\t<div class="col-12 col-lg-4 mb-1">\n
      \n
      \t\t\t\t\t\t\t\t\t<!-- mobile only : SOW Toggle Button -->\n
      \t\t\t\t\t\t\t\t\t<button class="clearfix btn btn-toggle btn-sm w-100 text-align-left shadow-md border rounded mb-1 d-block d-lg-none" \n
      \t\t\t\t\t\t\t\t\t\t\tdata-bs-target="#footer_c2" \n
      \t\t\t\t\t\t\t\t\t\t\tdata-toggle-container-class="d-none d-sm-block bg-white shadow-md border animate-fadein rounded p-3">\n
      \t\t\t\t\t\t\t\t\t\t\n
      \t\t\t\t\t\t\t\t\t\t<span class="group-icon p-2 float-start">\n
      \t\t\t\t\t\t\t\t\t\t\t<i class="fi fi-bars-2"></i>\n
      \t\t\t\t\t\t\t\t\t\t\t<i class="fi fi-close"></i>\n
      \t\t\t\t\t\t\t\t\t\t</span>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<span class="h5 py-2 m-0 float-start">\n
      \t\t\t\t\t\t\t\t\t\t\tExplore\n
      \t\t\t\t\t\t\t\t\t\t</span>\n
      \t\t\t\t\t\t\t\t\t</button>\n
      \n
      \t\t\t\t\t\t\t\t\t<!-- desktop only -->\n
      \t\t\t\t\t\t\t\t\t<h3 class="h5 py-3 m-0 d-none d-lg-block">\n
      \t\t\t\t\t\t\t\t\t\tSERVICE CLIENT\n
      \t\t\t\t\t\t\t\t\t</h3>\n
      \n
      \n
      \t\t\t\t\t\t\t\t\t<!-- navbar : navigation -->\n
      \t\t\t\t\t\t\t\t\t<ul id="footer_c2" class="nav flex-column d-none d-lg-block">\n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="blog-page-sidebar.html">FAQ</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">Livraison & Retours</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">Garantie</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \n
      \n
                          <li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">Nous contacter</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \t\t\t\t\t\t\t\t\t</ul>\n
      \n
      \n
      \t\t\t\t\t\t\t\t</div>\n
      \n
      \t\t\t\t\t\t\t\t<!-- Col 3 -->\n
      \t\t\t\t\t\t\t\t<div class="col-12 col-lg-4 mb-1">\n
      \n
      \t\t\t\t\t\t\t\t\t<!-- mobile only : SOW Toggle Button-->\n
      \t\t\t\t\t\t\t\t\t<button class="clearfix btn btn-toggle btn-sm w-100 text-align-left shadow-md border rounded mb-1 d-block d-lg-none" \n
      \t\t\t\t\t\t\t\t\t\t\tdata-bs-target="#footer_c3" \n
      \t\t\t\t\t\t\t\t\t\t\tdata-toggle-container-class="d-none d-sm-block bg-white shadow-md border animate-fadein rounded p-3">\n
      \t\t\t\t\t\t\t\t\t\t\n
      \t\t\t\t\t\t\t\t\t\t<span class="group-icon p-2 float-start">\n
      \t\t\t\t\t\t\t\t\t\t\t<i class="fi fi-bars-2"></i>\n
      \t\t\t\t\t\t\t\t\t\t\t<i class="fi fi-close"></i>\n
      \t\t\t\t\t\t\t\t\t\t</span>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<span class="h5 py-2 m-0 float-start">\n
      \t\t\t\t\t\t\t\t\t\t\tSupport\n
      \t\t\t\t\t\t\t\t\t\t</span>\n
      \t\t\t\t\t\t\t\t\t\t\n
      \t\t\t\t\t\t\t\t\t</button>\n
      \n
      \t\t\t\t\t\t\t\t\t<!-- desktop only -->\n
      \t\t\t\t\t\t\t\t\t<h3 class="h5 py-3 m-0 d-none d-lg-block">\n
      \t\t\t\t\t\t\t\t\t\tINFORMATIONS\n
      \t\t\t\t\t\t\t\t\t</h3>\n
      \n
      \n
      \t\t\t\t\t\t\t\t\t<!-- navbar : navigation -->\n
      \t\t\t\t\t\t\t\t\t<ul id="footer_c3" class="nav flex-column d-none d-lg-block">\n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">Mentions Légales</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">CGV</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \n
      \t\t\t\t\t\t\t\t\t\t<li class="list-item">\n
      \t\t\t\t\t\t\t\t\t\t\t<a class="d-block py-1" href="#">Politique de Confidentialité</a>\n
      \t\t\t\t\t\t\t\t\t\t</li>\n
      \t\t\t\t\t\t\t\t\t</ul>\n
      \n
      \t\t\t\t\t\t\t\t</div>\n
      \n
      \t\t\t\t\t\t\t</div>\n
      \n
      \t\t\t\t\t\t</div>\n
      \n
      \n
      \t\t\t\n
      \n
      \t\t\t\t\t</div>\n
      \n
      \t\t\t\t</div>\n
      \n
      \n
      \t\t\t\t<div class="border-top">\n
      \t\t\t\t\t<div class="container text-center py-5">\n
      \n
      \t\t\t\t\t\t<!-- logo -->\n
      \t\t\t\t\t\t<span class="h--70 d-inline-flex align-items-center">\n
      \t\t\t\t\t\t\t<img src="assets/images/logo/logo_dark.svg" width="110" height="38" alt="...">\n
      \t\t\t\t\t\t</span>\n
      \n
      \t\t\t\t\t\t<p class="m-0 text-gray-500 fs-6">\n
      \n
      \t\t\t\t\t\t\t&copy; Cadeaux chrétiens 2026. \n
      \n
      \t\t\t\t\t\t\t<br>\n
      \n
      \t\t\t\t\t\t\tAll Rights Reserved.\n
      \t\t\t\t\t\t\n
      \t\t\t\t\t\t</p>\n
      \n
      \n
      \n
      \n
      \t\t\t\t\t</div>\n
      \t\t\t\t</div>\n
      \n
      \t\t\t</footer>\n
      \t\t\t<!-- /Footer -->\n
      \n
      \n
      \t\t</div><!-- /#wrapper -->\n
      \n
      \t\t<script src="assets/js/core.min.js"></script>\n
      \t\t\n
          </body>\n
      </html>\n
      """
    -name: "base.html.twig"
    -path: "/home/u321276029/domains/cadeaux-chretiens.fr/templates/base.html.twig"
  }
  -phpFile: "/home/u321276029/domains/cadeaux-chretiens.fr/var/cache/dev/twig/57/57aff1d3b5d41348f2f9f3bdd73e2dae.php"
  -phpLine: 55
}
  1. <!doctype html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>{{title}}</title>
  6. <meta name="description" content="...">
  7. <meta name="viewport" content="width=device-width, maximum-scale=5, initial-scale=1">
  8. <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
in var/cache/dev/twig/57/57aff1d3b5d41348f2f9f3bdd73e2dae.php -> {closure:__TwigTemplate_a2a23f4c09372bf40ea1cee2ec1374e6::doDisplay():55} (line 55)
  1. <html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">
  2. \t<head>
  3. \t\t<meta charset=\"UTF-8\">
  4. \t\t<title>";
  5. // line 5
  6. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 5, $this->source); })()), "html", null, true);
  7. yield "</title>
  8. \t\t<meta name=\"description\" content=\"...\">
  9. \t\t<meta name=\"viewport\" content=\"width=device-width, maximum-scale=5, initial-scale=1\">
  10. \t\t<!--[if IE]><meta http-equiv=\x27X-UA-Compatible\x27 content=\x27IE=edge,chrome=1\x27><![endif]-->
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "product/custom_view.html.twig"));
  3. $this->parent = $this->load("base.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 373)
  1. ob_start();
  2. } else {
  3. ob_start(static function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/ProductController.php (line 355)
  1. return $this->redirectToRoute("create-checkout-session-v2");
  2. }
  3. return $this->render('product/custom_view.html.twig', ['form'=>$form->createView(),]);
  4. }
in vendor/symfony/http-kernel/HttpKernel.php -> personnalised_view (line 183)
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/u321276029/domains/cadeaux-chretiens.fr/vendor/autoload_runtime.php') in public_html/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return static function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 03:43:58 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "20adef"
    },
    "request_uri": "https://www.cadeaux-chretiens.fr/_profiler/20adef?panel=exception&type=request",
    "method": "GET"
}

Stack Trace

RuntimeError
Twig\Error\RuntimeError:
Variable "title" does not exist in "base.html.twig" at line 5.

  at templates/base.html.twig:5
  at __TwigTemplate_a2a23f4c09372bf40ea1cee2ec1374e6->{closure:__TwigTemplate_a2a23f4c09372bf40ea1cee2ec1374e6::doDisplay():55}()
     (var/cache/dev/twig/57/57aff1d3b5d41348f2f9f3bdd73e2dae.php:55)
  at __TwigTemplate_a2a23f4c09372bf40ea1cee2ec1374e6->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/ef/ef27084f4e7a45c6a3c08510d3d05889.php:54)
  at __TwigTemplate_126a85210233bde2a7a605b850c17cf3->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:358)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:373)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:462)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:279)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/ProductController.php:355)
  at App\Controller\ProductController->personnalised_view()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/u321276029/domains/cadeaux-chretiens.fr/vendor/autoload_runtime.php')
     (public_html/index.php:5)