{% endif %}
{% endif %}
{% endif %}
<header class="page-head--view_blog" >
<div class="page-head__bg-container hidden-palm" style="z-index: 0; height: 690px">
<div id="cont" class="view-article-blog" style="background-image:url('{{imageBackground}}')">
<div id="article-title-cont" class="title-view-article_cont">
<h1 id="title-article" class="text-promo_blog"></h1>
</div>
</div>
</div>
// line 116
echo " <header class=\"page-head--view_blog\" >
<div class=\"page-head__bg-container hidden-palm\" style=\"z-index: 0; height: 690px\">
<div id=\"cont\" class=\"view-article-blog\" style=\"background-image:url('";
// line 118
echo twig_escape_filter($this->env, (isset($context["imageBackground"]) || array_key_exists("imageBackground", $context) ? $context["imageBackground"] : (function () { throw new RuntimeError('Variable "imageBackground" does not exist.', 118, $this->source); })()), "html", null, true);
echo "')\">
<div id=\"article-title-cont\" class=\"title-view-article_cont\">
<h1 id=\"title-article\" class=\"text-promo_blog\"></h1>
</div>
</div>
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
if ( !array_key_exists("pdfGenerator", $context)) {
// line 30
echo " <!--[if (!IE)|(gt IE 8)]><!-->
";
// line 31
$this->displayBlock('header', $context, $blocks);
// line 48
echo " ";
} else {
// line 49
echo " <section>
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
$this->displayBlock('overlay', $context, $blocks);
// line 693
echo "
";
// line 694
$this->displayBlock('base_content', $context, $blocks);
// line 725
echo "
";
// line 726
$this->displayBlock('javascripts', $context, $blocks);
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
// line 8
if ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
}
}
// line 1
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if (twig_get_attribute($this->env, $this->source, ($context["contentInfo"] ?? null), "categoria", [], "array", true, true, false, 12)) {
// line 13
$context["articleCategory"] = twig_get_attribute($this->env, $this->source, (isset($context["contentInfo"]) || array_key_exists("contentInfo", $context) ? $context["contentInfo"] : (function () { throw new RuntimeError('Variable "contentInfo" does not exist.', 13, $this->source); })()), "categoria", [], "array", false, false, false, 13);
}
// line 1
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
*/
public function render(array $context = []): string
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_get_args()[1] ?? []);
}
/**
* Displays the template.
*
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
{
if (!$this->container->has('twig')) {
throw new \LogicException('You cannot use the "renderView" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".');
}
return $this->container->get('twig')->render($view, $parameters);
}
/**
* Renders a view.
*/
/**
* Renders a view.
*/
protected function render(string $view, array $parameters = [], Response $response = null): Response
{
$content = $this->renderView($view, $parameters);
if (null === $response) {
$response = new Response();
}
$cookieArray = [];
foreach ($description as $key => $value) {
$cookieArray[$key] = $value;
}
return $this->render($twigFolder->twigExists('@AviaturTwig/'.$agencyFolder.'/Blog/Default/view_contenidos.html.twig'), ['articulo' => $articulo[0], 'cookieLastSearch' => $cookieArray, 'validateExplore' => $validateExplore, 'blog_form' => $blogForm->createView()]);
}
}
}
return $this->render($twigFolder->twigExists('@AviaturTwig/'.$agencyFolder.'/Blog/Default/view.html.twig'), ['articulo' => $articulo[0]]);
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
Request::setTrustedHosts([$trustedHosts]);
}
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
No log messages
RuntimeError
|
---|
Twig\Error\RuntimeError: Variable "imageBackground" does not exist. at src/Aviatur/TwigBundle/Resources/views/aviatur/Flux/Blog/Default/view_contenidos.html.twig:118 at __TwigTemplate_abdc00e049311a5e1b74bdc923c02ca5c525c4786f5a7603b6c1d0ad69c8f83a->{closure}() (var/cache/prod/twig/62/62b6f808e07c9da18dbe7975d98eb64c476a5c712d17b02ac1d566272a93f56b.php:440) at __TwigTemplate_abdc00e049311a5e1b74bdc923c02ca5c525c4786f5a7603b6c1d0ad69c8f83a->block_header() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/35/35ed17fe83d7ef13eb10297a6757267dab6067491e2c3886a592375d9e5ffbf8.php:181) at __TwigTemplate_227231413cd06e2bc76a95a1b750305333befa9aeed01c6574b63fd8d6dcacad->block_base_content() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/a9/a913b5e5bee73232b12cb4964b2470ce872a6c818f06f1486f846655a1c0ac77.php:835) at __TwigTemplate_084ed6ba10b7017b5682857e1babd70e194be24d8061b69f2e5be539c1eb6e1a->doDisplay() (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (var/cache/prod/twig/35/35ed17fe83d7ef13eb10297a6757267dab6067491e2c3886a592375d9e5ffbf8.php:62) at __TwigTemplate_227231413cd06e2bc76a95a1b750305333befa9aeed01c6574b63fd8d6dcacad->doDisplay() (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (var/cache/prod/twig/62/62b6f808e07c9da18dbe7975d98eb64c476a5c712d17b02ac1d566272a93f56b.php:77) at __TwigTemplate_abdc00e049311a5e1b74bdc923c02ca5c525c4786f5a7603b6c1d0ad69c8f83a->doDisplay() (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render() (vendor/twig/twig/src/Environment.php:318) at Twig\Environment->render() (vendor/symfony/framework-bundle/Controller/AbstractController.php:258) at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView() (vendor/symfony/framework-bundle/Controller/AbstractController.php:266) at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render() (src/Aviatur/BlogBundle/Controller/DefaultController.php:587) at Aviatur\BlogBundle\Controller\DefaultController->viewAction() (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle() (web/index.php:24) |