https://racket-trip.eu/en-sg.js/terms-of-use

Exceptions

Impossible to access an attribute ("title") on a null variable.

Exception

Twig\Error\ RuntimeError

  1. {% block body %}
  2. <div class="overflow-hidden fullheight">
  3.     <section class="mt-0 first-section">
  4.         <div class="container">
  5.             {% if info.title %}
  6.             <h2 class="section-title-underline">{{ info.title }}</h2>
  7.             {% else %}
  8.             <h2 class="section-title-underline">{{ ("footer." ~ title) | trans }}</h2>
  9.             {% endif %}
  1. <div class=\"overflow-hidden fullheight\">
  2.     <section class=\"mt-0 first-section\">
  3.         <div class=\"container\">
  4.             ";
  5.         // line 12
  6.         if (twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'12$this->source); })()), "title", [], "any"falsefalsefalse12)) {
  7.             // line 13
  8.             echo "            <h2 class=\"section-title-underline\">";
  9.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'13$this->source); })()), "title", [], "any"falsefalsefalse13), "html"nulltrue);
  10.             echo "</h2>
  11.             ";
in vendor/twig/twig/src/Template.php -> block_body (line 171)
  1.             throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2.         }
  3.         if (null !== $template) {
  4.             try {
  5.                 $template->$block($context$blocks);
  6.             } catch (Error $e) {
  7.                 if (!$e->getSourceContext()) {
  8.                     $e->setSourceContext($template->getSourceContext());
  9.                 }
  1.         $this->loadTemplate("front/_partials/_header.html.twig""front/base.html.twig"85)->display($context);
  2.         // line 86
  3.         echo "
  4.         ";
  5.         // line 87
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 88
  8.         echo "
  9. \t    ";
  10.         // line 89
  11.         $this->loadTemplate("front/_partials/_add-favorite-modal.html.twig""front/base.html.twig"89)->display($context);
in vendor/twig/twig/src/Template.php -> doDisplay (line 394)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 367)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/page/index.html.twig"));
  3.         $this->parent $this->loadTemplate("front/base.html.twig""front/page/index.html.twig"2);
  4.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  5.         
  6.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  7.         
  8.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 394)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 367)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 379)
  1.             ob_start();
  2.         } else {
  3.             ob_start(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.         $this->template $template;
  2.     }
  3.     public function render(array $context = []): string
  4.     {
  5.         return $this->template->render($context);
  6.     }
  7.     public function display(array $context = [])
  8.     {
  9.         // using func_get_args() allows to not expose the blocks argument
  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.     {
  2.         if (!$this->container->has('twig')) {
  3.             throw new \LogicException('You cannot use the "renderView" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".');
  4.         }
  5.         return $this->container->get('twig')->render($view$parameters);
  6.     }
  7.     /**
  8.      * Renders a view.
  9.      */
  1.     /**
  2.      * Renders a view.
  3.      */
  4.     protected function render(string $view, array $parameters = [], ?Response $response null): Response
  5.     {
  6.         $content $this->renderView($view$parameters);
  7.         if (null === $response) {
  8.             $response = new Response();
  9.         }
AbstractController->render('front/page/index.html.twig', array('info' => null, 'title' => 'terms_use')) in src/Controller/Front/PageController.php (line 46)
  1.             $info $legalInfoRepository->getLegalByLanguageAndType('en''terms_use');
  2.         }
  3.         return $this->render('front/page/index.html.twig', [
  4.             'info' => $info,
  5.             'title' => 'terms_use'
  6.         ]);
  7.     }
  8.     #[Route(path'/privacy-policy'name'privacy_policy')]
  9.     public function privacyPolicy(LegalInfoRepository $legalInfoRepositoryRequest $request): Response
  1.         $this->dispatcher->dispatch($eventKernelEvents::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);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/var/www/preprod/racket-trip/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 18:38:57 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "820cab"
    },
    "request_uri": "https://racket-trip.eu/_profiler/820cab",
    "method": "GET"
}

Stack Trace

RuntimeError
Twig\Error\RuntimeError:
Impossible to access an attribute ("title") on a null variable.

  at templates/front/page/index.html.twig:12
  at twig_get_attribute(object(Environment), object(Source), null, 'title', array(), 'any', false, false, false, 12)
     (var/cache/dev/twig/16/1669bb595421ccb3ac56efefd730fa3f.php:96)
  at __TwigTemplate_9e2a4dec773f19741c790f5b26bef545->block_body(array('info' => null, 'title' => 'terms_use', 'app' => object(AppVariable), 'locales' => array('fr', 'en', 'es', 'pt', 'it', 'de', 'sv', 'nl'), 'globals' => object(GlobalVariable), 'current_path' => 'terms_use'), array('title' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_title'), 'seo' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_seo'), 'og' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_og'), 'stylesheets' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_body'), 'javascript' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_javascript')))
     (vendor/twig/twig/src/Template.php:171)
  at Twig\Template->displayBlock('body', array('info' => null, 'title' => 'terms_use', 'app' => object(AppVariable), 'locales' => array('fr', 'en', 'es', 'pt', 'it', 'de', 'sv', 'nl'), 'globals' => object(GlobalVariable), 'current_path' => 'terms_use'), array('title' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_title'), 'seo' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_seo'), 'og' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_og'), 'stylesheets' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_body'), 'javascript' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_javascript')))
     (var/cache/dev/twig/55/55669510c38230dfcd6ab33f309c4514.php:185)
  at __TwigTemplate_52a36eda23a03b9586690e966c0412fd->doDisplay(array('info' => null, 'title' => 'terms_use', 'app' => object(AppVariable), 'locales' => array('fr', 'en', 'es', 'pt', 'it', 'de', 'sv', 'nl'), 'globals' => object(GlobalVariable), 'current_path' => 'terms_use'), array('title' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_title'), 'seo' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_seo'), 'og' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_og'), 'stylesheets' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_body'), 'javascript' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_javascript')))
     (vendor/twig/twig/src/Template.php:394)
  at Twig\Template->displayWithErrorHandling(array('info' => null, 'title' => 'terms_use', 'app' => object(AppVariable), 'locales' => array('fr', 'en', 'es', 'pt', 'it', 'de', 'sv', 'nl'), 'globals' => object(GlobalVariable)), array('title' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_title'), 'seo' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_seo'), 'og' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_og'), 'stylesheets' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_body'), 'javascript' => array(object(__TwigTemplate_52a36eda23a03b9586690e966c0412fd), 'block_javascript')))
     (vendor/twig/twig/src/Template.php:367)
  at Twig\Template->display(array('info' => null, 'title' => 'terms_use', 'app' => object(AppVariable), 'locales' => array('fr', 'en', 'es', 'pt', 'it', 'de', 'sv', 'nl'), 'globals' => object(GlobalVariable)), array('title' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_title'), 'body' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_body')))
     (var/cache/dev/twig/16/1669bb595421ccb3ac56efefd730fa3f.php:49)
  at __TwigTemplate_9e2a4dec773f19741c790f5b26bef545->doDisplay(array('info' => null, 'title' => 'terms_use', 'app' => object(AppVariable), 'locales' => array('fr', 'en', 'es', 'pt', 'it', 'de', 'sv', 'nl'), 'globals' => object(GlobalVariable)), array('title' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_title'), 'body' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_body')))
     (vendor/twig/twig/src/Template.php:394)
  at Twig\Template->displayWithErrorHandling(array('info' => null, 'title' => 'terms_use', 'app' => object(AppVariable), 'locales' => array('fr', 'en', 'es', 'pt', 'it', 'de', 'sv', 'nl'), 'globals' => object(GlobalVariable)), array('title' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_title'), 'body' => array(object(__TwigTemplate_9e2a4dec773f19741c790f5b26bef545), 'block_body')))
     (vendor/twig/twig/src/Template.php:367)
  at Twig\Template->display(array('info' => null, 'title' => 'terms_use'))
     (vendor/twig/twig/src/Template.php:379)
  at Twig\Template->render(array('info' => null, 'title' => 'terms_use'))
     (vendor/twig/twig/src/TemplateWrapper.php:38)
  at Twig\TemplateWrapper->render(array('info' => null, 'title' => 'terms_use'))
     (vendor/twig/twig/src/Environment.php:280)
  at Twig\Environment->render('front/page/index.html.twig', array('info' => null, 'title' => 'terms_use'))
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:258)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView('front/page/index.html.twig', array('info' => null, 'title' => 'terms_use'))
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:266)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('front/page/index.html.twig', array('info' => null, 'title' => 'terms_use'))
     (src/Controller/Front/PageController.php:46)
  at App\Controller\Front\PageController->termsUse(object(LegalInfoRepository), object(Request))
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:35)
  at require_once('/var/www/preprod/racket-trip/vendor/autoload_runtime.php')
     (public/index.php:5)