Error message
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_block--system-menu-block._U-6_lvqhhmIyP-R0g77zSVO5p', '<?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/blocks/block--system-menu-block.html.twig */ class __TwigTemplate_24b32f354b12d1260f0dc26ab94798c2 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'content' => [$this, 'block_content'], ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 34 echo " "; // line 35 $this->displayBlock('content', $context, $blocks); $this->env->getExtension('\Drupal\Core\Template\TwigExtension') ->checkDeprecations($context, ["content"]); } public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 36 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 36, $this->source), "html", null, true); echo " "; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig"; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 51 => 36, 43 => 35, 40 => 34,); } public function getSourceContext() { return new Source("", "themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig", "/code/web/themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig"); } public function checkSecurity() { static $tags = array("block" => 35); static $filters = array("escape" => 36); static $functions = array(); try { $this->sandbox->checkSecurity( ['block'], ['escape'], [] ); } 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_block--system-menu-block._U-6_lvqhhmIyP-R0g77zSVO5p', '<?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/blocks/block--system-menu-block.html.twig */ class __TwigTemplate_24b32f354b12d1260f0dc26ab94798c2 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'content' => [$this, 'block_content'], ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 34 echo " "; // line 35 $this->displayBlock('content', $context, $blocks); $this->env->getExtension('\Drupal\Core\Template\TwigExtension') ->checkDeprecations($context, ["content"]); } public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 36 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 36, $this->source), "html", null, true); echo " "; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig"; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 51 => 36, 43 => 35, 40 => 34,); } public function getSourceContext() { return new Source("", "themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig", "/code/web/themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig"); } public function checkSecurity() { static $tags = array("block" => 35); static $filters = array("escape" => 36); static $functions = array(); try { $this->sandbox->checkSecurity( ['block'], ['escape'], [] ); } 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_24b32f354b12d1260f0dc26ab94798c2', 'themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig') (Line: 312) Twig\Environment->load('themes/lemonade_subtheme/templates/blocks/block--system-menu-block.html.twig') (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)
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)
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_gtranslate.html.twig_d3lhrc6Qn1ZOdXBpOhrN7dSM0', '<?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; /* modules/contrib/gtranslate/templates/gtranslate.html.twig */ class __TwigTemplate_17c324f01824d9ffde4575328343a506 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 9 echo " "; // line 10 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["gtranslate_html"] ?? null), 10, $this->source)); $this->env->getExtension('\Drupal\Core\Template\TwigExtension') ->checkDeprecations($context, ["gtranslate_html"]); } /** * @codeCoverageIgnore */ public function getTemplateName() { return "modules/contrib/gtranslate/templates/gtranslate.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 42 => 10, 39 => 9,); } public function getSourceContext() { return new Source("", "modules/contrib/gtranslate/templates/gtranslate.html.twig", "/code/web/modules/contrib/gtranslate/templates/gtranslate.html.twig"); } public function checkSecurity() { static $tags = array(); static $filters = array("raw" => 10); static $functions = array(); try { $this->sandbox->checkSecurity( [], ['raw'], [] ); } 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_gtranslate.html.twig_d3lhrc6Qn1ZOdXBpOhrN7dSM0', '<?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; /* modules/contrib/gtranslate/templates/gtranslate.html.twig */ class __TwigTemplate_17c324f01824d9ffde4575328343a506 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 9 echo " "; // line 10 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["gtranslate_html"] ?? null), 10, $this->source)); $this->env->getExtension('\Drupal\Core\Template\TwigExtension') ->checkDeprecations($context, ["gtranslate_html"]); } /** * @codeCoverageIgnore */ public function getTemplateName() { return "modules/contrib/gtranslate/templates/gtranslate.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 42 => 10, 39 => 9,); } public function getSourceContext() { return new Source("", "modules/contrib/gtranslate/templates/gtranslate.html.twig", "/code/web/modules/contrib/gtranslate/templates/gtranslate.html.twig"); } public function checkSecurity() { static $tags = array(); static $filters = array("raw" => 10); static $functions = array(); try { $this->sandbox->checkSecurity( [], ['raw'], [] ); } 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_17c324f01824d9ffde4575328343a506', 'modules/contrib/gtranslate/templates/gtranslate.html.twig') (Line: 312) Twig\Environment->load('modules/contrib/gtranslate/templates/gtranslate.html.twig') (Line: 39) twig_render_template('modules/contrib/gtranslate/templates/gtranslate.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('gtranslate', 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: 157) __TwigTemplate_523621903eacd83c2811fe5f56e8c1b7->macro_menu_links(Array, Object, 0) (Line: 1224) twig_call_macro(Object, 'macro_menu_links', Array, 7, Array, Object) (Line: 53) __TwigTemplate_523621903eacd83c2811fe5f56e8c1b7->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/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)
Our Impact
LEMONADE DAY BY THE NUMBERS
impact RESULTS
See the stats from our most recent National Survey of Parents, Mentors, Group Leaders, and Teachers to learn how they felt Lemonade Day impacted the lives of young entrepreneurs everywhere.
Read our Impact Study focusing on youth participants.
1.5 M+
KIDS SERVED SINCE 2007
90
COMMUNITIES IN 3 COUNTRIES
1st
DAY BEING THE BOSS
Areas of Self Improvement
Problem Solving
83%
Communication Skills
86%
Self Esteem
86%
Ability to set financial goals
86%
Understanding of saving and philanthropy
86%
Correlation between math and the real world
87%
Impact Survey Results: Lemonade Day Impact on the Next Generation of Business Leaders
"I plan to start my own business"
67%
"I will invent something that will change the world"
57%
"I can find lots of ways around a problem"
69%
" I am running my own business today"
28%
Lemonade Day youth run their own business now at a level that is more than three times that of average U.S. students.
"Lemonade Day is empowering the youth of today to be the leaders of tomorrow. The program inspires kids to go beyond the status quo. There is a level of independence and self-determination gained from Lemonade Day's lessons, and we will continue to ignite the entrepreneurial spirit of our children."
—Charlie Hamilton, Lemonade Day national board member
@LemonadeDayNational