Twig_Error_Runtime {#183
  #lineno: 8
  #filename: "@site/events/events-detail.twig"
  #rawMessage: "Impossible to access an attribute ("header") on a boolean variable ("")."
  #previous: null
  -sourcePath: "/home/portalavenida_crmall/public_html/maringa/application/views/events/events-detail.twig"
  -sourceCode: """
    {% extends '@site/layout/layout.twig' %}\n
    {% block pageTitle %} | Eventos{% endblock %}\n
    \n
    {% block metatags %}\n
        {% if content is defined %}\n
            {% include '@site/base/share-header/facebook.twig' with {\n
                user: app.businessInfo.name,\n
                title: content.header,\n
                description: content.content | striptags,\n
                image: content.images.coverimage.url is defined ? content.images.coverimage.url : '',\n
                url: url('events-event', {identifier: content.identifier})\n
            } %}\n
    \n
            {% include '@site/base/share-header/twitter.twig' with {\n
                user: app.businessInfo.name,\n
                title: content.header,\n
                description: content.content | striptags,\n
                image: content.images.coverimage.url is defined ? content.images.coverimage.url : ''\n
            } %}\n
        {% endif %}\n
    {% endblock %}\n
    \n
    \n
    {% block main %}\n
        <div class="bg-gray card-container--spacing-bottom">\n
            <div class="container container--main">\n
                <section>\n
                    {% include '@site/base/page-header.twig' with {item: content, type: 'events-detail', isDetail: 'true', path: 'EVENTOS / ' ~ content.header } %}\n
                </section>\n
                <div class="grid bg-events">\n
                    <div class="grid__col-12 grid__col-sm-12 grid__col-md-12" style="padding-right: 0px; padding-left: 0px">\n
                        <div class="grid">\n
                            <div class="grid__col-12 grid__col-sm-12 grid__col-md-12">\n
                                {#<img src="{{ content.images.coverimage.url}}" alt="{{ content.header}}">#}\n
                                <div class="img-detail zoom-fx-self zoom-fx-slow" style="background-image: url({{ content.images['imagem-destaque'] is defined ? content.images['imagem-destaque'].url : content.images.coverimage.url }});"></div>\n
                            </div>\n
                            <div class="grid__col-12 grid__col-sm-12 grid__col-md-12 text--content">\n
                                {{ content.content | raw }}\n
                            </div>\n
                        </div>\n
                    </div>\n
                </div>\n
                <div class="grid bg-events">\n
                    <div class="grid__col-12 grid__col-sm-12 grid__col-md-12 service-grid-bottom">\n
                        {% include '@site/base/block-newsletter.twig' %}\n
                    </div>\n
                    {% for item in contentRandom %}\n
                        <div class="grid__col-12 grid__col-md-6 service-grid-top">\n
                            <div class="{{ blockClass('news', 'page', null) }}">\n
                                <div class="{{ blockClass('news', item.tags[0] is defined?item.tags[0].name:'' | remove_accent | lower, 'content') }} block__content--active">\n
                                    {% if item.images.coverimage is defined and item.images.coverimage.url is not empty %}\n
                                        <a href="/eventos/evento/{{ item.identifier }}" class="zoom-fx zoom-fx-slow">\n
                                            <div class="image-card {{ blockClass('news', 'image-container') }}" style="background-image: url({{ item.images.coverimage.url }});"></div>\n
                                        </a>\n
                                    {% endif %}\n
                                    <div class="{{ blockClass('news', 'text-container') }}">\n
                                        <a href="/eventos/evento/{{ item.identifier }}">\n
                                            <h2 class="{{ blockClass('news-page', 'title') }}">{{ item.header | truncate(45) }}</h2>\n
                                        </a>\n
                                        <span class="zoom-fx">\n
                                                    <a href="/eventos/evento/{{ item.identifier }}" class="icon-plus">+</a>\n
                                                </span>\n
                                        <p class="{{ blockClass('news', 'page', 'text') }}">\n
                                            <a class="{{ blockClass('news', 'text-tag') }}" href="#">{{ item.tags[0] is defined?item.tags[0].name:'' }}</a><br>\n
    \n
                                            {{ item.exibitionStart | localizeddate('long', 'none') | nl2br }}\n
                                        </p>\n
                                    </div>\n
                                    <div class="block__description">\n
                                        <p class="block__description-text">{{ item.abstract | truncate(180) }}</p>\n
                                        <a class="zoom-fx zoom-fx-prevent-collapse" href="javascript: void(0);"\n
                                           onclick="window.open('http://www.facebook.com/sharer.php?u={{ app.url }}eventos/evento/{{ item.identifier }}','{{ item.header }}', 'toolbar=0, status=0, width=650, height=450');">\n
                                            <div class="block__description-icon-facebook icon-facebook">\n
                                                {{ svgImage('/img/icons/icon-facebook.svg')|raw }}\n
                                            </div>\n
                                        </a>\n
                                    </div>\n
                                </div>\n
                            </div>\n
                        </div>\n
                    {% endfor %}\n
                </div>\n
            </div>\n
        </div>\n
    \n
    {% endblock %}\n
    \n
    {% block scripts %}\n
    \n
    <script type="application/ld+json">\n
        {\n
          "@context": "http://schema.org",\n
          "@type": "Event",\n
          "name": "{{ content.header }}",\n
          "startDate": "{{ content.startDate|date("m/d/Y") }}",\n
          "location": {\n
            "@type": "Place",\n
            "name": "{{ app.businessInfo.name }}",\n
            "address": {\n
              "@type": "PostalAddress",\n
              "streetAddress": "{{ app.businessInfo.address.street }}",\n
              "addressLocality": "{{ app.businessInfo.address.locality }}",\n
              "postalCode": "{{ app.businessInfo.address.postalCode }}",\n
              "addressRegion": "{{ app.businessInfo.address.region }}",\n
              "addressCountry": "{{ app.businessInfo.address.country }}"\n
            }\n
          },\n
          "image": "{{ content.images.coverimage.url is defined ? content.images.coverimage.url : '' }}",\n
          "description": "{{ content.content | striptags }}",\n
          "endDate": "{{ content.endDate ? content.endDate|date("m/d/Y") : content.startDate|date("m/d/Y")  }}"\n
        }\n
    </script>\n
    \n
    {% endblock %}\n
    """
  #message: "Impossible to access an attribute ("header") on a boolean variable ("")."
  #code: 0
  #file: "/home/portalavenida_crmall/public_html/maringa/application/views/events/events-detail.twig"
  #line: 8
  trace: {
    /home/portalavenida_crmall/public_html/maringa/application/views/events/events-detail.twig:8 {user: app.businessInfo.name,title: content.header,description: content.content | striptags,
    }
    /home/portalavenida_crmall/public_html/maringa/application/views/events/events-detail.twig:8 {user: app.businessInfo.name,title: content.header,description: content.content | striptags,
      arguments: {
        $object: false
        $item: "header"
        $arguments: []
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Template.php:215 {try {    $template->$block($context, $blocks);} catch (Twig_Error $e) {
      arguments: {
        $context: array:8 [ …8]
        $blocks: array:5 [ …5]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/views/layout/layout.twig:9 {<head>    {% block metatags %}{% endblock %}arguments: {
        $name: "metatags"
        $context: array:8 [ …8]
        $blocks: array:5 [ …5]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Template.php:432 {try {    $this->doDisplay($context, $blocks);} catch (Twig_Error $e) {
      arguments: {
        $context: array:8 [ …8]
        $blocks: array:4 [ …4]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Template.php:403 {{    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
      arguments: {
        $context: array:8 [ …8]
        $blocks: array:4 [ …4]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/data/maringa/cache/twig/02/0230838205e9b2bfd87484e55519ab3df0f5b13ca028930e8d65308de474f74c.php:27 {{    $this->parent->display($context, array_merge($this->blocks, $blocks));}
      arguments: {
        $context: array:8 [ …8]
        $blocks: array:4 [ …4]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Template.php:432 {try {    $this->doDisplay($context, $blocks);} catch (Twig_Error $e) {
      arguments: {
        $context: array:8 [ …8]
        $blocks: array:4 [ …4]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Template.php:403 {{    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
      arguments: {
        $context: array:8 [ …8]
        $blocks: array:4 [ …4]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Template.php:411 {try {    $this->display($context);} catch (Exception $e) {
      arguments: {
        $context: array:3 [ …3]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Environment.php:363 {{    return $this->loadTemplate($name)->render($context);}
      arguments: {
        $context: array:3 [ …3]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/src/Site/Controllers/BaseController.php:47 {
      › 
      ›     return $twig->render($templatePath, $params);}
      arguments: {
        $name: "@site/events/events-detail.twig"
        $context: array:3 [ …3]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/src/Site/Controllers/BaseController.php:37 {{    return $this->renderTemplateFromPath($this->defaultTemplatePath, $name, $params);}
      arguments: {
        $path: "events"
        $name: "events-detail.twig"
        $params: array:3 [ …3]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/src/Site/Controllers/EventsController.php:69 {    'content' => $content,    'contentRandom' => $contentRandom,]);
      arguments: {
        $name: "events-detail.twig"
        $params: array:3 [ …3]
      }
    }
    Site\Controllers\EventsController->eventDetailAction() {}
    /home/portalavenida_crmall/public_html/maringa/vendor/symfony/http-kernel/HttpKernel.php:144 {// call controller$response = call_user_func_array($controller, $arguments);arguments: {
        $function_name: array:2 [ …2]
        $parameters: array:1 [ …1]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/symfony/http-kernel/HttpKernel.php:64 {try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      arguments: {
        $request: Request {#358 …}
        $type: 1
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/silex/silex/src/Silex/Application.php:586 {
      › 
      › $response = $this['kernel']->handle($request, $type, $catch);arguments: {
        $request: Request {#358 …}
        $type: 1
        $catch: true
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/silex/silex/src/Silex/Application.php:563 {
      › 
      › $response = $this->handle($request);$response->send();
      arguments: {
        $request: Request {#358 …}
      }
    }
    /home/portalavenida_crmall/public_html/maringa/public/index.php:13 {
      › 
      › $app->run();}
    /home/portalavenida_crmall/public_html/maringa/index.php:21 {
      › 
      › require_once __DIR__.'/public/index.php';arguments: {
        "/home/portalavenida_crmall/public_html/maringa/public/index.php"
      }
    }
  }
}