Message d'erreur
Warning: file_put_contents(sites/default/files/php/twig/652406aa72ae2_node--project--teaser.htm_oAnVZgKMhXblMcGwfNBNxLsMI/.htaccess): failed to open stream: Permission denied in
Drupal\Component\PhpStorage\FileStorage->ensureDirectory() (line
122 of
core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/652406aa72ae2_node--project--teaser.htm_oAnVZgKMhXblMcGwfNBNxLsMI') (Line: 86)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('652406aa72ae2_node--project--teaser.htm_oAnVZgKMhXblMcGwfNBNxLsMI', '<?php
/* themes/custom/entityone/components/projects/node--project--teaser.html.twig */
class __TwigTemplate_e453fd4a4faf360e39a1d6fa4de8a2005190651e82475bed305ef44e1c876edc extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("node.html.twig", "themes/custom/entityone/components/projects/node--project--teaser.html.twig", 1);
$this->blocks = array(
'title' => array($this, 'block_title'),
'content' => array($this, 'block_content'),
);
}
protected function doGetParent(array $context)
{
return "node.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$tags = array("if" => 13);
$filters = array("render" => 13, "image_style" => 15, "without" => 21);
$functions = array("attach_library" => 5);
try {
$this->env->getExtension('Twig_Extension_Sandbox')->checkSecurity(
array('if'),
array('render', 'image_style', 'without'),
array('attach_library')
);
} catch (Twig_Sandbox_SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = array())
{
// line 4
echo "
";
// line 5
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("entityone/projects"), "html", null, true));
echo "
";
}
// line 8
public function block_content($context, array $blocks = array())
{
// line 9
echo " <a echo this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, ($context["url"] ?? null), "html", null, true));
echo "\" rel=\"bookmark\">
env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->getAttribute(($context["content_attributes"] ?? null), "addClass", array(0 => "node__content"), "method"), "html", null, true));
echo ">
";
// line 13
if ($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->getAttribute(($context["content"] ?? null), "field_project_photo_1", array()))) {
// line 14
echo "
env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->imageStyle($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_project_photo_1", array()), 0, array()), "#media", array(), "array"), "get", array(0 => "field_media_image"), "method"), "entity", array()), "uri", array()), "value", array()), "teaser_large"), "html", null, true));
echo "\"/>
";
}
// line 18
echo "
env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, ($context["title_attributes"] ?? null), "html", null, true));
echo ">";
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, ($context["label"] ?? null), "html", null, true));
echo "
";
// line 20
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->getAttribute(($context["content"] ?? null), "field_project_short_description", array()), "html", null, true));
echo "
";
// line 21
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_without(($context["content"] ?? null), "field_project_photo_1", "field_project_short_description"), "html", null, true));
echo "
</a>
";
}
public function getTemplateName()
{
return "themes/custom/entityone/components/projects/node--project--teaser.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 103 => 21, 99 => 20, 93 => 19, 90 => 18, 84 => 15, 81 => 14, 79 => 13, 74 => 11, 68 => 9, 65 => 8, 59 => 5, 56 => 4, 53 => 3, 11 => 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 Twig_Source("", "themes/custom/entityone/components/projects/node--project--teaser.html.twig", "/home/blauweruimte/apps/blauweruimte-eu/prod-blauweruimte/releases/20231009155512/web/themes/custom/entityone/components/projects/node--project--teaser.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('652406aa72ae2_node--project--teaser.htm_oAnVZgKMhXblMcGwfNBNxLsMI', '<?php
/* themes/custom/entityone/components/projects/node--project--teaser.html.twig */
class __TwigTemplate_e453fd4a4faf360e39a1d6fa4de8a2005190651e82475bed305ef44e1c876edc extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("node.html.twig", "themes/custom/entityone/components/projects/node--project--teaser.html.twig", 1);
$this->blocks = array(
'title' => array($this, 'block_title'),
'content' => array($this, 'block_content'),
);
}
protected function doGetParent(array $context)
{
return "node.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$tags = array("if" => 13);
$filters = array("render" => 13, "image_style" => 15, "without" => 21);
$functions = array("attach_library" => 5);
try {
$this->env->getExtension('Twig_Extension_Sandbox')->checkSecurity(
array('if'),
array('render', 'image_style', 'without'),
array('attach_library')
);
} catch (Twig_Sandbox_SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = array())
{
// line 4
echo "
";
// line 5
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("entityone/projects"), "html", null, true));
echo "
";
}
// line 8
public function block_content($context, array $blocks = array())
{
// line 9
echo " <a echo this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, ($context["url"] ?? null), "html", null, true));
echo "\" rel=\"bookmark\">
env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->getAttribute(($context["content_attributes"] ?? null), "addClass", array(0 => "node__content"), "method"), "html", null, true));
echo ">
";
// line 13
if ($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->getAttribute(($context["content"] ?? null), "field_project_photo_1", array()))) {
// line 14
echo "
env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->imageStyle($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_project_photo_1", array()), 0, array()), "#media", array(), "array"), "get", array(0 => "field_media_image"), "method"), "entity", array()), "uri", array()), "value", array()), "teaser_large"), "html", null, true));
echo "\"/>
";
}
// line 18
echo "
env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, ($context["title_attributes"] ?? null), "html", null, true));
echo ">";
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, ($context["label"] ?? null), "html", null, true));
echo "
";
// line 20
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->getAttribute(($context["content"] ?? null), "field_project_short_description", array()), "html", null, true));
echo "
";
// line 21
echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_without(($context["content"] ?? null), "field_project_photo_1", "field_project_short_description"), "html", null, true));
echo "
</a>
";
}
public function getTemplateName()
{
return "themes/custom/entityone/components/projects/node--project--teaser.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 103 => 21, 99 => 20, 93 => 19, 90 => 18, 84 => 15, 81 => 14, 79 => 13, 74 => 11, 68 => 9, 65 => 8, 59 => 5, 56 => 4, 53 => 3, 11 => 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 Twig_Source("", "themes/custom/entityone/components/projects/node--project--teaser.html.twig", "/home/blauweruimte/apps/blauweruimte-eu/prod-blauweruimte/releases/20231009155512/web/themes/custom/entityone/components/projects/node--project--teaser.html.twig");
}
}
') (Line: 457)
Twig_Environment->loadTemplate('themes/custom/entityone/components/projects/node--project--teaser.html.twig') (Line: 64)
twig_render_template('themes/custom/entityone/components/projects/node--project--teaser.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 66)
__TwigTemplate_ce8a54aa74404686cf4c7f8e312f6c327c0d64977cfb2631f45001580e5f47b2->doDisplay(Array, Array) (Line: 432)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template->display(Array) (Line: 411)
Twig_Template->render(Array) (Line: 64)
twig_render_template('themes/custom/entityone/components/_global/templates/views-view-unformatted.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view_unformatted', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 118)
__TwigTemplate_aa34e10b5cf7526c22f7a594bfa2e7ad9197806326db28a84f50f88d031ced22->doDisplay(Array, Array) (Line: 432)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template->display(Array) (Line: 411)
Twig_Template->render(Array) (Line: 64)
twig_render_template('themes/custom/entityone/components/views/views-view.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
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: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 84)
Drupal\shield\ShieldMiddleware->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: 666)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)