Twig_Error_Runtime {#445
  #lineno: 16
  #filename: "@site/movies/details.twig"
  #rawMessage: "Impossible to access an attribute ("name") on a null variable."
  #previous: null
  -sourcePath: "/home/portalavenida_crmall/public_html/maringa/application/views/movies/details.twig"
  -sourceCode: """
    {% extends '@site/layout/layout.twig' %}\n
    \n
    {% block stylesheets %}\n
        <link href="/css/owl.carousel.min.css" rel="stylesheet">\n
        <link href="/css/owl.theme.default.css" rel="stylesheet">\n
        <link href="/css/movies-details.css?v=1" rel="stylesheet">\n
    {% endblock %}\n
    \n
    {% block main %}\n
        <div class="bg-gray card-container--spacing-bottom">\n
            <div class="container container--main container--movie-details">\n
                <section>\n
                    <article class="page-header text--white page-header--movie-details">\n
                        <div class="grid">\n
                            <div class="grid__col--bleed grid__col-lg-8 grid__col-md-8 grid__col-sm-12 grid__col-xs-12">\n
                                <h3 class="page-header__little-title text--light-blue text--uppercase">Cinema/ Em cartaz/ {{ movie.name }}</h3>\n
                                <h1 class="page-header__title text--uppercase">{{ movie.name }}</h1>\n
                                <h3 class="page-header__little-title text--uppercase" style="word-wrap: break-word;">\n
                                    {% for genre in movie.genres %}\n
                                        {{ genre ~ ' | ' }}\n
                                    {% endfor %}\n
                                    {% if movie.length is not empty %}\n
                                        {{ movie.length ~ 'MIN.' }}\n
                                    {% endif %}\n
                                </h3>\n
                            </div>\n
                            <div class="grid__col-lg-4 grid__col-md-4 grid__col-sm-12 grid__col-xs-12">\n
                                <div class="grid grid--align-center grid--justify-center">\n
                                    <div class="grid__col-8 grid__col-lg-4 grid__col-md-6 grid__col-sm-4 grid__col-xs-4 detail-square-container">\n
                                        <div class="detail-square block-censorship">\n
                                            <p class="block-censorship__number text--light-blue">{{ movie.censorship == 0?'L':movie.censorship }}</p>\n
                                            <p class="block-censorship__title text--light-blue">{{ movie.censorship == 0 ? 'Livre' : 'Anos'}}</p>\n
                                        </div>\n
                                    </div>\n
                                    <div class="grid__col-lg-8 grid__col-md-12 grid__col-sm-8 grid__col-xs-8 detail-square-container">\n
                                        <div class="detail-square block-next-session text--uppercase">\n
                                            <p class="block-next-session__title text--light-blue">Próxima sessão</p>\n
                                            <p class="block-next-session__time text--light-blue">{{ nextSession }}</p>\n
                                        </div>\n
                                    </div>\n
                                </div>\n
                            </div>\n
                        </div>\n
                    </article>\n
                    <div class="grid">\n
                        {% if movie.trailer is not empty %}\n
                            <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 movie-details-trailer">\n
                                <iframe src="{{ movie.trailer }}" height="600" frameborder="0"></iframe>\n
                            </div>\n
                        {% else %}\n
                            <div class="grid__col--bleed grid__col-lg-6 grid__col-md-6 grid__col-sm-6 grid__col-xs-12 movie-details-coverimage">\n
                                <img src="{{ movie.cover }}" style="width: 100%;">\n
                            </div>\n
                        {% endif %}\n
                    </div>\n
    \n
                    <div class="movie-details__middle-container">\n
                        <div class="grid">\n
                            <div class="grid__col--bleed grid__col-lg-8 grid__col-md-7 grid__col-sm-12 grid__col-xs-12">\n
                                <div class="grid movie-details">\n
                                    <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 movie-details__detail-synopsis">\n
                                        <div class="grid">\n
                                            {% if movie.synopsis is not empty %}\n
                                                <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12">\n
                                                    <h3 class="detail-synopsis__title text--uppercase text--dark-blue">Sinopse</h3>\n
                                                </div>\n
                                                <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 detail-synopsis__synopsis">\n
                                                    <p>{{ movie.synopsis }}</p>\n
                                                </div>\n
                                            {% endif %}\n
                                            <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 detail-synopsis__more-details">\n
                                                {% if movie.stars is not empty %}\n
                                                    <p>\n
                                                        <span class="more-details__title text--light-blue">Elenco: </span>\n
                                                        {% for star in movie.stars %}\n
                                                            {% if not loop.last %}\n
                                                                {{ star ~ ', ' }}\n
                                                            {% else %}\n
                                                                {{ star }}\n
                                                            {% endif %}\n
                                                        {% endfor %}\n
                                                    </p>\n
                                                {% endif %}\n
                                                {% if movie.length is not empty %}\n
                                                    <p><span class="more-details__title text--light-blue">Duração: </span><span class="more-details__content">{{ movie.length }}</span></p>\n
                                                {% endif %}\n
                                                {% if movie.direction is not empty %}\n
                                                    <p><span class="more-details__title text--light-blue">Diretor: </span><span class="more-details__content">{{ movie.direction }}</span></p>\n
                                                {% endif %}\n
                                                {% if movie.genres is not empty %}\n
                                                    <p>\n
                                                        <span class="more-details__title text--light-blue">Gênero: </span>\n
                                                        <span class="more-details__content">\n
                                                        {% for genre in movie.genres %}\n
                                                            {% if not loop.last %}\n
                                                                {{ genre ~ ', ' }}\n
                                                            {% else %}\n
                                                                {{ genre }}\n
                                                            {% endif %}\n
                                                        {% endfor %}\n
                                                    </span>\n
                                                    </p>\n
                                                {% endif %}\n
                                                {% if movie.censorship is not empty and movie.censorship != 0 %}\n
                                                    <p><span class="more-details__title text--light-blue">Classificação: </span><span class="more-details__content">{{ movie.censorship ~ ' anos'}}</span></p>\n
                                                {% endif %}\n
                                            </div>\n
                                        </div>\n
                                    </div>\n
                                    <hr style="width: 100%;">\n
                                    <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 movie-details__movie-schedule">\n
                                        <div class="grid">\n
                                            <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12">\n
                                                <h3 class="movie-schedule__title text--uppercase text--dark-blue">Horário completo de {{ movie.schedule[0].date }} até {{ movie.schedule[(movie.schedule|length)-1].date }}</h3>\n
                                            </div>\n
                                            <div class="grid">\n
                                                {% for day in movie.schedule %}\n
                                                    <div class="grid__col--bleed grid__col-lg-6 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 movie-schedule__schedule-day">\n
                                                        <div class="schedule-day__container">\n
                                                            <p class="schedule-day__title text--dark-blue">{{ day.dayOfWeek }}</p>\n
                                                            <div class="grid schedule-day__day-sessions">\n
                                                                {% for session in day.sessions %}\n
                                                                    <div class="grid__col--bleed grid__col-lg-2 grid__col-md-2 grid__col-sm-2 grid__col-xs-2 grid__col-2 day-sessions__session-container">\n
                                                                        <p class="session-container__time text--dark-blue">{{ session.time }}</p>\n
                                                                        <p class="session-container__room text--dark-blue">SALA {{ session.room }}</p>\n
                                                                        <p class="session-container__language text--dark-blue">\n
                                                                            {% if session.subtitled == 'Dublado' %}\n
                                                                                <span data-toggle="tooltip" data-placement="top" title="Dublado">DUB</span>\n
                                                                            {% elseif session.subtitled == 'Legendado' %}\n
                                                                                <span data-toggle="tooltip" data-placement="top" title="Legendado">LEG</span>\n
                                                                            {% elseif session.subtitled == 'Nacional' %}\n
                                                                                <span data-toggle="tooltip" data-placement="top" title="Nacional">NAC</span>\n
                                                                            {% endif %}\n
                                                                        </p>\n
                                                                        {% if session.dimension is defined %}\n
                                                                            <p class="session-container__dimension text--dark-blue">{{ session.dimension }}</p>\n
                                                                        {% endif %}\n
                                                                    </div>\n
                                                                {% endfor %}\n
                                                            </div>\n
                                                        </div>\n
                                                    </div>\n
                                                {% endfor %}\n
                                            </div>\n
                                        </div>\n
                                    </div>\n
                                </div>\n
    \n
                            </div>\n
                            <div class="grid__col--bleed grid__col-xs-12 grid__col-lg-4 grid__col-md-5 grid__col-sm-12 right-blocks">\n
                                <ul class="infos-list-container__infos-list grid">\n
                                    <li class="grid__col-md-12 grid__col--bleed infos-list__info-item info-list__info-item-workschedule without-border">\n
                                        {% include '@site/base/block-work-schedule.twig' with {items: getWorkSchedule(app['crmall.identifiers']['work-schedule-cinema']), color: 'watery-green'} %}\n
                                    </li>\n
                                    <li style="height: auto;" class="grid__col-md-12 grid__col--bleed infos-list__info-item info-list__info-item-tickets without-border">\n
                                        {% include '@site/movies/block-tickets-values.twig' with {item: ticketsValues} %}\n
                                    </li>\n
                                    <li class="grid__col-md-12 grid__col--bleed infos-list__info-item info-list__info-item-araujo without-border">\n
                                        {% include '@site/movies/block-araujo.twig' with {item: araujoDetails} %}\n
                                    </li>\n
                                </ul>\n
                            </div>\n
                        </div>\n
    \n
                        <div class="grid more-movies">\n
                            <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 more-movies__more-movies-header">\n
                                <h2 class="more-movies-header__title text--white text--uppercase">Mais filmes em cartaz</h2>\n
                            </div>\n
                            <div class="grid__col--bleed grid__col-lg-12 grid__col-md-12 grid__col-sm-12 grid__col-xs-12 more-movies__more-movies-list">\n
                                <ul id="movie-list-carousel" class="owl-carousel movies-list-container__movies-list">\n
                                    {% for item in moreMovies %}\n
                                        <li class="item movies-detail-list__movie-item">\n
                                            {% include '@site/movies/movie-block.twig' with {movie: item} %}\n
                                        </li>\n
                                    {% endfor %}\n
                                </ul>\n
                            </div>\n
                        </div>\n
                    </div>\n
                </section>\n
            </div>\n
        </div>\n
    \n
    {% endblock %}\n
    {% block scripts %}\n
        <script>\n
            $(document).ready(function() {\n
                $('#movie-list-carousel').owlCarousel({\n
                    responsiveClass: true,\n
                    dots: true,\n
                    responsive: {\n
                        0:{\n
                            items:1,\n
                            nav:true\n
                        },\n
                        992: {\n
                            items: 2,\n
                            nav: true\n
                        },\n
                        1200:{\n
                            items:3,\n
                            nav:true\n
                        }\n
                    }\n
                });\n
            });\n
        </script>\n
    {% endblock %}\n
    """
  #message: "Impossible to access an attribute ("name") on a null variable."
  #code: 0
  #file: "/home/portalavenida_crmall/public_html/maringa/application/views/movies/details.twig"
  #line: 16
  trace: {
    /home/portalavenida_crmall/public_html/maringa/application/views/movies/details.twig:16 {<div class="grid__col--bleed grid__col-lg-8 grid__col-md-8 grid__col-sm-12 grid__col-xs-12">    <h3 class="page-header__little-title text--light-blue text--uppercase">Cinema/ Em cartaz/ {{ movie.name }}</h3>    <h1 class="page-header__title text--uppercase">{{ movie.name }}</h1>
    }
    /home/portalavenida_crmall/public_html/maringa/application/views/movies/details.twig:16 {<div class="grid__col--bleed grid__col-lg-8 grid__col-md-8 grid__col-sm-12 grid__col-xs-12">    <h3 class="page-header__little-title text--light-blue text--uppercase">Cinema/ Em cartaz/ {{ movie.name }}</h3>    <h1 class="page-header__title text--uppercase">{{ movie.name }}</h1>
      arguments: {
        $object: null
        $item: "name"
        $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:11 [ …11]
        $blocks: array:5 [ …5]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/views/layout/layout.twig:122 {
      › 
      ›     {% block main %}{% endblock %}</main>
      arguments: {
        $name: "main"
        $context: array:11 [ …11]
        $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:10 [ …10]
        $blocks: array:3 [ …3]
      }
    }
    /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:10 [ …10]
        $blocks: array:3 [ …3]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/data/maringa/cache/twig/0b/0bc8f535895949bdcb187fe4fd9900d0b26cb7b6bac00b3564f3f59c2c2c9b54.php:26 {{    $this->parent->display($context, array_merge($this->blocks, $blocks));}
      arguments: {
        $context: array:10 [ …10]
        $blocks: array:3 [ …3]
      }
    }
    /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:10 [ …10]
        $blocks: array:3 [ …3]
      }
    }
    /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:10 [ …10]
        $blocks: array:3 [ …3]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Template.php:411 {try {    $this->display($context);} catch (Exception $e) {
      arguments: {
        $context: array:5 [ …5]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/vendor/twig/twig/lib/Twig/Environment.php:363 {{    return $this->loadTemplate($name)->render($context);}
      arguments: {
        $context: array:5 [ …5]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/src/Site/Controllers/BaseController.php:47 {
      › 
      ›     return $twig->render($templatePath, $params);}
      arguments: {
        $name: "@site/movies/details.twig"
        $context: array:5 [ …5]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/src/Site/Controllers/BaseController.php:37 {{    return $this->renderTemplateFromPath($this->defaultTemplatePath, $name, $params);}
      arguments: {
        $path: "movies"
        $name: "details.twig"
        $params: array:5 [ …5]
      }
    }
    /home/portalavenida_crmall/public_html/maringa/application/src/Site/Controllers/MoviesController.php:159 {
      › 
      ›     return $this->renderTemplate('details.twig', $data);}
      arguments: {
        $name: "details.twig"
        $params: array:5 [ …5]
      }
    }
    Site\Controllers\MoviesController->movieDetails() {}
    /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"
      }
    }
  }
}