Warning: file_put_contents(sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-branding-bl_geN6nKrLihesB1_uEnAoloCOr//.htaccess): failed to open stream: Permission denied in Drupal\Component\FileSecurity\FileSecurity::writeFile() (line 155 of core/lib/Drupal/Component/FileSecurity/FileSecurity.php). Drupal\Component\FileSecurity\FileSecurity::writeFile('sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-branding-bl_geN6nKrLihesB1_uEnAoloCOr', '/.htaccess', '# Deny all requests from Apache 2.4+.
Require all denied
# Deny all requests from Apache 2.0-2.2.
Deny from all
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off
', ) (Line: 29)
Drupal\Component\FileSecurity\FileSecurity::writeHtaccess('sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-branding-bl_geN6nKrLihesB1_uEnAoloCOr') (Line: 96)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-branding-bl_geN6nKrLihesB1_uEnAoloCOr') (Line: 86)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('66973902a05d3_block--system-branding-bl_geN6nKrLihesB1_uEnAoloCOr', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/ugr/templates/block/block--system-branding-block.html.twig */
class __TwigTemplate_5cfed4d136493e59b63fb2af203f16e0aa1529b80516c4a6de0d8c31af424226 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["if" => 18];
$filters = ["escape" => 21, "t" => 39, "raw" => 54];
$functions = ["path" => 39];
try {
$this->sandbox->checkSecurity(
['if'],
['escape', 't', 'raw'],
['path']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doGetParent(array $context)
{
// line 1
return "block.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("block.html.twig", "themes/custom/ugr/templates/block/block--system-branding-block.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 16
public function block_content($context, array $blocks = [])
{
// line 17
echo " ";
// line 18
echo " ";
if ((($context["region"] ?? null) && (($context["region"] ?? null) == "content_bottom"))) {
// line 19
echo "
<a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_logo_ugr_footer"] ?? null)), "html", null, true);
echo "\" alt=\"Universidad de Granada\"/>
</a>
";
} else {
// line 24
echo " <a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_logo_ugr"] ?? null)), "html", null, true);
echo "\" alt=\"Universidad de Granada\"/>
</a>
";
// line 27
if (((isset($context["logo_extra"]) || array_key_exists("logo_extra", $context)) && (($context["logo_extra"] ?? null) != ""))) {
// line 28
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra_link"] ?? null)), "html", null, true);
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra_title"] ?? null)), "html", null, true);
echo "\" class=\"site-logo logo-ugr logoExtra\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra_alt"] ?? null)), "html", null, true);
echo "\"/>
</a>
";
}
// line 32
echo "
";
}
// line 34
echo "
";
// line 36
if (((($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "site_name")) || (($context["region"] ?? null) && (($context["region"] ?? null) == "content_bottom")))) {
echo "
";
// line 37
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" rel=\"home\">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "</a>
";
} else {
// line 42
echo "
";
// line 43
if ((($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "external"))) {
// line 44
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" class=\"site-logo logoSVG\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["external_url_svg"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "\"/>
</a>
";
} elseif (( // line 47
($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "subir_logo"))) {
// line 48
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" class=\"site-logo\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_logo"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "\"/>
</a>
";
} elseif (( // line 51
($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "subir_logo_nombre"))) {
// line 52
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" class=\"site-logo logo-text\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_logo"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "\"/>
";
// line 54
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t($this->sandbox->ensureToStringAllowed(($context["texto_logo"] ?? null))));
echo "
</a>
";
} else {
// line 57
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" rel=\"home\">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "</a>
";
}
// line 59
echo "
";
}
// line 61
echo "
";
// line 62
if (($context["site_slogan"] ?? null)) {
// line 63
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_slogan"] ?? null)), "html", null, true);
echo "
";
}
// line 65
echo "
";
// line 66
if ((($context["region"] ?? null) && (($context["region"] ?? null) == "content_bottom"))) {
// line 67
echo " ";
if (((isset($context["logo_arqus"]) || array_key_exists("logo_arqus", $context)) && (($context["logo_arqus"] ?? null) != ""))) {
// line 68
echo " <a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_arqus"] ?? null)), "html", null, true);
echo "\" alt=\"Logo Arqus alliance\"/>
</a>
";
}
// line 72
echo "
";
}
// line 74
echo "
";
}
public function getTemplateName()
{
return "themes/custom/ugr/templates/block/block--system-branding-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 235 => 74, 231 => 72, 225 => 69, 222 => 68, 219 => 67, 217 => 66, 214 => 65, 208 => 63, 206 => 62, 203 => 61, 199 => 59, 189 => 57, 183 => 54, 177 => 53, 170 => 52, 168 => 51, 161 => 49, 154 => 48, 152 => 47, 145 => 45, 138 => 44, 136 => 43, 133 => 42, 123 => 39, 119 => 37, 115 => 36, 111 => 34, 107 => 32, 99 => 29, 92 => 28, 90 => 27, 85 => 25, 82 => 24, 76 => 21, 72 => 19, 69 => 18, 67 => 17, 64 => 16, 54 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "themes/custom/ugr/templates/block/block--system-branding-block.html.twig", "/var/www/centros/src/web/themes/custom/ugr/templates/block/block--system-branding-block.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('66973902a05d3_block--system-branding-bl_geN6nKrLihesB1_uEnAoloCOr', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/ugr/templates/block/block--system-branding-block.html.twig */
class __TwigTemplate_5cfed4d136493e59b63fb2af203f16e0aa1529b80516c4a6de0d8c31af424226 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["if" => 18];
$filters = ["escape" => 21, "t" => 39, "raw" => 54];
$functions = ["path" => 39];
try {
$this->sandbox->checkSecurity(
['if'],
['escape', 't', 'raw'],
['path']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doGetParent(array $context)
{
// line 1
return "block.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("block.html.twig", "themes/custom/ugr/templates/block/block--system-branding-block.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 16
public function block_content($context, array $blocks = [])
{
// line 17
echo " ";
// line 18
echo " ";
if ((($context["region"] ?? null) && (($context["region"] ?? null) == "content_bottom"))) {
// line 19
echo "
<a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_logo_ugr_footer"] ?? null)), "html", null, true);
echo "\" alt=\"Universidad de Granada\"/>
</a>
";
} else {
// line 24
echo " <a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_logo_ugr"] ?? null)), "html", null, true);
echo "\" alt=\"Universidad de Granada\"/>
</a>
";
// line 27
if (((isset($context["logo_extra"]) || array_key_exists("logo_extra", $context)) && (($context["logo_extra"] ?? null) != ""))) {
// line 28
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra_link"] ?? null)), "html", null, true);
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra_title"] ?? null)), "html", null, true);
echo "\" class=\"site-logo logo-ugr logoExtra\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_extra_alt"] ?? null)), "html", null, true);
echo "\"/>
</a>
";
}
// line 32
echo "
";
}
// line 34
echo "
";
// line 36
if (((($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "site_name")) || (($context["region"] ?? null) && (($context["region"] ?? null) == "content_bottom")))) {
echo "
";
// line 37
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" rel=\"home\">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "</a>
";
} else {
// line 42
echo "
";
// line 43
if ((($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "external"))) {
// line 44
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" class=\"site-logo logoSVG\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["external_url_svg"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "\"/>
</a>
";
} elseif (( // line 47
($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "subir_logo"))) {
// line 48
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" class=\"site-logo\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_logo"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "\"/>
</a>
";
} elseif (( // line 51
($context["use_logo_radio"] ?? null) && (($context["use_logo_radio"] ?? null) == "subir_logo_nombre"))) {
// line 52
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" class=\"site-logo logo-text\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_logo"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "\"/>
";
// line 54
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t($this->sandbox->ensureToStringAllowed(($context["texto_logo"] ?? null))));
echo "
</a>
";
} else {
// line 57
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath(""));
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Home"));
echo "\" rel=\"home\">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null)), "html", null, true);
echo "</a>
";
}
// line 59
echo "
";
}
// line 61
echo "
";
// line 62
if (($context["site_slogan"] ?? null)) {
// line 63
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_slogan"] ?? null)), "html", null, true);
echo "
";
}
// line 65
echo "
";
// line 66
if ((($context["region"] ?? null) && (($context["region"] ?? null) == "content_bottom"))) {
// line 67
echo " ";
if (((isset($context["logo_arqus"]) || array_key_exists("logo_arqus", $context)) && (($context["logo_arqus"] ?? null) != ""))) {
// line 68
echo " <a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo_arqus"] ?? null)), "html", null, true);
echo "\" alt=\"Logo Arqus alliance\"/>
</a>
";
}
// line 72
echo "
";
}
// line 74
echo "
";
}
public function getTemplateName()
{
return "themes/custom/ugr/templates/block/block--system-branding-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 235 => 74, 231 => 72, 225 => 69, 222 => 68, 219 => 67, 217 => 66, 214 => 65, 208 => 63, 206 => 62, 203 => 61, 199 => 59, 189 => 57, 183 => 54, 177 => 53, 170 => 52, 168 => 51, 161 => 49, 154 => 48, 152 => 47, 145 => 45, 138 => 44, 136 => 43, 133 => 42, 123 => 39, 119 => 37, 115 => 36, 111 => 34, 107 => 32, 99 => 29, 92 => 28, 90 => 27, 85 => 25, 82 => 24, 76 => 21, 72 => 19, 69 => 18, 67 => 17, 64 => 16, 54 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "themes/custom/ugr/templates/block/block--system-branding-block.html.twig", "/var/www/centros/src/web/themes/custom/ugr/templates/block/block--system-branding-block.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_5cfed4d136493e59b63fb2af203f16e0aa1529b80516c4a6de0d8c31af424226', 'themes/custom/ugr/templates/block/block--system-branding-block.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/custom/ugr/templates/block/block--system-branding-block.html.twig') (Line: 64)
twig_render_template('themes/custom/ugr/templates/block/block--system-branding-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 68)
__TwigTemplate_996acd694ef386343f37ab252f76de19371f5db0f58b3e828482f667f6954efb->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/ugr/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 101)
__TwigTemplate_c164442a81379090cb2602d485fe0a8a4ec1211e7bf7bc6f8587cdebded0d65c->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/ugr/templates/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: file_put_contents(sites/centros/polisocio/public/php/twig/66973902a05d3_container.html.twig_jI2wUT-qwff2FVeH4YNMIxIbv//.htaccess): failed to open stream: Permission denied in Drupal\Component\FileSecurity\FileSecurity::writeFile() (line 155 of core/lib/Drupal/Component/FileSecurity/FileSecurity.php). Drupal\Component\FileSecurity\FileSecurity::writeFile('sites/centros/polisocio/public/php/twig/66973902a05d3_container.html.twig_jI2wUT-qwff2FVeH4YNMIxIbv', '/.htaccess', '# Deny all requests from Apache 2.4+.
Require all denied
# Deny all requests from Apache 2.0-2.2.
Deny from all
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off
', ) (Line: 29)
Drupal\Component\FileSecurity\FileSecurity::writeHtaccess('sites/centros/polisocio/public/php/twig/66973902a05d3_container.html.twig_jI2wUT-qwff2FVeH4YNMIxIbv') (Line: 96)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/centros/polisocio/public/php/twig/66973902a05d3_container.html.twig_jI2wUT-qwff2FVeH4YNMIxIbv') (Line: 86)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('66973902a05d3_container.html.twig_jI2wUT-qwff2FVeH4YNMIxIbv', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/classy/templates/form/container.html.twig */
class __TwigTemplate_358861809d7985ec855b20161776968418c71e2d0f9df5f801f2ba84041f5577 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["set" => 23];
$filters = ["escape" => 28];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 23
$context["classes"] = [0 => (( // line 24
($context["has_parent"] ?? null)) ? ("js-form-wrapper") : ("")), 1 => (( // line 25
($context["has_parent"] ?? null)) ? ("form-wrapper") : (""))];
// line 28
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 28, 57 => 25, 56 => 24, 55 => 23,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "core/themes/classy/templates/form/container.html.twig", "/var/www/centros/src/web/core/themes/classy/templates/form/container.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('66973902a05d3_container.html.twig_jI2wUT-qwff2FVeH4YNMIxIbv', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/classy/templates/form/container.html.twig */
class __TwigTemplate_358861809d7985ec855b20161776968418c71e2d0f9df5f801f2ba84041f5577 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["set" => 23];
$filters = ["escape" => 28];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 23
$context["classes"] = [0 => (( // line 24
($context["has_parent"] ?? null)) ? ("js-form-wrapper") : ("")), 1 => (( // line 25
($context["has_parent"] ?? null)) ? ("form-wrapper") : (""))];
// line 28
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 28, 57 => 25, 56 => 24, 55 => 23,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "core/themes/classy/templates/form/container.html.twig", "/var/www/centros/src/web/core/themes/classy/templates/form/container.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_358861809d7985ec855b20161776968418c71e2d0f9df5f801f2ba84041f5577', 'core/themes/classy/templates/form/container.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/container.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/container.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('container', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 93)
__TwigTemplate_ea8d3cf1edc5e890739430735f05a4913edb2ec2fe8959251388873dc6775b95->block_content(Array, Array) (Line: 216)
Twig\Template->displayBlock('content', Array, Array) (Line: 82)
__TwigTemplate_ea8d3cf1edc5e890739430735f05a4913edb2ec2fe8959251388873dc6775b95->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/da_vinci/templates/block/block--search-form-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 86)
__TwigTemplate_996acd694ef386343f37ab252f76de19371f5db0f58b3e828482f667f6954efb->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/ugr/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 101)
__TwigTemplate_c164442a81379090cb2602d485fe0a8a4ec1211e7bf7bc6f8587cdebded0d65c->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/ugr/templates/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)