Exceptions
Exception
Twig\Error\ RuntimeError
Show exception properties
Twig\Error\RuntimeError {#1304 -lineno: 124 -rawMessage: "Variable "lang_id" does not exist." -source: Twig\Source {#1083 -code: """ {% extends 'base.html.twig' %}\n \n {% set now = "now" | date('Y-m-d H:i:s') %}\n \n {% block bodyClass %}page-homepage{% endblock %}\n \n {% block DataLayer %}\n {% include 'include/datalayer.html.twig' with {'page': 'home'} %}\n {% endblock %}\n \n {% block body %}\n \n \t<link rel="stylesheet" type="text/css" href="{{ asset('customCss/animate.min.css') }}">\n \t<script src="{{ asset('customJs/animate.min.js') }}"></script>\n \n \n \n {% set bannerVersionDate = "20240911" %}\n {# <style>\n [home-banner-1] {\n /*padding-bottom: 160%;*/\n height: 75vh; \n }\n @media (min-width: 768px) {\n [home-banner-1] {\n /*padding-bottom: {{ image_ratio('images/home-banners/home-sa-banner-dsk.jpeg') }}%;*/\n height: 100vh;\n }\n }\n </style>\n #}\n <main role="main">\n <section id="header-banner" class="header-banner" header-slick-slider>\n {% if now >= '2024-11-27 00:00:00' and now <= '2024-12-02 23:59:59' %}\n {# per banner temporanei #}\n {% else %}\n {# {% if lang_id == 1 %}\n <a class="" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'nuovi-arrivi' }) }}">\n {% else %}\n <a class="" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'new-arrivals' }) }}">\n {% endif %} #}\n <div\n class="slide-content" home-banner-1>\n {# per banner video #}\n <div class="embed-container1">\n <iframe scrolling="no" class="background-cover d-none d-lg-block" src="https://videos.dyntube.com/iframes/kyG9EVbo0mN1TgHjbbGeg" frameborder="0" allow="muted; autoplay; fullscreen; picture-in-picture" webkitallowfullscreen="webkitAllowFullScreen" mozallowfullscreen="mozallowfullscreen" allowfullscreen="allowFullScreen" id="video_1"></iframe>\n \n <iframe scrolling="no" class="background-cover d-block d-lg-none" src="https://videos.dyntube.com/iframes/xc37RUQEag1b1HjlvA0w" frameborder="0" allow="muted; autoplay; fullscreen; picture-in-picture" webkitallowfullscreen="webkitAllowFullScreen" mozallowfullscreen="mozallowfullscreen" allowfullscreen="allowFullScreen" id="video_2"></iframe>\n </div>\n \n </div></div>\n {# per banner fotografico \n \n <div class="slide-content fullscreen d-none" home-banner-11> \n <div class="border-container d-none">\n <div class="border-line"></div>\n </div>\n <picture>\n <source media="(max-width: 767.98px)" srcset="/images/home-banners/hero_sales-updated_mobile.jpg?v={{ bannerVersionDate|e }}">\n <source media="(min-width: 768px)" srcset="/images/home-banners/hero_sales-updated_desktop.jpg?v={{ bannerVersionDate|e }}">\n <img class="background-cover" src="/images/home-banners/hero_sales-updated_desktop.jpg?v={{ bannerVersionDate|e }}" alt="">\n </picture>\n \n {# DESKTOP #}\n {# \n <div class="d-md-flex main-padding banner-content">\n <div>\n <h2 class="heading animated fadeInUp" data-appear-anim-style="fadeInUp">{{ 'hero1_title' | trans | raw }}</h2>\n </div>\n <div class="pe-0 pe-xl-5 mt-3 mt-lg-0">\n {# <p><span>Completa il tuo guardaroba con <br /> eleganza e comfort</span></p> #}\n {# <a class="btn btn-primary btn-lg mt-2 mt-md-0" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'spring-summer' , 'level2_category_url':'nuovi-arrivi' }) }}">{{ 'discount_box_button' | trans | raw }}</a> #}\n {#}\n </div>\n </div>\n </div>\n {# </a> #}\n \n {% endif %}\n \n \n \n </section>\n <div class="slide-content fullscreen d-none" home-banner-11> {# per banner fotografico #}\n <div class="border-container d-none">\n <div class="border-line"></div>\n </div>\n <picture>\n <source media="(max-width: 767.98px)" srcset="/images/home-banners/hero_sales-updated_mobile.jpg?v={{ bannerVersionDate|e }}">\n <source media="(min-width: 768px)" srcset="/images/home-banners/hero_sales-updated_desktop.jpg?v={{ bannerVersionDate|e }}">\n <img class="background-cover" src="/images/home-banners/hero_sales-updated_desktop.jpg?v={{ bannerVersionDate|e }}" alt="">\n </picture>\n \n {# DESKTOP #}\n <div class="d-md-flex main-padding banner-content">\n <div>\n <h2 class="heading animated fadeInUp" data-appear-anim-style="fadeInUp">{{ 'hero1_title' | trans | raw }}</h2>\n </div>\n <div class="pe-0 pe-xl-5 mt-3 mt-lg-0">{# <p><span>Completa il tuo guardaroba con <br /> eleganza e comfort</span></p> #}\n {# <a class="btn btn-primary btn-lg mt-2 mt-md-0" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'spring-summer' , 'level2_category_url':'nuovi-arrivi' }) }}">{{ 'discount_box_button' | trans | raw }}</a> #}\n </div>\n </div>\n </div>\n \n <section class="main-padding main-margin mt-0 discover-collections">\n <div class="discover-collection-wrapper">\n <div class="row">\n <div class="col-sm-12 col-md-12">\n <div class="discover-collections-card clickable-image">\n <div class="border-container d-none d-sm-flex">\n <div class="border-line"></div>\n </div>\n <div class="image-box">\n <div class="border-container d-flex d-sm-none">\n <div class="border-line"></div>\n </div>\n <img src="{{ asset('images/home-banners/home_01_stivali.jpg') }}" alt="">\n \n </div>\n <div class="text-box">\n <div class="position-relative">\n <h3 data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner1_title' | trans | capitalize }}</h3>\n <p data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner1_text' | trans }}</p>\n {% if lang_id == 1 %}\n <a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'stivali' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>\n {% else %}\n <a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'boots' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>\n {% endif %}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-sm-12 col-md-12 mid-discovery">\n <div class="discover-collections-card-reversed clickable-image">\n <div class="border-container d-none d-sm-flex">\n <div class="border-line"></div>\n </div>\n <div class="image-box">\n <div class="border-container d-flex d-sm-none">\n <div class="border-line"></div>\n </div>\n <img src="{{ asset('images/home-banners/home_02_sabot.jpg') }}" alt="">\n \n </div>\n <div class="text-box">\n <div class="position-relative">\n <h3 data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner2_title' | trans | capitalize }}</h3>\n <p data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner2_text' | trans }}</p>\n {% if lang_id == 1 %}\n <a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'sabot' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>\n {% else %}\n <a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'sabot' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>\n {% endif %}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-sm-12 col-md-12">\n <div class="discover-collections-card clickable-image">\n <div class="border-container d-none d-sm-flex">\n <div class="border-line"></div>\n </div>\n <div class="image-box">\n <div class="border-container d-flex d-sm-none">\n <div class="border-line"></div>\n </div>\n <img src="{{ asset('images/home-banners/home_03_mocassini.jpg') }}" alt="">\n \n </div>\n <div class="text-box">\n <div class="position-relative">\n <h3 data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner3_title' | trans | capitalize }}</h3>\n <p data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner3_text' | trans }}</p>\n {% if lang_id == 1 %}\n <a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'loafers' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>\n {% else %}\n <a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'loafers' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>\n {% endif %}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </section>\n \n <div class="common-heading main-padding">\n <div class="content titUltimiarrivi">\n <div class="lines"></div>\n <h3 class="main-padding">{{ 'latest_arrivals' | trans | capitalize }}</h3>\n <div class="lines"></div>\n </div>\n </div>\n \n <section class="products-highlight">\n <div class="container-fluid">\n <div class="slick-prod-highlight">\n {% if products | length > 0 %}\n {% for product in products %}\n {% include 'include/product-box.html.twig' with {listino: listino, product: product, currency: currency, layout: {cols: 'slider-highlight'} } only %}\n {% endfor %}\n {% endif %}\n </div>\n </div>\n </section>\n \n {% include 'include/discount-box.html.twig' %}\n \n {% include 'include/nl-box.html.twig' %}\n \n </main>\n {% endblock %} """ -name: "pages/homepage.html.twig" -path: "/var/www/coral/templates/pages/homepage.html.twig" } -phpFile: "/var/www/coral/var/cache/dev/twig/e6/e640bf948088f8fba7c813eeb934d420.php" -phpLine: 254 }
in
templates/pages/homepage.html.twig
(line 124)
</div><div class="text-box"><div class="position-relative"><h3 data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner1_title' | trans | capitalize }}</h3><p data-appear-anim-style="fadeInUp" class="animated fadeInUp">{{ 'banner1_text' | trans }}</p>{% if lang_id == 1 %}<a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'stivali' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>{% else %}<a data-appear-anim-style="fadeInUp" href="{{ path('list_category_level2_with_listino',{'listino':listino , 'level1_category_url':'fall-winter' , 'level2_category_url':'boots' }) }}" class="btn btn-primary text-uppercase animated fadeInUp">{{ 'discount_box_button' | trans | raw }}</a>{% endif %}</div>
in
var/cache/dev/twig/e6/e640bf948088f8fba7c813eeb934d420.php
->
{closure}
(line 254)
// line 123yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("banner1_text"), "html", null, true);yield "</p>";// line 124if (((isset($context["lang_id"]) || array_key_exists("lang_id", $context) ? $context["lang_id"] : (function () { throw new RuntimeError('Variable "lang_id" does not exist.', 124, $this->source); })()) == 1)) {// line 125yield " <a data-appear-anim-style=\"fadeInUp\" href=\"";yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("list_category_level2_with_listino", ["listino" => (isset($context["listino"]) || array_key_exists("listino", $context) ? $context["listino"] : (function () { throw new RuntimeError('Variable "listino" does not exist.', 125, $this->source); })()), "level1_category_url" => "fall-winter", "level2_category_url" => "stivali"]), "html", null, true);yield "\" class=\"btn btn-primary text-uppercase animated fadeInUp\">";yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("discount_box_button");
in
vendor/twig/twig/src/Template.php
->
block_body
(line 446)
throw new \LogicException('A block must be a method on a \Twig\Template instance.');}if (null !== $template) {try {yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/37/374ffe3a01fe59cc07e30484b260c2c1.php
->
yieldBlock
(line 202)
yield "";// line 187yield from $this->unwrap()->yieldBlock('DataLayer', $context, $blocks);// line 188yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 189yield "";// line 191
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/e6/e640bf948088f8fba7c813eeb934d420.php
->
yield
(line 58)
// line 3$context["now"] = $this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d H:i:s");// line 1$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(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 459)
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 464)
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 278)
* 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.*
path: '/',name: 'homepage')]public function generalHomepage(): Response{return $this->render('pages/homepage.html.twig', ['products' => [],'conditions' => [],]);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
generalHomepage
(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 182)
$this->boot();++$this->requestStackSize;$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 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 04:46:07 | doctrine |
Connecting with parameters {params} {
"params": {
"use_savepoints": true,
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "192.168.0.118",
"port": 3306,
"user": "root",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": {
"collation": "utf8mb4_unicode_ci"
},
"dbname": "coral_artcrafts",
"serverVersion": "5.7.34",
"charset": "utf8mb4"
}
}
|
| DEBUG 04:46:07 | doctrine |
Executing query: SELECT COUNT(l0_.id) AS sclr_0 FROM listini l0_ {
"sql": "SELECT COUNT(l0_.id) AS sclr_0 FROM listini l0_"
}
|
| INFO 04:46:07 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "4aff1b"
},
"request_uri": "http://coral-new-interno.inol3.com/_profiler/4aff1b?panel=exception&type=request",
"method": "GET"
}
|
| DEBUG 04:46:07 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1",
"params": {
"1": "/_profiler/4aff1b?panel=exception&type=request"
},
"types": {
"1": 2
}
}
|
| DEBUG 04:46:08 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.country AS country_2, t0.country_code AS country_code_3, t0.country_nav_code AS country_nav_code_4, t0.allowed AS allowed_5, t0.is_eu AS is_eu_6, t0.is_klarna_valid AS is_klarna_valid_7, t0.shipping_region_id AS shipping_region_id_8 FROM country t0 WHERE t0.id = ? (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.country AS country_2, t0.country_code AS country_code_3, t0.country_nav_code AS country_nav_code_4, t0.allowed AS allowed_5, t0.is_eu AS is_eu_6, t0.is_klarna_valid AS is_klarna_valid_7, t0.shipping_region_id AS shipping_region_id_8 FROM country t0 WHERE t0.id = ?",
"params": {
"1": 114
},
"types": {
"1": 1
}
}
|
| DEBUG 04:46:08 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.region_name AS region_name_2, t0.region_code AS region_code_3, t0.ordine AS ordine_4, t0.lang_id AS lang_id_5, t0.currency_id AS currency_id_6, t0.listino_id AS listino_id_7 FROM shipping_regions t0 WHERE t0.id = ? (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.region_name AS region_name_2, t0.region_code AS region_code_3, t0.ordine AS ordine_4, t0.lang_id AS lang_id_5, t0.currency_id AS currency_id_6, t0.listino_id AS listino_id_7 FROM shipping_regions t0 WHERE t0.id = ?",
"params": {
"1": 1
},
"types": {
"1": 1
}
}
|
| DEBUG 04:46:08 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1",
"params": {
"1": "/_profiler/4aff1b?panel=exception&type=request"
},
"types": {
"1": 2
}
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\UX\Turbo\Request\RequestListener::__invoke". {
"event": "kernel.request",
"listener": "Symfony\\UX\\Turbo\\Request\\RequestListener::__invoke"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "App\EventListener\SQLInjectionSanification::onKernelRequest". {
"event": "kernel.request",
"listener": "App\\EventListener\\SQLInjectionSanification::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "App\EventListener\UrlListener::onKernelRequest". {
"event": "kernel.request",
"listener": "App\\EventListener\\UrlListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "App\EventListener\OldUrlRedirects::onKernelRequest". {
"event": "kernel.request",
"listener": "App\\EventListener\\OldUrlRedirects::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "App\EventListener\RequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "App\\EventListener\\RequestListener::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest". {
"event": "kernel.request",
"listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.request" to listener "App\EventListener\OldUrlRedirects::onKernelRequest". {
"event": "kernel.request",
"listener": "App\\EventListener\\OldUrlRedirects::onKernelRequest"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.controller_arguments" to listener "ContainerBCw2KbN\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "ContainerBCw2KbN\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
|
| DEBUG 04:46:08 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
|
| DEBUG 04:46:08 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1",
"params": {
"1": "/_fragment?_path=_format%3Dhtml%26_locale%3Dit%26_controller%3Dweb_profiler.controller.exception_panel%253A%253Astylesheet"
},
"types": {
"1": 2
}
}
|
| DEBUG 04:46:08 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1",
"params": {
"1": "/_fragment?_path=_format%3Dhtml%26_locale%3Dit%26_controller%3Dweb_profiler.controller.exception_panel%253A%253Astylesheet"
},
"types": {
"1": 2
}
}
|
| DEBUG 04:46:08 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1",
"params": {
"1": "/_fragment?_path=_format%3Dhtml%26_locale%3Dit%26_controller%3Dweb_profiler.controller.exception_panel%253A%253Abody"
},
"types": {
"1": 2
}
}
|
| DEBUG 04:46:08 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.type AS type_2, t0.old_url AS old_url_3, t0.new_url AS new_url_4 FROM redirects t0 WHERE t0.old_url = ? LIMIT 1",
"params": {
"1": "/_fragment?_path=_format%3Dhtml%26_locale%3Dit%26_controller%3Dweb_profiler.controller.exception_panel%253A%253Abody"
},
"types": {
"1": 2
}
}
|
Stack Trace
|
RuntimeError
|
|---|
Twig\Error\RuntimeError:
Variable "lang_id" does not exist in "pages/homepage.html.twig" at line 124.
at templates/pages/homepage.html.twig:124
at __TwigTemplate_ed93edb405af26dc6b2e9523d7a3f5c9->{closure}()
(var/cache/dev/twig/e6/e640bf948088f8fba7c813eeb934d420.php:254)
at __TwigTemplate_ed93edb405af26dc6b2e9523d7a3f5c9->block_body()
(vendor/twig/twig/src/Template.php:446)
at Twig\Template->yieldBlock()
(var/cache/dev/twig/37/374ffe3a01fe59cc07e30484b260c2c1.php:202)
at __TwigTemplate_489575f2261f937675e639791e731c9e->doDisplay()
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield()
(var/cache/dev/twig/e6/e640bf948088f8fba7c813eeb934d420.php:58)
at __TwigTemplate_ed93edb405af26dc6b2e9523d7a3f5c9->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:459)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:464)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:278)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
(src/Controller/PagesController.php:46)
at App\Controller\PagesController->generalHomepage()
(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:182)
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:29)
at require_once('/var/www/coral/vendor/autoload_runtime.php')
(public/index.php:5)
|