<div class="circle-tile-heading {{indicadoresPublica[0].estilo|default("")}}">
<i class="fa {{indicadoresPublica[0].icono|default("")}} fa-fw fa-3x"></i>
</div>
<div class="circle-tile-content {{indicadoresPublica[0].estilo|default("")}}">
<div class="circle-tile-description text-faded {{indicadoresPublica[0].estilo|default("")}}">
{{indicadoresPublica[0].descripcion}}
</div>
<div class="text-faded {{indicadoresPublica[0].estilo|default("")}}">
{{indicadoresPublica[0].entidad|default("")}}
</div>
<div class="circle-tile-number text-faded">
// line 109
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["indicadoresPublica"] ?? null), 0, [], "array", false, true, false, 109), "estilo", [], "any", true, true, false, 109)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["indicadoresPublica"] ?? null), 0, [], "array", false, true, false, 109), "estilo", [], "any", false, false, false, 109), "")) : ("")), "html", null, true);
echo "\">
";
// line 110
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["indicadoresPublica"]) || array_key_exists("indicadoresPublica", $context) ? $context["indicadoresPublica"] : (function () { throw new RuntimeError('Variable "indicadoresPublica" does not exist.', 110, $this->source); })()), 0, [], "array", false, false, false, 110), "descripcion", [], "any", false, false, false, 110), "html", null, true);
echo "
</div>
<div class=\"text-faded ";
// line 112
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["indicadoresPublica"] ?? null), 0, [], "array", false, true, false, 112), "estilo", [], "any", true, true, false, 112)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["indicadoresPublica"] ?? null), 0, [], "array", false, true, false, 112), "estilo", [], "any", false, false, false, 112), "")) : ("")), "html", null, true);
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", ":public:layout.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", ":public:layout.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "public/project/indicadores.html.twig"));
$this->parent = $this->loadTemplate(":public:layout.html.twig", "public/project/indicadores.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
* @final since version 3.4
*/
protected function render($view, array $parameters = [], Response $response = null)
{
if ($this->container->has('templating')) {
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
}
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = \call_user_func_array($controller, $arguments);
// view
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
//$kernel = new AppCache($kernel);
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
No log messages
RuntimeError |
---|
Twig\Error\RuntimeError: Key "0" does not exist as the array is empty. at app/Resources/views/public/project/indicadores.html.twig:110 at twig_get_attribute() (var/cache/prod/twig/1c/1c693a609259832af55ead8d7fad88e53155d4207fa5941c4b113186e902d2fc.php:218) at __TwigTemplate_9fe18168f6d114545044cd6a227fd37d2e9532245538a4bcd71195413bf5f46a->block_content() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/18/18839f5f56bf3a338b9455279f535eb540f2c4da691e727165cd0678abf223ea.php:243) at __TwigTemplate_12e7184e3b7c2bfdd0e9c5dc71be8eb580e5e90a2f87ab9e5b0a76a2a165305c->block_body() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/9c/9cf8cd83e58861e50e532f44fa2e2d32cee4b467e76b67d193bb244dd24bb99c.php:90) at __TwigTemplate_ac60ce7d47c8f7bf280608ca62660c608421370786e4fc68d08ea6a95a2a8dcc->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/18/18839f5f56bf3a338b9455279f535eb540f2c4da691e727165cd0678abf223ea.php:48) at __TwigTemplate_12e7184e3b7c2bfdd0e9c5dc71be8eb580e5e90a2f87ab9e5b0a76a2a165305c->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/1c/1c693a609259832af55ead8d7fad88e53155d4207fa5941c4b113186e902d2fc.php:47) at __TwigTemplate_9fe18168f6d114545044cd6a227fd37d2e9532245538a4bcd71195413bf5f46a->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/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:50) at Symfony\Bridge\Twig\TwigEngine->render() (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:286) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render() (src/AppBundle/Controller/Dashboard/IndicadorIndividualController.php:46) at AppBundle\Controller\Dashboard\IndicadorIndividualController->showAction() (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle() (app.php:14) |