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)
Spooked about Entrepreneurship? Overcoming Fear of Risk and Failure Yields Great Rewards
By Steven Gordon, Lemonade Day National President
“I’ll let you in on a little secret: Entrepreneurs are scared. They are scared of failing. They are scared of getting fired or losing control. They are scared of not being able to close a deal. They are scared of letting their family, friends or investors down. They are scared that their cynical professor was right — this was a stupid idea. They are scared they won’t be able to come up with another big idea or….
The entrepreneurial paradox is this: The things that make most people feel safest are exactly what put us at the greatest risk. Slowing down and being conservative will ultimately lead to less compelling thinking and less business. Therefore, we must embrace fear.
So all entrepreneurs must learn to constantly dance simultaneously with both fear and possibility.”
Introduction to the article “How Entrepreneurs Overcome Fear,”
by Mike Maddock, Forbes Magazine contributor
Visions of ghosts, goblin, and ghouls dance in our heads as Halloween approaches on the last day of this month. Timing could not be better to address the fear of risk and failure that spooks people and makes them run away from pursuing entrepreneurial ventures.
For kids of any age, starting a business is not typically at the top of their priority list. Becoming a business owner may seem like something only adults do. However, Lemonade Day encourages kids in grades K through 5 to become entrepreneurs. With Lemonade Day, we take away the fear of starting a lemonade business and equip our Lemonade Day kids and their mentors with a proven approach focused on how to get an investor, how to develop a great plan, how to implement that plan, how to market and sell their product, and what to do with the proceeds of their sales. Save some, spend some, share some!
Think about some young people who went on to become famous entrepreneurs. Singers Michael Jackson (Think “Thriller” especially this time of year) and Miley Cyrus (the star of Disney’s “Hannah Montana action series) are two of many super kids who became super entrepreneurs. You might not think of them and other artists as business owners. Michael Jackson’s career as a singer was so successful that even after his death, his estate has continued earning billions of dollars from royalties. Miley Cyrus, who is not quite 25 years old, has a net worth of $200 million – and she has created numerous jobs for those who support her recording, touring and performance schedules.
Bury the fear and don’t be spooked. Check out www.entrepreneur.com/topic/young-entrepreneurs and visit lemonadeday.org for more information. Registration terms and conditions for Lemonade Day 2018 vary by city.
About Lemonade Day
Founded in Houston in 2007 by Michael and Lisa Holthouse, Lemonade Day is a non-profit organization dedicated to teaching every child across North America the business and financial skills that are the key ingredients of entrepreneurship. By learning these skills early in life, children will be better prepared to be successful, financially healthy adults. Through our fun, hands-on program Kids K-5 are empowered to start their very own business—a lemonade stand—and experience the feeling of earning real money, using 100% of their profit to spend, save and share based on their own goals.
Lemonade Day is in 62 cities throughout the United States. Over the past 10 years, we have served more than 1 million kids in our kid entrepreneur programs and in 2016 alone, 101,000 kids participated in Lemonade Day.
Visit LemonadeDay.org to learn how to participate in Lemonade Day in your city.
back to blog
By Steven Gordon, Lemonade Day National President
“I’ll let you in on a little secret: Entrepreneurs are scared. They are scared of failing. They are scared of getting fired or losing control. They are scared of not being able to close a deal. They are scared of letting their family, friends or investors down. They are scared that their cynical professor was right — this was a stupid idea. They are scared they won’t be able to come up with another big idea or….
The entrepreneurial paradox is this: The things that make most people feel safest are exactly what put us at the greatest risk. Slowing down and being conservative will ultimately lead to less compelling thinking and less business. Therefore, we must embrace fear.
So all entrepreneurs must learn to constantly dance simultaneously with both fear and possibility.”
Introduction to the article “How Entrepreneurs Overcome Fear,”
by Mike Maddock, Forbes Magazine contributor
Visions of ghosts, goblin, and ghouls dance in our heads as Halloween approaches on the last day of this month. Timing could not be better to address the fear of risk and failure that spooks people and makes them run away from pursuing entrepreneurial ventures.
For kids of any age, starting a business is not typically at the top of their priority list. Becoming a business owner may seem like something only adults do. However, Lemonade Day encourages kids in grades K through 5 to become entrepreneurs. With Lemonade Day, we take away the fear of starting a lemonade business and equip our Lemonade Day kids and their mentors with a proven approach focused on how to get an investor, how to develop a great plan, how to implement that plan, how to market and sell their product, and what to do with the proceeds of their sales. Save some, spend some, share some!
Think about some young people who went on to become famous entrepreneurs. Singers Michael Jackson (Think “Thriller” especially this time of year) and Miley Cyrus (the star of Disney’s “Hannah Montana action series) are two of many super kids who became super entrepreneurs. You might not think of them and other artists as business owners. Michael Jackson’s career as a singer was so successful that even after his death, his estate has continued earning billions of dollars from royalties. Miley Cyrus, who is not quite 25 years old, has a net worth of $200 million – and she has created numerous jobs for those who support her recording, touring and performance schedules.
Bury the fear and don’t be spooked. Check out www.entrepreneur.com/topic/young-entrepreneurs and visit lemonadeday.org for more information. Registration terms and conditions for Lemonade Day 2018 vary by city.
About Lemonade Day
Founded in Houston in 2007 by Michael and Lisa Holthouse, Lemonade Day is a non-profit organization dedicated to teaching every child across North America the business and financial skills that are the key ingredients of entrepreneurship. By learning these skills early in life, children will be better prepared to be successful, financially healthy adults. Through our fun, hands-on program Kids K-5 are empowered to start their very own business—a lemonade stand—and experience the feeling of earning real money, using 100% of their profit to spend, save and share based on their own goals.
Lemonade Day is in 62 cities throughout the United States. Over the past 10 years, we have served more than 1 million kids in our kid entrepreneur programs and in 2016 alone, 101,000 kids participated in Lemonade Day.
Visit LemonadeDay.org to learn how to participate in Lemonade Day in your city.
@LemonadeDayNational