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)
Yash
“I am Yash Semlani—7 years old, a 2nd grader and a Cub Scout. This is the second year that my brother, Jay Semlani, who is 4 years old, and I are doing the Lemonade Day program through TiE Young Entrepreneurs. This year, we were so excited when Dad told us in March that TiE mentoring was starting early. I came home from that session with many, many ideas in my head.
The next day, I sat with my mom and dad to read the Lemonade Day book and do the worksheets. When my mom asked me what my goal was, I quickly replied that I wanted to make a million dollars. My parents just smiled and said that was too much money and that I needed to set a reasonable, achievable goal. So I thought some more and said that I wanted to make a thousand dollars. My mom once again said that it was too much. I quickly asked, “Why?” So we did the math together and figured out that to make $1,000 at $2 a cup, I would have to sell 500 cups of lemonade. That was a lot!
On the way to school the next day, my mom asked me, “Why do you want to do the lemonade stand?”, and unlike last year where I just wanted a video game, this year my response was, “I want to help the kids at Texas Children’s Hospital.” I was born at Texas Children’s, and I wanted to give back a little.
Instead of finding an investor, I decided to focus on pre-selling vouchers because it worked last year and made things more predictable. However, this year we designed a voucher without a price that clearly showed my cause and what people would get, like lemonade, cookies, and raffle prizes where winners did not have to be present to win. I was nervous to knock on doors and find out whether people would buy a $25 lemonade voucher to support my cause and help me reach my goal.
That evening after school, I sold 12 vouchers and made $300. Then another thought came to me – if people are buying one voucher, will they buy a two-pack? The next day, I stapled two vouchers together and offered the two-packs and made another $400 in half the time.
Hearing how excited I was about the work, one of my friends, Ananya, asked if she could join me in my lemonade stand. Now we increased our goal to $3,000 and felt confident that we could make it happen.
Ananya, Jay and I recorded our pledge, and our parents posted in online so we could spread the word faster and get people to buy online too using a credit card. I also spoke to several local businesses, who donated boxed lunches and more raffle prizes so we would not have to spend money on food and could increase our profit.
This year, we had four original lemonade recipes and sold 30 gallons of lemonade, 3 dozen cookies, and 300 pre-packed lunches donated from McDonald’s, Boudreaux’s, Russo’s, Papa John’s, Red Dot and more. We had a water slide, a snow cone machine and 15 raffle prizes that were also donated. We had sales of over $5,000 and profits of over $4,500.
My dad asked me what I learned from this experience. There were so many things, and I couldn’t really decide, but I liked something my mom said. She said she loved that every time she put a hurdle in my path and thought that I would stop or think smaller, I instead thought of a way around it. She said what has really helped me reach my goal and pass it is that I believed I wanted to make a difference and that people saw this and they wanted to help me too. I like that lesson. I believe I’m going to start earlier and try harder next year to meet my original goal of a million dollars, and maybe Mom will help me by putting some more hurdles in my path.
Dad says my customers really got value for their money and are sure to return next year. If you couldn’t make it this year, do come next year and help me reach my goal to make a difference, one cup at a time.” --Yash Semlani
back to blog
“I am Yash Semlani—7 years old, a 2nd grader and a Cub Scout. This is the second year that my brother, Jay Semlani, who is 4 years old, and I are doing the Lemonade Day program through TiE Young Entrepreneurs. This year, we were so excited when Dad told us in March that TiE mentoring was starting early. I came home from that session with many, many ideas in my head.
The next day, I sat with my mom and dad to read the Lemonade Day book and do the worksheets. When my mom asked me what my goal was, I quickly replied that I wanted to make a million dollars. My parents just smiled and said that was too much money and that I needed to set a reasonable, achievable goal. So I thought some more and said that I wanted to make a thousand dollars. My mom once again said that it was too much. I quickly asked, “Why?” So we did the math together and figured out that to make $1,000 at $2 a cup, I would have to sell 500 cups of lemonade. That was a lot!
On the way to school the next day, my mom asked me, “Why do you want to do the lemonade stand?”, and unlike last year where I just wanted a video game, this year my response was, “I want to help the kids at Texas Children’s Hospital.” I was born at Texas Children’s, and I wanted to give back a little.
Instead of finding an investor, I decided to focus on pre-selling vouchers because it worked last year and made things more predictable. However, this year we designed a voucher without a price that clearly showed my cause and what people would get, like lemonade, cookies, and raffle prizes where winners did not have to be present to win. I was nervous to knock on doors and find out whether people would buy a $25 lemonade voucher to support my cause and help me reach my goal.
That evening after school, I sold 12 vouchers and made $300. Then another thought came to me – if people are buying one voucher, will they buy a two-pack? The next day, I stapled two vouchers together and offered the two-packs and made another $400 in half the time.
Hearing how excited I was about the work, one of my friends, Ananya, asked if she could join me in my lemonade stand. Now we increased our goal to $3,000 and felt confident that we could make it happen.
Ananya, Jay and I recorded our pledge, and our parents posted in online so we could spread the word faster and get people to buy online too using a credit card. I also spoke to several local businesses, who donated boxed lunches and more raffle prizes so we would not have to spend money on food and could increase our profit.
This year, we had four original lemonade recipes and sold 30 gallons of lemonade, 3 dozen cookies, and 300 pre-packed lunches donated from McDonald’s, Boudreaux’s, Russo’s, Papa John’s, Red Dot and more. We had a water slide, a snow cone machine and 15 raffle prizes that were also donated. We had sales of over $5,000 and profits of over $4,500.
My dad asked me what I learned from this experience. There were so many things, and I couldn’t really decide, but I liked something my mom said. She said she loved that every time she put a hurdle in my path and thought that I would stop or think smaller, I instead thought of a way around it. She said what has really helped me reach my goal and pass it is that I believed I wanted to make a difference and that people saw this and they wanted to help me too. I like that lesson. I believe I’m going to start earlier and try harder next year to meet my original goal of a million dollars, and maybe Mom will help me by putting some more hurdles in my path.
Dad says my customers really got value for their money and are sure to return next year. If you couldn’t make it this year, do come next year and help me reach my goal to make a difference, one cup at a time.” --Yash Semlani
@LemonadeDayNational