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)
media
Featured Entrepreneur, Katrina!
Even though this was her first year participating in Lemonade Day, 11-year-old Katrina Lawrence had big plans. She partnered with the Killeen Independent School District Homeless Awareness and Response Program (H.A.R.P.) to help reach the 1,400 homeless children in the surrounding area. The goal of H.A.R.P. is to identify students in homeless situations and ensure the students are provided with the needed basics.
What if a book could offer a child a temporary escape from reality? Katrina remembers how reading books would help her through the difficult times when she was homeless. She said, “Books are not a piece of paper; it really helps you get your mind off of things by taking you to wonderful places. I really love books, and my favorite is the Magic School Bus! You were always taken on an imaginative adventure where you learn something new.”
That is exactly what Katrina had in mind for other children facing the same hardship when she launched Lemonade 4 Literacy. What better way to mix lemonade and reading? She picked a specific book for the children called Jonathan James and the Whatif Monster. The picture book is about a child who conquers his fears of the unknown. The voice of the Whatif Monster, a small green creature with pointed teeth, fills Jonathan James's head with worry and doubt when he tries something new. "What if it's hard? What if you're bad? What if they laugh and make you feel sad?" In the end, Jonathan James questions the Whatif Monster with “What if baseball is nothing but fun, and I end up hitting a triple home run?” Katrina saw a similar opportunity to help homeless children conquer their fear of what others might think or say about their current situation.
As a child, Katrina observed her mom manage a small business selling nursing uniforms and supplies and knew she wanted to run her own business. Growing up, she would pretend to have her own restaurant and a mall where she kept her store Rosy Posy Hotel stocked for her customers. She went through the Lemonade Day Entrepreneur Workbook and used her past experience of “being a business owner” to help her start a business to help others. Katrina sold baked goods along with fresh-squeezed regular and strawberry lemonade. Her ultimate goal was to raise enough funds to provide the Whatif Monster books to every child in H.A.R.P.
Katrina strategically planned her locations for large events to attract more customers and build awareness. Katrina did not stop there. She created a Lemonade 4 Literacy Facebook page to provide updates on her progress to her followers. For people who were not aware of her Facebook page, she created a flier to pass out at each event explaining her cause. One of her many lemonade stand locations was a local car dealership. The dealership’s videographer filmed Katrina and published a commercial on their YouTube channel to promote her business. Lemonade 4 Literacy was setup for business during the entire weekend of Lemonade Day. Some of her other locations included Sam’s Club, Fort Hood’s III Corps Ribbon Cutting Ceremony, and Metroplex Hospital’s Spring Golf Classic.
Katrina’s determination continues to grow throughout her entrepreneurial journey. She said, “Research, research, research. You need a lot of information to help you run a business successfully. I went as far as researching the product and prices to help me become more knowledgeable.” Katrina was selected for Kids, Inc. at the Killeen Mall to run her business for a day in hopes of reaching her goal. She has currently raised $1,500, enough money for 300 books to donate to the homeless children.
As the summer comes to an end, Katrina has finished her Lemonade 4 Literacy entrepreneur program. However in the fall, she will be starting a new project. Since August is known for Back to School supply drives, she plans on raising money for the needed supplies for H.A.R.P. students. Of course, she is planning on donating books to go with their supplies!