User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('67001ed3c8a15_menu--main-menu.html.twig_Hu3ARWcSiq6sobz9lcbLbay0C', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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/lemonade_subtheme/templates/menu--main-menu.html.twig */
class __TwigTemplate_523621903eacd83c2811fe5f56e8c1b7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
ob_start(function () { return ''; });
// line 2
echo " ";
$macros["menus"] = $this->macros["menus"] = $this;
// line 3
echo "
<a>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["directory"] ?? null), 6, $this->source), "html", null, true);
echo "/images/ldn-logo.png\" width=\"205\"></a>
";
// line 7
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["menus"], "macro_menu_links", [($context["items"] ?? null), ($context["attributes"] ?? null), 0], 7, $context, $this->getSourceContext()));
echo "
";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_0_));
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["_self", "directory", "items", "attributes", "menu_level"]); }
// line 15
public function macro_menu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"items" => $__items__,
"attributes" => $__attributes__,
"menu_level" => $__menu_level__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start(function () { return ''; });
try {
// line 16
echo " ";
$macros["menus"] = $this;
// line 17
echo " ";
if (($context["items"] ?? null)) {
// line 18
echo " ";
if ((($context["menu_level"] ?? null) == 0)) {
// line 19
echo " ";
$context["attributes"] = ["nav-link", "w-nav-link"];
// line 20
echo "
";
} else {
// line 22
echo "
";
}
// line 24
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 25
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 25)) {
// line 26
echo "
";
// line 28
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 28), 28, $this->source), "html", null, true);
echo "
";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["menus"], "macro_menu_links", [twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 31), ["drop-link", "w-dropdown-link"], (($context["menu_level"] ?? null) + 1)], 31, $context, $this->getSourceContext()));
echo "
";
} else {
// line 34
echo " ";
if ((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 34)) == "donate")) {
// line 35
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 35), 35, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 35), 35, $this->source), ["class" => ["nav-donate"]]), "html", null, true);
echo "
";
} else {
// line 37
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 37), 37, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 37), 37, $this->source), ["class" => ($context["attributes"] ?? null)]), "html", null, true);
echo "
";
}
// line 39
echo " ";
}
// line 40
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
echo " ";
if ((($context["menu_level"] ?? null) == 0)) {
// line 42
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\lemonade_day\Twig\TwigExtension']->drupalBlockPlugin("gtranslate_block"), "html", null, true);
echo "
";
}
// line 44
echo "
";
}
// line 46
echo " ";
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/lemonade_subtheme/templates/menu--main-menu.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 166 => 46, 162 => 44, 156 => 42, 153 => 41, 147 => 40, 144 => 39, 138 => 37, 132 => 35, 129 => 34, 123 => 31, 117 => 28, 113 => 26, 110 => 25, 105 => 24, 101 => 22, 97 => 20, 94 => 19, 91 => 18, 88 => 17, 85 => 16, 70 => 15, 65 => 1, 53 => 7, 49 => 6, 44 => 3, 41 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "themes/lemonade_subtheme/templates/menu--main-menu.html.twig", "/code/web/themes/lemonade_subtheme/templates/menu--main-menu.html.twig");
}
public function checkSecurity()
{
static $tags = array("apply" => 1, "import" => 2, "macro" => 15, "if" => 17, "set" => 19, "for" => 24);
static $filters = array("escape" => 6, "spaceless" => 1, "lower" => 34);
static $functions = array("link" => 35, "drupal_block_plugin" => 42);
try {
$this->sandbox->checkSecurity(
['apply', 'import', 'macro', 'if', 'set', 'for'],
['escape', 'spaceless', 'lower'],
['link', 'drupal_block_plugin']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('67001ed3c8a15_menu--main-menu.html.twig_Hu3ARWcSiq6sobz9lcbLbay0C', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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/lemonade_subtheme/templates/menu--main-menu.html.twig */
class __TwigTemplate_523621903eacd83c2811fe5f56e8c1b7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
ob_start(function () { return ''; });
// line 2
echo " ";
$macros["menus"] = $this->macros["menus"] = $this;
// line 3
echo "
<a>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["directory"] ?? null), 6, $this->source), "html", null, true);
echo "/images/ldn-logo.png\" width=\"205\"></a>
";
// line 7
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["menus"], "macro_menu_links", [($context["items"] ?? null), ($context["attributes"] ?? null), 0], 7, $context, $this->getSourceContext()));
echo "
";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_0_));
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["_self", "directory", "items", "attributes", "menu_level"]); }
// line 15
public function macro_menu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"items" => $__items__,
"attributes" => $__attributes__,
"menu_level" => $__menu_level__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start(function () { return ''; });
try {
// line 16
echo " ";
$macros["menus"] = $this;
// line 17
echo " ";
if (($context["items"] ?? null)) {
// line 18
echo " ";
if ((($context["menu_level"] ?? null) == 0)) {
// line 19
echo " ";
$context["attributes"] = ["nav-link", "w-nav-link"];
// line 20
echo "
";
} else {
// line 22
echo "
";
}
// line 24
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 25
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 25)) {
// line 26
echo "
";
// line 28
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 28), 28, $this->source), "html", null, true);
echo "
";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["menus"], "macro_menu_links", [twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 31), ["drop-link", "w-dropdown-link"], (($context["menu_level"] ?? null) + 1)], 31, $context, $this->getSourceContext()));
echo "
";
} else {
// line 34
echo " ";
if ((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 34)) == "donate")) {
// line 35
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 35), 35, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 35), 35, $this->source), ["class" => ["nav-donate"]]), "html", null, true);
echo "
";
} else {
// line 37
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 37), 37, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 37), 37, $this->source), ["class" => ($context["attributes"] ?? null)]), "html", null, true);
echo "
";
}
// line 39
echo " ";
}
// line 40
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
echo " ";
if ((($context["menu_level"] ?? null) == 0)) {
// line 42
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\lemonade_day\Twig\TwigExtension']->drupalBlockPlugin("gtranslate_block"), "html", null, true);
echo "
";
}
// line 44
echo "
";
}
// line 46
echo " ";
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/lemonade_subtheme/templates/menu--main-menu.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 166 => 46, 162 => 44, 156 => 42, 153 => 41, 147 => 40, 144 => 39, 138 => 37, 132 => 35, 129 => 34, 123 => 31, 117 => 28, 113 => 26, 110 => 25, 105 => 24, 101 => 22, 97 => 20, 94 => 19, 91 => 18, 88 => 17, 85 => 16, 70 => 15, 65 => 1, 53 => 7, 49 => 6, 44 => 3, 41 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "themes/lemonade_subtheme/templates/menu--main-menu.html.twig", "/code/web/themes/lemonade_subtheme/templates/menu--main-menu.html.twig");
}
public function checkSecurity()
{
static $tags = array("apply" => 1, "import" => 2, "macro" => 15, "if" => 17, "set" => 19, "for" => 24);
static $filters = array("escape" => 6, "spaceless" => 1, "lower" => 34);
static $functions = array("link" => 35, "drupal_block_plugin" => 42);
try {
$this->sandbox->checkSecurity(
['apply', 'import', 'macro', 'if', 'set', 'for'],
['escape', 'spaceless', 'lower'],
['link', 'drupal_block_plugin']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 351)
Twig\Environment->loadTemplate('__TwigTemplate_523621903eacd83c2811fe5f56e8c1b7', 'themes/lemonade_subtheme/templates/menu--main-menu.html.twig') (Line: 312)
Twig\Environment->load('themes/lemonade_subtheme/templates/menu--main-menu.html.twig') (Line: 39)
twig_render_template('themes/lemonade_subtheme/templates/menu--main-menu.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('menu__main_menu', Array) (Line: 480)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52)
__TwigTemplate_24b32f354b12d1260f0dc26ab94798c2->block_content(Array, Array) (Line: 171)
Twig\Template->displayBlock('content', Array, Array) (Line: 43)
__TwigTemplate_24b32f354b12d1260f0dc26ab94798c2->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 39)
twig_render_template('themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 165)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 166)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 183)
Drupal\Core\Render\Renderer->doRenderPlaceholder(Array) (Line: 712)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Fiber->start() (Line: 720)
Drupal\Core\Render\Renderer->replacePlaceholders(Array) (Line: 597)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 153)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 154)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 286)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderPlaceholders(Object) (Line: 74)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object) (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 214)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 160)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)