Exceptions
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© 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 }
in
templates/base.html.twig
(line 5)
<!doctype html><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="UTF-8"><title>{{title}}</title><meta name="description" content="..."><meta name="viewport" content="width=device-width, maximum-scale=5, initial-scale=1"><!--[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)
<html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">\t<head>\t\t<meta charset=\"UTF-8\">\t\t<title>";// line 5yield $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);yield "</title>\t\t<meta name=\"description\" content=\"...\">\t\t<meta name=\"viewport\" content=\"width=device-width, maximum-scale=5, initial-scale=1\">\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)
{$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/ef/ef27084f4e7a45c6a3c08510d3d05889.php
->
yield
(line 54)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "product/custom_view.html.twig"));$this->parent = $this->load("base.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 402)
{$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
vendor/twig/twig/src/Template.php
->
yield
(line 358)
return $this->blocks;}public function display(array $context, array $blocks = []): void{foreach ($this->yield($context, $blocks) as $data) {echo $data;}}public function render(array $context): string
in
vendor/twig/twig/src/Template.php
->
display
(line 373)
ob_start();} else {ob_start(static function () { return ''; });}try {$this->display($context);} catch (\Throwable $e) {while (ob_get_level() > $level) {ob_end_clean();}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 51)
yield from $this->template->yieldBlock($name, $context);}public function render(array $context = []): string{return $this->template->render($context);}/*** @return void*/
in
vendor/twig/twig/src/Environment.php
->
render
(line 333)
* @throws SyntaxError When an error occurred during compilation* @throws RuntimeError When an error occurred during rendering*/public function render($name, array $context = []): string{return $this->load($name)->render($context);}/*** Displays a template.*
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
render
(line 462)
if (null !== $block) {return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);}return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRenderView
(line 467)
return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);$response ??= new Response();if (200 === $response->getStatusCode()) {foreach ($parameters as $v) {if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRender
(line 279)
* If an invalid form is found in the list of parameters, a 422 status code is returned.* Forms found in parameters are auto-cast to form views.*/protected function render(string $view, array $parameters = [], ?Response $response = null): Response{return $this->doRender($view, null, $parameters, $response, __FUNCTION__);}/*** Renders a block in a view.*
return $this->redirectToRoute("create-checkout-session-v2");}return $this->render('product/custom_view.html.twig', ['form'=>$form->createView(),]);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
personnalised_view
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 191)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/u321276029/domains/cadeaux-chretiens.fr/vendor/autoload_runtime.php')
in
public_html/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return static function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 02:42:10 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "3640c1"
},
"request_uri": "https://www.cadeaux-chretiens.fr/_profiler/3640c1?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)
|