An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.XYCYj5HnV1jwuyzhyv7WIT9icw8,sites/default/files/php/twig/6741fcbf13204_block--system-menu-block._8ZfgNLiBn3AUJnCF1iM0bpDB6/I8J0MPVyAU9C6JKy2SS87ulJ71uQkaiaHhSrPc3o_Rk.php): Access is denied (code: 5) in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6741fcbf13204_block--system-menu-block._8ZfgNLiBn3AUJnCF1iM0bpDB6', '<?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; /* core/modules/system/templates/block--system-menu-block.html.twig */ class __TwigTemplate_20759dadf759ea48a1f7b47edcbba02f 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 37 $context["heading_id"] = ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 37), 37, $this->source) . \Drupal\Component\Utility\Html::getId("-menu")); // line 38 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null), 38, $this->source), "html", null, true); echo "\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->withoutFilter($this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 38, $this->source), "role", "aria-labelledby"), "html", null, true); echo "> "; // line 40 echo " "; if ( !twig_get_attribute($this->env, $this->source, ($context["configuration"] ?? null), "label_display", [], "any", false, false, true, 40)) { // line 41 echo " "; $context["title_attributes"] = twig_get_attribute($this->env, $this->source, ($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method", false, false, true, 41); // line 42 echo " "; } // line 43 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null), 43, $this->source), "html", null, true); echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method", false, false, true, 44), 44, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["configuration"] ?? null), "label", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo " "; // line 45 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null), 45, $this->source), "html", null, true); echo " "; // line 48 echo " "; $this->displayBlock('content', $context, $blocks); // line 51 echo " "; } // line 48 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 49 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 49, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "core/modules/system/templates/block--system-menu-block.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 86 => 49, 82 => 48, 77 => 51, 74 => 48, 69 => 45, 63 => 44, 58 => 43, 55 => 42, 52 => 41, 49 => 40, 42 => 38, 40 => 37,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for a menu block. * * Available variables: * - plugin_id: The ID of the block implementation. * - label: The configured label of the block if visible. * - configuration: A list of the block's configuration values. * - label: The configured label for the block. * - label_display: The display settings for the label. * - provider: The module or other provider that provided this block plugin. * - Block plugin specific settings will also be stored here. * - in_preview: Whether the plugin is being rendered in preview mode. * - content: The content of this block. * - attributes: HTML attributes for the containing element. * - id: A valid HTML ID and guaranteed unique. * - title_attributes: HTML attributes for the title element. * - content_attributes: HTML attributes for the content element. * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * * Headings should be used on navigation menus that consistently appear on * multiple pages. When this menu block's label is configured to not be * displayed, it is automatically made invisible using the 'visually-hidden' CSS * class, which still keeps it visible for screen-readers and assistive * technology. Headings allow screen-reader and keyboard only users to navigate * to or skip the links. * See http://juicystudio.com/article/screen-readers-display-none.php and * http://www.w3.org/TR/WCAG-TECHS/H42.html for more information. * * @ingroup themeable */ #} {% set heading_id = attributes.id ~ '-menu'|clean_id %} {# Label. If not displayed, we still provide it for screen readers. #} {% if not configuration.label_display %} {% set title_attributes = title_attributes.addClass('visually-hidden') %} {% endif %} {{ title_prefix }} {{ configuration.label }} {{ title_suffix }} {# Menu. #} {% block content %} {{ content }} {% endblock %} ", "core/modules/system/templates/block--system-menu-block.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\system\\templates\\block--system-menu-block.html.twig"); } public function checkSecurity() { static $tags = array("set" => 37, "if" => 40, "block" => 48); static $filters = array("clean_id" => 37, "escape" => 38, "without" => 38); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'if', 'block'], ['clean_id', 'escape', 'without'], [] ); } 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('6741fcbf13204_block--system-menu-block._8ZfgNLiBn3AUJnCF1iM0bpDB6', '<?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; /* core/modules/system/templates/block--system-menu-block.html.twig */ class __TwigTemplate_20759dadf759ea48a1f7b47edcbba02f 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 37 $context["heading_id"] = ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 37), 37, $this->source) . \Drupal\Component\Utility\Html::getId("-menu")); // line 38 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null), 38, $this->source), "html", null, true); echo "\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->withoutFilter($this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 38, $this->source), "role", "aria-labelledby"), "html", null, true); echo "> "; // line 40 echo " "; if ( !twig_get_attribute($this->env, $this->source, ($context["configuration"] ?? null), "label_display", [], "any", false, false, true, 40)) { // line 41 echo " "; $context["title_attributes"] = twig_get_attribute($this->env, $this->source, ($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method", false, false, true, 41); // line 42 echo " "; } // line 43 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null), 43, $this->source), "html", null, true); echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method", false, false, true, 44), 44, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["configuration"] ?? null), "label", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo " "; // line 45 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null), 45, $this->source), "html", null, true); echo " "; // line 48 echo " "; $this->displayBlock('content', $context, $blocks); // line 51 echo " "; } // line 48 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 49 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 49, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "core/modules/system/templates/block--system-menu-block.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 86 => 49, 82 => 48, 77 => 51, 74 => 48, 69 => 45, 63 => 44, 58 => 43, 55 => 42, 52 => 41, 49 => 40, 42 => 38, 40 => 37,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for a menu block. * * Available variables: * - plugin_id: The ID of the block implementation. * - label: The configured label of the block if visible. * - configuration: A list of the block's configuration values. * - label: The configured label for the block. * - label_display: The display settings for the label. * - provider: The module or other provider that provided this block plugin. * - Block plugin specific settings will also be stored here. * - in_preview: Whether the plugin is being rendered in preview mode. * - content: The content of this block. * - attributes: HTML attributes for the containing element. * - id: A valid HTML ID and guaranteed unique. * - title_attributes: HTML attributes for the title element. * - content_attributes: HTML attributes for the content element. * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * * Headings should be used on navigation menus that consistently appear on * multiple pages. When this menu block's label is configured to not be * displayed, it is automatically made invisible using the 'visually-hidden' CSS * class, which still keeps it visible for screen-readers and assistive * technology. Headings allow screen-reader and keyboard only users to navigate * to or skip the links. * See http://juicystudio.com/article/screen-readers-display-none.php and * http://www.w3.org/TR/WCAG-TECHS/H42.html for more information. * * @ingroup themeable */ #} {% set heading_id = attributes.id ~ '-menu'|clean_id %} {# Label. If not displayed, we still provide it for screen readers. #} {% if not configuration.label_display %} {% set title_attributes = title_attributes.addClass('visually-hidden') %} {% endif %} {{ title_prefix }} {{ configuration.label }} {{ title_suffix }} {# Menu. #} {% block content %} {{ content }} {% endblock %} ", "core/modules/system/templates/block--system-menu-block.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\system\\templates\\block--system-menu-block.html.twig"); } public function checkSecurity() { static $tags = array("set" => 37, "if" => 40, "block" => 48); static $filters = array("clean_id" => 37, "escape" => 38, "without" => 38); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'if', 'block'], ['clean_id', 'escape', 'without'], [] ); } 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: 352) Twig\Environment->loadTemplate('__TwigTemplate_20759dadf759ea48a1f7b47edcbba02f', 'core/modules/system/templates/block--system-menu-block.html.twig') (Line: 312) Twig\Environment->load('core/modules/system/templates/block--system-menu-block.html.twig') (Line: 53) twig_render_template('core/modules/system/templates/block--system-menu-block.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array) (Line: 458) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 375) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->block_footer(Array, Array) (Line: 171) Twig\Template->displayBlock('footer', Array, Array) (Line: 74) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/page.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90) __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) 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: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->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: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- Warning: rename(sites/default/files/php/twig/.POLZHlfe5-R2BTQhEsoZtbbO8Vk,sites/default/files/php/twig/6741fcbf13204_menu.html.twig_PClSd3zXs9RVuLL_FreYbigUk/yZ5FIOoJs5wNTw9KzAr0sBIQzfI_LEwu96fk86MNptE.php): Access is denied (code: 5) in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6741fcbf13204_menu.html.twig_PClSd3zXs9RVuLL_FreYbigUk', '<?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/contrib/bootstrap/templates/menu/menu.html.twig */ class __TwigTemplate_8405ff8beb867f7adf995957646df173 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(); $macros["_self"] = $this->macros["_self"] = $this; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 54 echo " "; // line 60 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [($context["items"] ?? null), ($context["attributes"] ?? null), 0, ((($context["classes"] ?? null)) ? (($context["classes"] ?? null)) : ([0 => "menu", 1 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["menu_name"] ?? null), 60, $this->source))), 2 => "nav"])), ((($context["dropdown_classes"] ?? null)) ? (($context["dropdown_classes"] ?? null)) : ([0 => "dropdown-menu"]))], 60, $context, $this->getSourceContext())); echo " "; } // line 22 public function macro_menu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, $__classes__ = null, $__dropdown_classes__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "items" => $__items__, "attributes" => $__attributes__, "menu_level" => $__menu_level__, "classes" => $__classes__, "dropdown_classes" => $__dropdown_classes__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { // line 23 echo " "; if (($context["items"] ?? null)) { // line 24 echo " <ul>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => (((($context["menu_level"] ?? null) == 0)) ? (($context["classes"] ?? null)) : (($context["dropdown_classes"] ?? null)))], "method", false, false, true, 24), 24, $this->source), "html", null, true); echo "> "; // line 25 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 26 echo " "; // line 27 $context["item_classes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 27), "getOption", [0 => "container_attributes"], "method", false, false, true, 27), "class", [], "any", false, false, true, 27); // line 29 echo " "; // line 30 $context["item_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 31 $context["item"], "is_expanded", [], "any", false, false, true, 31) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 31))) ? ("expanded dropdown") : ("")), 1 => ((twig_get_attribute($this->env, $this->source, // line 32 $context["item"], "in_active_trail", [], "any", false, false, true, 32)) ? ("active active-trail") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 33 $context["loop"], "first", [], "any", false, false, true, 33)) ? ("first") : ("")), 3 => ((twig_get_attribute($this->env, $this->source, // line 34 $context["loop"], "last", [], "any", false, false, true, 34)) ? ("last") : (""))]; // line 37 echo " <li>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "attributes", [], "any", false, false, true, 37), "addClass", [0 => ($context["item_classes"] ?? null)], "method", false, false, true, 37), 37, $this->source), "html", null, true); echo "> "; // line 38 $context["link_title"] = twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 38); // line 39 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, $context["item"], "link_attributes", [], "any", false, false, true, 39); // line 40 echo " "; if ((((($context["menu_level"] ?? null) == 0) && twig_get_attribute($this->env, $this->source, $context["item"], "is_expanded", [], "any", false, false, true, 40)) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 40))) { // line 41 echo " "; ob_start(); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 41, $this->source), "html", null, true); echo " "; $context["link_title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => "dropdown-toggle"], "method", false, false, true, 42), "setAttribute", [0 => "data-toggle", 1 => "dropdown"], "method", false, false, true, 42); // line 43 echo " "; } // line 44 echo " "; // line 45 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 45), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => ((twig_get_attribute($this->env, $this->source, $context["item"], "in_active_trail", [], "any", false, false, true, 45)) ? ("active-trail") : (""))], "method", false, false, true, 45), 45, $this->source)), "html", null, true); echo " "; // line 46 if (twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 46)) { // line 47 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 47), twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "removeClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 47), (($context["menu_level"] ?? null) + 1), ($context["classes"] ?? null), ($context["dropdown_classes"] ?? null)], 47, $context, $this->getSourceContext())); echo " "; } // line 49 echo " </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 51 echo " </ul> "; } return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/menu/menu.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 51, 143 => 49, 137 => 47, 135 => 46, 130 => 45, 128 => 44, 125 => 43, 122 => 42, 116 => 41, 113 => 40, 110 => 39, 108 => 38, 103 => 37, 101 => 34, 100 => 33, 99 => 32, 98 => 31, 97 => 30, 95 => 29, 93 => 27, 91 => 26, 74 => 25, 69 => 24, 66 => 23, 49 => 22, 43 => 60, 40 => 54,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a menu. * * Available variables: * - classes: A list of classes to apply to the top level <ul> element. * - dropdown_classes: A list of classes to apply to the dropdown <ul> element. * - menu_name: The machine name of the menu. * - items: A nested list of menu items. Each menu item contains: * - attributes: HTML attributes for the menu item. * - below: The menu item child items. * - title: The menu link title. * - url: The menu link url, instance of \\Drupal\\Core\\Url * - localized_options: Menu link localized options. * * @ingroup templates * * Define a custom macro that will render all menu trees. */ #} {% macro menu_links(items, attributes, menu_level, classes, dropdown_classes) %} {% if items %} <ul level="=" classes> {% for item in items %} {% set item_classes = item.url.getOption('container_attributes').class %} {% set item_classes = [ item.is_expanded and item.below ? 'expanded dropdown', item.in_active_trail ? 'active active-trail', loop.first ? 'first', loop.last ? 'last', ] %} <li> {% set link_title = item.title %} {% set link_attributes = item.link_attributes %} {% if menu_level == 0 and item.is_expanded and item.below %} {% set link_title %}{{ link_title }} {% endset %} {% set link_attributes = link_attributes.addClass('dropdown-toggle').setAttribute('data-toggle', 'dropdown') %} {% endif %} {# Must use link() here so it triggers hook_link_alter(). #} {{ link(link_title, item.url, link_attributes.addClass(item.in_active_trail ? 'active-trail')) }} {% if item.below %} {{ _self.menu_links(item.below, attributes.removeClass(classes), menu_level + 1, classes, dropdown_classes) }} {% endif %} </li> {% endfor %} </ul> {% endif %} {% endmacro %} {# Invoke the custom macro defined above. If classes were provided, use them. This allows the template to be extended without having to also duplicate the code above. @see http://twig.sensiolabs.org/doc/tags/macro.html #} {{ _self.menu_links(items, attributes, 0, classes ?: ['menu', 'menu--' ~ menu_name|clean_class, 'nav'], dropdown_classes ?: ['dropdown-menu']) }} ", "themes/contrib/bootstrap/templates/menu/menu.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\menu\\menu.html.twig"); } public function checkSecurity() { static $tags = array("macro" => 22, "if" => 23, "for" => 25, "set" => 27); static $filters = array("clean_class" => 60, "escape" => 24); static $functions = array("link" => 45); try { $this->sandbox->checkSecurity( ['macro', 'if', 'for', 'set', 'import'], ['clean_class', 'escape'], ['link'] ); } 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('6741fcbf13204_menu.html.twig_PClSd3zXs9RVuLL_FreYbigUk', '<?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/contrib/bootstrap/templates/menu/menu.html.twig */ class __TwigTemplate_8405ff8beb867f7adf995957646df173 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(); $macros["_self"] = $this->macros["_self"] = $this; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 54 echo " "; // line 60 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [($context["items"] ?? null), ($context["attributes"] ?? null), 0, ((($context["classes"] ?? null)) ? (($context["classes"] ?? null)) : ([0 => "menu", 1 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["menu_name"] ?? null), 60, $this->source))), 2 => "nav"])), ((($context["dropdown_classes"] ?? null)) ? (($context["dropdown_classes"] ?? null)) : ([0 => "dropdown-menu"]))], 60, $context, $this->getSourceContext())); echo " "; } // line 22 public function macro_menu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, $__classes__ = null, $__dropdown_classes__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "items" => $__items__, "attributes" => $__attributes__, "menu_level" => $__menu_level__, "classes" => $__classes__, "dropdown_classes" => $__dropdown_classes__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { // line 23 echo " "; if (($context["items"] ?? null)) { // line 24 echo " <ul>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => (((($context["menu_level"] ?? null) == 0)) ? (($context["classes"] ?? null)) : (($context["dropdown_classes"] ?? null)))], "method", false, false, true, 24), 24, $this->source), "html", null, true); echo "> "; // line 25 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 26 echo " "; // line 27 $context["item_classes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 27), "getOption", [0 => "container_attributes"], "method", false, false, true, 27), "class", [], "any", false, false, true, 27); // line 29 echo " "; // line 30 $context["item_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 31 $context["item"], "is_expanded", [], "any", false, false, true, 31) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 31))) ? ("expanded dropdown") : ("")), 1 => ((twig_get_attribute($this->env, $this->source, // line 32 $context["item"], "in_active_trail", [], "any", false, false, true, 32)) ? ("active active-trail") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 33 $context["loop"], "first", [], "any", false, false, true, 33)) ? ("first") : ("")), 3 => ((twig_get_attribute($this->env, $this->source, // line 34 $context["loop"], "last", [], "any", false, false, true, 34)) ? ("last") : (""))]; // line 37 echo " <li>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "attributes", [], "any", false, false, true, 37), "addClass", [0 => ($context["item_classes"] ?? null)], "method", false, false, true, 37), 37, $this->source), "html", null, true); echo "> "; // line 38 $context["link_title"] = twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 38); // line 39 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, $context["item"], "link_attributes", [], "any", false, false, true, 39); // line 40 echo " "; if ((((($context["menu_level"] ?? null) == 0) && twig_get_attribute($this->env, $this->source, $context["item"], "is_expanded", [], "any", false, false, true, 40)) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 40))) { // line 41 echo " "; ob_start(); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 41, $this->source), "html", null, true); echo " "; $context["link_title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => "dropdown-toggle"], "method", false, false, true, 42), "setAttribute", [0 => "data-toggle", 1 => "dropdown"], "method", false, false, true, 42); // line 43 echo " "; } // line 44 echo " "; // line 45 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 45), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => ((twig_get_attribute($this->env, $this->source, $context["item"], "in_active_trail", [], "any", false, false, true, 45)) ? ("active-trail") : (""))], "method", false, false, true, 45), 45, $this->source)), "html", null, true); echo " "; // line 46 if (twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 46)) { // line 47 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 47), twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "removeClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 47), (($context["menu_level"] ?? null) + 1), ($context["classes"] ?? null), ($context["dropdown_classes"] ?? null)], 47, $context, $this->getSourceContext())); echo " "; } // line 49 echo " </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 51 echo " </ul> "; } return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/menu/menu.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 51, 143 => 49, 137 => 47, 135 => 46, 130 => 45, 128 => 44, 125 => 43, 122 => 42, 116 => 41, 113 => 40, 110 => 39, 108 => 38, 103 => 37, 101 => 34, 100 => 33, 99 => 32, 98 => 31, 97 => 30, 95 => 29, 93 => 27, 91 => 26, 74 => 25, 69 => 24, 66 => 23, 49 => 22, 43 => 60, 40 => 54,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a menu. * * Available variables: * - classes: A list of classes to apply to the top level <ul> element. * - dropdown_classes: A list of classes to apply to the dropdown <ul> element. * - menu_name: The machine name of the menu. * - items: A nested list of menu items. Each menu item contains: * - attributes: HTML attributes for the menu item. * - below: The menu item child items. * - title: The menu link title. * - url: The menu link url, instance of \\Drupal\\Core\\Url * - localized_options: Menu link localized options. * * @ingroup templates * * Define a custom macro that will render all menu trees. */ #} {% macro menu_links(items, attributes, menu_level, classes, dropdown_classes) %} {% if items %} <ul level="=" classes> {% for item in items %} {% set item_classes = item.url.getOption('container_attributes').class %} {% set item_classes = [ item.is_expanded and item.below ? 'expanded dropdown', item.in_active_trail ? 'active active-trail', loop.first ? 'first', loop.last ? 'last', ] %} <li> {% set link_title = item.title %} {% set link_attributes = item.link_attributes %} {% if menu_level == 0 and item.is_expanded and item.below %} {% set link_title %}{{ link_title }} {% endset %} {% set link_attributes = link_attributes.addClass('dropdown-toggle').setAttribute('data-toggle', 'dropdown') %} {% endif %} {# Must use link() here so it triggers hook_link_alter(). #} {{ link(link_title, item.url, link_attributes.addClass(item.in_active_trail ? 'active-trail')) }} {% if item.below %} {{ _self.menu_links(item.below, attributes.removeClass(classes), menu_level + 1, classes, dropdown_classes) }} {% endif %} </li> {% endfor %} </ul> {% endif %} {% endmacro %} {# Invoke the custom macro defined above. If classes were provided, use them. This allows the template to be extended without having to also duplicate the code above. @see http://twig.sensiolabs.org/doc/tags/macro.html #} {{ _self.menu_links(items, attributes, 0, classes ?: ['menu', 'menu--' ~ menu_name|clean_class, 'nav'], dropdown_classes ?: ['dropdown-menu']) }} ", "themes/contrib/bootstrap/templates/menu/menu.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\menu\\menu.html.twig"); } public function checkSecurity() { static $tags = array("macro" => 22, "if" => 23, "for" => 25, "set" => 27); static $filters = array("clean_class" => 60, "escape" => 24); static $functions = array("link" => 45); try { $this->sandbox->checkSecurity( ['macro', 'if', 'for', 'set', 'import'], ['clean_class', 'escape'], ['link'] ); } 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: 352) Twig\Environment->loadTemplate('__TwigTemplate_8405ff8beb867f7adf995957646df173', 'themes/contrib/bootstrap/templates/menu/menu.html.twig') (Line: 312) Twig\Environment->load('themes/contrib/bootstrap/templates/menu/menu.html.twig') (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/menu/menu.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('menu', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 87) __TwigTemplate_20759dadf759ea48a1f7b47edcbba02f->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 75) __TwigTemplate_20759dadf759ea48a1f7b47edcbba02f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('core/modules/system/templates/block--system-menu-block.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array) (Line: 458) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 375) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->block_footer(Array, Array) (Line: 171) Twig\Template->displayBlock('footer', Array, Array) (Line: 74) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/page.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90) __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) 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: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->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: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- Warning: rename(sites/default/files/php/twig/.Qvy63IlSXDaknQjqExI7XHl8sB0,sites/default/files/php/twig/6741fcbf13204_off-canvas-page-wrapper.h_Und3lpsaizwBCjm3afEcR8V56/NRGonJQSBCGHLU1PfR35EDytvcDKIupYHcrpqS0fH2M.php): Access is denied (code: 5) in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6741fcbf13204_off-canvas-page-wrapper.h_Und3lpsaizwBCjm3afEcR8V56', '<?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; /* core/modules/system/templates/off-canvas-page-wrapper.html.twig */ class __TwigTemplate_1dafad8991a48755688fb50c4d67b81b 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 22 if (($context["children"] ?? null)) { // line 23 echo " "; // line 24 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 24, $this->source), "html", null, true); echo " "; } } public function getTemplateName() { return "core/modules/system/templates/off-canvas-page-wrapper.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 44 => 24, 41 => 23, 39 => 22,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for a page wrapper. * * For consistent wrapping to {{ page }} render in all themes. The * \"data-off-canvas-main-canvas\" attribute is required by the off-canvas dialog. * This is used by the core/drupal.dialog.off_canvas library to select the * \"main canvas\" page element as opposed to the \"off canvas\" which is the dialog * itself. The \"main canvas\" element must be resized according to the width of * the \"off canvas\" dialog so that no portion of the \"main canvas\" is obstructed * by the off-canvas dialog. The off-canvas dialog can vary in width when opened * and can be resized by the user. The \"data-off-canvas-main-canvas\" attribute * cannot be removed without breaking the off-canvas dialog functionality. * * Available variables: * - children: Contains the child elements of the page. * * @ingroup themeable */ #} {% if children %} {{ children }} {% endif %} ", "core/modules/system/templates/off-canvas-page-wrapper.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\system\\templates\\off-canvas-page-wrapper.html.twig"); } public function checkSecurity() { static $tags = array("if" => 22); static $filters = array("escape" => 24); static $functions = array(); try { $this->sandbox->checkSecurity( ['if'], ['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('6741fcbf13204_off-canvas-page-wrapper.h_Und3lpsaizwBCjm3afEcR8V56', '<?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; /* core/modules/system/templates/off-canvas-page-wrapper.html.twig */ class __TwigTemplate_1dafad8991a48755688fb50c4d67b81b 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 22 if (($context["children"] ?? null)) { // line 23 echo " "; // line 24 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 24, $this->source), "html", null, true); echo " "; } } public function getTemplateName() { return "core/modules/system/templates/off-canvas-page-wrapper.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 44 => 24, 41 => 23, 39 => 22,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for a page wrapper. * * For consistent wrapping to {{ page }} render in all themes. The * \"data-off-canvas-main-canvas\" attribute is required by the off-canvas dialog. * This is used by the core/drupal.dialog.off_canvas library to select the * \"main canvas\" page element as opposed to the \"off canvas\" which is the dialog * itself. The \"main canvas\" element must be resized according to the width of * the \"off canvas\" dialog so that no portion of the \"main canvas\" is obstructed * by the off-canvas dialog. The off-canvas dialog can vary in width when opened * and can be resized by the user. The \"data-off-canvas-main-canvas\" attribute * cannot be removed without breaking the off-canvas dialog functionality. * * Available variables: * - children: Contains the child elements of the page. * * @ingroup themeable */ #} {% if children %} {{ children }} {% endif %} ", "core/modules/system/templates/off-canvas-page-wrapper.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\system\\templates\\off-canvas-page-wrapper.html.twig"); } public function checkSecurity() { static $tags = array("if" => 22); static $filters = array("escape" => 24); static $functions = array(); try { $this->sandbox->checkSecurity( ['if'], ['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: 352) Twig\Environment->loadTemplate('__TwigTemplate_1dafad8991a48755688fb50c4d67b81b', 'core/modules/system/templates/off-canvas-page-wrapper.html.twig') (Line: 312) Twig\Environment->load('core/modules/system/templates/off-canvas-page-wrapper.html.twig') (Line: 53) twig_render_template('core/modules/system/templates/off-canvas-page-wrapper.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('off_canvas_page_wrapper', Array) (Line: 501) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90) __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) 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: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->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: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)