Error 500 Internal Server Error

GET https://ifwa.horai-software.com/leistung/lasertherapie

Forwarded to ErrorController (48560b)

Exceptions

Impossible to access an attribute ("imageName") on a null variable in frontend/leistung/leistung.html.twig at line 22.

Exception

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#911
  -lineno: 22
  -rawMessage: "Impossible to access an attribute ("imageName") on a null variable."
  -source: Twig\Source {#847
    -code: """
      {% extends 'base.html.twig' %}\n
      {% block pageTitle %}\n
          {% include 'frontend/elements/_title.html.twig' with {\n
              title:group | capitalize,\n
              breadcrumb:\n
                  {\n
                      'Home': path('app_home'),\n
                      'Leistungen': path('app_leistungen'),\n
                  }\n
              } %}\n
      {% endblock %}\n
      \n
      {% block body %}\n
      <section class="leistungslist relative" style="background-image:url('/assets/images/frame-4822807_1920.png');">\n
          {# Overlay #}\n
          <div class="absolute z-10 w-full h-full bg-cutty-sark-100/50"></div>\n
      \n
          {# Content #}\n
          <div class="relative z-20 mx-auto max-w-7xl px-6 pb-20 pt-20 lg:px-8">\n
              <div class="relative z-20 mx-auto max-w-7xl px-6 pb-20 pt-20 lg:px-8">\n
                  <div class="p-5 bg-white border rounded border-cutty-sark-200 min-h-[200px]">\n
                      {% if leistungsGroup is defined and leistungsGroup.imageName is not null %}\n
                      <div class="grid grid-cols-3 gap-x-5">\n
                          <div class="col-span-2">\n
                          <p> Unter folgendem Link finden Sie eine Auflistung der gesetzlichen Krankenkassen, die die Kosten für die Lasertherapie übernehmen.<br/><b> <a href="https://gesundheitsverbundnord.de/zahlt-meine-krankenkasse" style="word-break: break-all;"/> https://gesundheitsverbundnord.de/zahlt-meine-krankenkasse </a></b>\n
                              <br/><p style="margin-bottom:2em;">Wir bieten folgende Leistungen an:</p>\n
                              <dl class="grid max-w-xl grid-cols-1 gap-x-5 gap-y-5 lg:max-w-none lg:grid-cols-1 lg:gap-y-5">\n
                              {% for leistung in leistungen %} \n
                                  <div class="flex justify-center items-center relative py-2 px-10 rounded-xl border text-dusty-gray-700 border-dusty-gray-200 bg-dusty-gray-100 text-center hover:bg-dusty-gray-500 hover:text-dusty-gray-200 transition cursor-default">\n
                                      <a href="#{{leistung.name}}"><span class="text-inherit">{{leistung.name}}</span></a>\n
                                  </div>\n
                              {% endfor %}\n
                              </dl>\n
                          </div>\n
                          <div class="col-span-1">\n
                              <!-- Place your image here -->\n
                              <img src="{{vich_uploader_asset(leistungsGroup)}}" alt="Descriptive Alt Text" class="rounded-lg shadow-md">\n
                          </div>\n
                      </div>\n
                      {% else %}\n
                      <div class="grid grid-cols-1 gap-x-5">\n
                          <div >\n
                              {% if leistungsGroup is defined and leistungsGroup.description is not null %}\n
                                  {{ leistungsGroup.description | raw}}\n
                              {% else  %}\n
                                  <p style="margin-bottom:2em;">Wir bieten folgende Leistungen an:</p>\n
                              {% endif %}\n
                              <dl class="grid max-w-xl grid-cols-1 gap-x-5 gap-y-5 lg:max-w-none lg:grid-cols-2 lg:gap-y-5">\n
                              {% for leistung in leistungen %} \n
                                  <div class="flex justify-center items-center relative py-2 px-10 rounded-xl border text-dusty-gray-700 border-dusty-gray-200 bg-dusty-gray-100 text-center hover:bg-dusty-gray-500 hover:text-dusty-gray-200 transition cursor-default">\n
                                      <a href="#{{leistung.name}}"><span class="text-inherit">{{leistung.name}}</span></a>\n
                                  </div>\n
                              {% endfor %}\n
                              </dl>\n
                          </div>\n
                      </div>                \n
                      {% endif %}\n
                  </div>\n
              </div>\n
              {% for leistung in leistungen %}\n
                  <div class="container">\n
                      <div class="row" style="margin-top:2em;padding:0 2em;">\n
                          <div id = "leistung.name" class="col-md-8" style="background-color:rgba(255,255,255,0.9); font-size:15px; border-radius:5px; padding:20px;">\n
                              <h2 id="{{leistung.name}}">{{leistung.name}}</h2>\n
                              <p>{{leistung.description | raw}}</p>\n
                          </div>\n
                      </div>\n
                  </div>\n
              {% endfor %}\n
          </div>\n
      </section>\n
      {% endblock %}
      """
    -name: "frontend/leistung/leistung.html.twig"
    -path: "/var/www/vhosts/horai-software.com/ifwa.horai-software.com/templates/frontend/leistung/leistung.html.twig"
  }
  -phpFile: "/var/www/vhosts/horai-software.com/ifwa.horai-software.com/vendor/twig/twig/src/Extension/CoreExtension.php"
  -phpLine: 1741
}
  1. {# Content #}
  2. <div class="relative z-20 mx-auto max-w-7xl px-6 pb-20 pt-20 lg:px-8">
  3. <div class="relative z-20 mx-auto max-w-7xl px-6 pb-20 pt-20 lg:px-8">
  4. <div class="p-5 bg-white border rounded border-cutty-sark-200 min-h-[200px]">
  5. {% if leistungsGroup is defined and leistungsGroup.imageName is not null %}
  6. <div class="grid grid-cols-3 gap-x-5">
  7. <div class="col-span-2">
  8. <p> Unter folgendem Link finden Sie eine Auflistung der gesetzlichen Krankenkassen, die die Kosten für die Lasertherapie übernehmen.<br/><b> <a href="https://gesundheitsverbundnord.de/zahlt-meine-krankenkasse" style="word-break: break-all;"/> https://gesundheitsverbundnord.de/zahlt-meine-krankenkasse </a></b>
  9. <br/><p style="margin-bottom:2em;">Wir bieten folgende Leistungen an:</p>
  10. <dl class="grid max-w-xl grid-cols-1 gap-x-5 gap-y-5 lg:max-w-none lg:grid-cols-1 lg:gap-y-5">
  1. yield " <div class=\"relative z-20 mx-auto max-w-7xl px-6 pb-20 pt-20 lg:px-8\">
  2. <div class=\"relative z-20 mx-auto max-w-7xl px-6 pb-20 pt-20 lg:px-8\">
  3. <div class=\"p-5 bg-white border rounded border-cutty-sark-200 min-h-[200px]\">
  4. ";
  5. // line 22
  6. if ((array_key_exists("leistungsGroup", $context) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["leistungsGroup"]) || array_key_exists("leistungsGroup", $context) ? $context["leistungsGroup"] : (function () { throw new RuntimeError('Variable "leistungsGroup" does not exist.', 22, $this->source); })()), "imageName", [], "any", false, false, false, 22)))) {
  7. // line 23
  8. yield " <div class=\"grid grid-cols-3 gap-x-5\">
  9. <div class=\"col-span-2\">
  10. <p> Unter folgendem Link finden Sie eine Auflistung der gesetzlichen Krankenkassen, die die Kosten für die Lasertherapie übernehmen.<br/><b> <a href=\"https://gesundheitsverbundnord.de/zahlt-meine-krankenkasse\" style=\"word-break: break-all;\"/> https://gesundheitsverbundnord.de/zahlt-meine-krankenkasse </a></b>
  11. <br/><p style=\"margin-bottom:2em;\">Wir bieten folgende Leistungen an:</p>
in vendor/twig/twig/src/Template.php -> block_body (line 446)
  1. throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2. }
  3. if (null !== $template) {
  4. try {
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield from $this->unwrap()->yieldBlock('pageTitle', $context, $blocks);
  2. // line 34
  3. yield "
  4. ";
  5. // line 35
  6. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  7. // line 37
  8. yield "
  9. ";
  10. // line 38
  11. yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
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", "frontend/leistung/leistung.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(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/FrontendController.php (line 112)
  1. #[Route('/leistung/{group}', name: 'app_leistungen_detail')]
  2. public function leistungsgroup(EntityManagerInterface $em, $group): Response
  3. {
  4. $leistungsGroup = $em->getRepository(LeistungsGroup::class)->findOneBy(['name'=>$group]);
  5. $leistungen = $em->getRepository(Leistung::class)->findBy(['leistungsGroup'=>$leistungsGroup]);
  6. return $this->render('frontend/leistung/leistung.html.twig',
  7. ['leistungen'=>$leistungen,'group'=>$group,'leistungsGroup'=>$leistungsGroup]);
  8. }
  9. #[Route('/leistung2/frauengesundheit', name: 'app_leistungen_frauengesundheit')]
in vendor/symfony/http-kernel/HttpKernel.php -> leistungsgroup (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('/var/www/vhosts/horai-software.com/ifwa.horai-software.com/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 23:24:08 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "e962c4"
    },
    "request_uri": "https://ifwa.horai-software.com/_profiler/e962c4?panel=exception&type=request",
    "method": "GET"
}
DEBUG 23:24: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 23:24: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 23:24: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 23:24: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 23:24: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 23:24: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 23:24: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 23:24: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 23:24: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 23:24: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 23:24:08 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequestPrettyUrls".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequestPrettyUrls"
}
DEBUG 23:24:08 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
INFO 23:24:08 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "ifwa",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": {
            "collation": "utf8mb4_unicode_ci"
        },
        "dbname": "ifwa",
        "charset": "utf8mb4"
    }
}
DEBUG 23:24:08 doctrine Executing query: SELECT o0_.id AS id_0, o0_.tag AS tag_1, o0_.start1 AS start1_2, o0_.end1 AS end1_3, o0_.start_break AS start_break_4, o0_.end_break AS end_break_5, o0_.type AS type_6 FROM oeffnungszeiten o0_ ORDER BY o0_.id ASC
{
    "sql": "SELECT o0_.id AS id_0, o0_.tag AS tag_1, o0_.start1 AS start1_2, o0_.end1 AS end1_3, o0_.start_break AS start_break_4, o0_.end_break AS end_break_5, o0_.type AS type_6 FROM oeffnungszeiten o0_ ORDER BY o0_.id ASC"
}
DEBUG 23:24:08 doctrine Executing query: SELECT t0.id AS id_1, t0.title AS title_2, t0.text AS text_3, t0.is_editable AS is_editable_4 FROM front_option t0
{
    "sql": "SELECT t0.id AS id_1, t0.title AS title_2, t0.text AS text_3, t0.is_editable AS is_editable_4 FROM front_option t0"
}
DEBUG 23:24:08 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 23:24: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 23:24:08 event Notified event "kernel.controller" to listener "App\EventSubscriber\TwigEventSubscriber::onControllerEvent".
{
    "event": "kernel.controller",
    "listener": "App\\EventSubscriber\\TwigEventSubscriber::onControllerEvent"
}
DEBUG 23:24: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 23:24:08 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\IsSignatureValidAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\IsSignatureValidAttributeListener::onKernelControllerArguments"
}
DEBUG 23:24: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 23:24: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 23:24: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 23:24:08 event Notified event "kernel.controller_arguments" to listener "ContainerVxY5KjR\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerVxY5KjR\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
DEBUG 23:24: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 23:24:08 doctrine Executing query: SELECT o0_.id AS id_0, o0_.tag AS tag_1, o0_.start1 AS start1_2, o0_.end1 AS end1_3, o0_.start_break AS start_break_4, o0_.end_break AS end_break_5, o0_.type AS type_6 FROM oeffnungszeiten o0_ ORDER BY o0_.id ASC
{
    "sql": "SELECT o0_.id AS id_0, o0_.tag AS tag_1, o0_.start1 AS start1_2, o0_.end1 AS end1_3, o0_.start_break AS start_break_4, o0_.end_break AS end_break_5, o0_.type AS type_6 FROM oeffnungszeiten o0_ ORDER BY o0_.id ASC"
}
DEBUG 23:24:08 doctrine Executing query: SELECT t0.id AS id_1, t0.title AS title_2, t0.text AS text_3, t0.is_editable AS is_editable_4 FROM front_option t0
{
    "sql": "SELECT t0.id AS id_1, t0.title AS title_2, t0.text AS text_3, t0.is_editable AS is_editable_4 FROM front_option t0"
}
DEBUG 23:24:08 doctrine Executing query: SELECT o0_.id AS id_0, o0_.tag AS tag_1, o0_.start1 AS start1_2, o0_.end1 AS end1_3, o0_.start_break AS start_break_4, o0_.end_break AS end_break_5, o0_.type AS type_6 FROM oeffnungszeiten o0_ ORDER BY o0_.id ASC
{
    "sql": "SELECT o0_.id AS id_0, o0_.tag AS tag_1, o0_.start1 AS start1_2, o0_.end1 AS end1_3, o0_.start_break AS start_break_4, o0_.end_break AS end_break_5, o0_.type AS type_6 FROM oeffnungszeiten o0_ ORDER BY o0_.id ASC"
}
DEBUG 23:24:08 doctrine Executing query: SELECT t0.id AS id_1, t0.title AS title_2, t0.text AS text_3, t0.is_editable AS is_editable_4 FROM front_option t0
{
    "sql": "SELECT t0.id AS id_1, t0.title AS title_2, t0.text AS text_3, t0.is_editable AS is_editable_4 FROM front_option t0"
}

Stack Trace

RuntimeError
Twig\Error\RuntimeError:
Impossible to access an attribute ("imageName") on a null variable in "frontend/leistung/leistung.html.twig" at line 22.

  at templates/frontend/leistung/leistung.html.twig:22
  at Twig\Extension\CoreExtension::getAttribute()
     (var/cache/dev/twig/aa/aab8f66e1c16c3ea768a7aff11a83e5d.php:115)
  at __TwigTemplate_b4b39e8f28e975e9d08c750f6ab7118c->block_body()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/65/65562f0add9fe4c387830dc21bd25be3.php:104)
  at __TwigTemplate_b53f353e88acc9c0f270ed7747812172->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/aa/aab8f66e1c16c3ea768a7aff11a83e5d.php:54)
  at __TwigTemplate_b4b39e8f28e975e9d08c750f6ab7118c->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:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:284)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/FrontendController.php:112)
  at App\Controller\FrontendController->leistungsgroup()
     (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:193)
  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('/var/www/vhosts/horai-software.com/ifwa.horai-software.com/vendor/autoload_runtime.php')
     (public/index.php:5)