An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.kRu85xlbURggEnF6lJBwAvh8QJU,sites/default/files/php/twig/6986e4a6e2040_links.html.twig_C4rXou8kJEM9ReYKbQmj-W2Bc/nvpuFXDzwuknUn0DGjmh5Msx4EeIpEZNdL0_Kjery6k.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('6986e4a6e2040_links.html.twig_C4rXou8kJEM9ReYKbQmj-W2Bc', '<?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/system/links.html.twig */ class __TwigTemplate_858cb5438c6f0307a007797de08a18c4 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 37 if (($context["links"] ?? null)) { // line 38 if (($context["heading"] ?? null)) { // line 39 if (twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 39)) { // line 40 echo "<"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 40), 40, $this->source), "html", null, true); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 40), 40, $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["heading"] ?? null), "text", [], "any", false, false, true, 40), 40, $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["heading"] ?? null), "level", [], "any", false, false, true, 40), 40, $this->source), "html", null, true); echo ">"; } else { // line 42 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 42), 42, $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["heading"] ?? null), "text", [], "any", false, false, true, 42), 42, $this->source), "html", null, true); echo ""; } } // line 45 if (twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "hasClass", [0 => "inline"], "method", false, false, true, 45)) { // line 46 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 => "list-inline"], "method", false, false, true, 46), 46, $this->source), "html", null, true); echo ">"; } else { // line 48 echo "<ul>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 48, $this->source), "html", null, true); echo ">"; } // line 50 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["links"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 51 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, 51), "addClass", [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($context["key"], 51, $this->source))], "method", false, false, true, 51), 51, $this->source), "html", null, true); echo ">"; // line 52 if (twig_get_attribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 52)) { // line 53 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 53), 53, $this->source), "html", null, true); } elseif (twig_get_attribute($this->env, $this->source, // line 54 $context["item"], "text_attributes", [], "any", false, false, true, 54)) { // line 55 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "text_attributes", [], "any", false, false, true, 55), 55, $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["item"], "text", [], "any", false, false, true, 55), 55, $this->source), "html", null, true); echo ""; } else { // line 57 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 57), 57, $this->source), "html", null, true); } // line 59 echo "</li>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 61 echo "</ul>"; } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/system/links.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 105 => 61, 99 => 59, 96 => 57, 89 => 55, 87 => 54, 85 => 53, 83 => 52, 79 => 51, 75 => 50, 70 => 48, 65 => 46, 63 => 45, 55 => 42, 45 => 40, 43 => 39, 41 => 38, 39 => 37,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override for a set of links. * * Available variables: * - attributes: Attributes for the UL containing the list of links. * - links: Links to be output. * Each link will have the following elements: * - title: The link text. * - href: The link URL. If omitted, the 'title' is shown as a plain text * item in the links list. If 'href' is supplied, the entire link is passed * to l() as its \$options parameter. * - attributes: (optional) HTML attributes for the anchor, or for the * tag if no 'href' is supplied. * - link_key: The link CSS class. * - heading: (optional) A heading to precede the links. * - text: The heading text. * - level: The heading level (e.g. 'h2', 'h3'). * - attributes: (optional) A keyed list of attributes for the heading. * If the heading is a string, it will be used as the text of the heading and * the level will default to 'h2'. * * Headings should be used on navigation menus and any list of links that * consistently appears on multiple pages. To make the heading invisible use * the 'visually-hidden' CSS class. Do not use 'display:none', which * removes it from 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 templates * * @see template_preprocess_links() */ #} {% if links -%} {%- if heading -%} {%- if heading.level -%} <{{ heading.level }}{{ heading.attributes }}>{{ heading.text }} {%- else -%} {{ heading.text }} {%- endif -%} {%- endif -%} {%- if attributes.hasClass('inline') -%} <ul> {%- else -%} <ul attributes> {%- endif -%} {%- for key, item in links -%} <li> {%- if item.link -%} {{ item.link }} {%- elseif item.text_attributes -%} {{ item.text }} {%- else -%} {{ item.text }} {%- endif -%} </li> {%- endfor -%} </ul> {%- endif %} ", "themes/contrib/bootstrap/templates/system/links.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\system\\links.html.twig"); } public function checkSecurity() { static $tags = array("if" => 37, "for" => 50); static $filters = array("escape" => 40, "clean_class" => 51); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'for'], ['escape', 'clean_class'], [] ); } 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('6986e4a6e2040_links.html.twig_C4rXou8kJEM9ReYKbQmj-W2Bc', '<?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/system/links.html.twig */ class __TwigTemplate_858cb5438c6f0307a007797de08a18c4 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 37 if (($context["links"] ?? null)) { // line 38 if (($context["heading"] ?? null)) { // line 39 if (twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 39)) { // line 40 echo "<"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 40), 40, $this->source), "html", null, true); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 40), 40, $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["heading"] ?? null), "text", [], "any", false, false, true, 40), 40, $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["heading"] ?? null), "level", [], "any", false, false, true, 40), 40, $this->source), "html", null, true); echo ">"; } else { // line 42 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 42), 42, $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["heading"] ?? null), "text", [], "any", false, false, true, 42), 42, $this->source), "html", null, true); echo ""; } } // line 45 if (twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "hasClass", [0 => "inline"], "method", false, false, true, 45)) { // line 46 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 => "list-inline"], "method", false, false, true, 46), 46, $this->source), "html", null, true); echo ">"; } else { // line 48 echo "<ul>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 48, $this->source), "html", null, true); echo ">"; } // line 50 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["links"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 51 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, 51), "addClass", [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($context["key"], 51, $this->source))], "method", false, false, true, 51), 51, $this->source), "html", null, true); echo ">"; // line 52 if (twig_get_attribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 52)) { // line 53 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 53), 53, $this->source), "html", null, true); } elseif (twig_get_attribute($this->env, $this->source, // line 54 $context["item"], "text_attributes", [], "any", false, false, true, 54)) { // line 55 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "text_attributes", [], "any", false, false, true, 55), 55, $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["item"], "text", [], "any", false, false, true, 55), 55, $this->source), "html", null, true); echo ""; } else { // line 57 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 57), 57, $this->source), "html", null, true); } // line 59 echo "</li>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 61 echo "</ul>"; } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/system/links.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 105 => 61, 99 => 59, 96 => 57, 89 => 55, 87 => 54, 85 => 53, 83 => 52, 79 => 51, 75 => 50, 70 => 48, 65 => 46, 63 => 45, 55 => 42, 45 => 40, 43 => 39, 41 => 38, 39 => 37,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override for a set of links. * * Available variables: * - attributes: Attributes for the UL containing the list of links. * - links: Links to be output. * Each link will have the following elements: * - title: The link text. * - href: The link URL. If omitted, the 'title' is shown as a plain text * item in the links list. If 'href' is supplied, the entire link is passed * to l() as its \$options parameter. * - attributes: (optional) HTML attributes for the anchor, or for the * tag if no 'href' is supplied. * - link_key: The link CSS class. * - heading: (optional) A heading to precede the links. * - text: The heading text. * - level: The heading level (e.g. 'h2', 'h3'). * - attributes: (optional) A keyed list of attributes for the heading. * If the heading is a string, it will be used as the text of the heading and * the level will default to 'h2'. * * Headings should be used on navigation menus and any list of links that * consistently appears on multiple pages. To make the heading invisible use * the 'visually-hidden' CSS class. Do not use 'display:none', which * removes it from 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 templates * * @see template_preprocess_links() */ #} {% if links -%} {%- if heading -%} {%- if heading.level -%} <{{ heading.level }}{{ heading.attributes }}>{{ heading.text }} {%- else -%} {{ heading.text }} {%- endif -%} {%- endif -%} {%- if attributes.hasClass('inline') -%} <ul> {%- else -%} <ul attributes> {%- endif -%} {%- for key, item in links -%} <li> {%- if item.link -%} {{ item.link }} {%- elseif item.text_attributes -%} {{ item.text }} {%- else -%} {{ item.text }} {%- endif -%} </li> {%- endfor -%} </ul> {%- endif %} ", "themes/contrib/bootstrap/templates/system/links.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\system\\links.html.twig"); } public function checkSecurity() { static $tags = array("if" => 37, "for" => 50); static $filters = array("escape" => 40, "clean_class" => 51); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'for'], ['escape', 'clean_class'], [] ); } 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_858cb5438c6f0307a007797de08a18c4', 'themes/contrib/bootstrap/templates/system/links.html.twig') (Line: 312) Twig\Environment->load('themes/contrib/bootstrap/templates/system/links.html.twig') (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/system/links.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('links', 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: 111) __TwigTemplate_68c7b2f3b08ba12997554e38ffac9a85->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/contrib/bootstrap/templates/node/node.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('node', 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: 60) __TwigTemplate_0be3542e9f5ed5925a5bb9cc49cf0a19->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/views/views-view-unformatted.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('views_view_unformatted', 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: 83) __TwigTemplate_ec0567a8b245933d511166f2f65e282a->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/views/views-view.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('views_view', 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: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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/.VTZb049n_fEtZhRjb8a0RHyUjsQ,sites/default/files/php/twig/6986e4a6e2040_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B/ogxaDlBfjzBwUrlkDVpm4Uon9VeUmUJ7LmgUu4jGChA.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('6986e4a6e2040_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B', '<?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/custom/asc/templates/pager.html.twig */ class __TwigTemplate_4dc4228550ac8bbed4984be4a0573f90 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 34 if (($context["items"] ?? null)) { // line 35 echo " "; // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Pagination")); echo " <ul> "; // line 42 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 42)) { // line 43 echo " <li> <a line echo this->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["items"] ?? null), "previous", [], "any", false, false, true, 44), "href", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to previous page")); echo "\" rel=\"prev\""; echo $this->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["items"] ?? null), "previous", [], "any", false, false, true, 44), "attributes", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "> "; // line 45 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Previous page")); echo " "; // line 46 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("< Previous")); echo " </a> </li> "; } // line 50 echo " "; // line 52 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "pages", [], "any", false, false, true, 52)); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 53 echo " <li echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (" is-active active") : (""))); echo "\"> "; // line 54 if ((($context["current"] ?? null) == $context["key"])) { // line 55 echo " "; $context["title"] = t("Current page"); // line 56 echo " "; } else { // line 57 echo " "; $context["title"] = t("Go to page @key", ["@key" => $context["key"]]); // line 58 echo " "; } // line 59 echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "href", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 59, $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["item"], "attributes", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "> "; // line 61 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (t("Current page")) : (t("Page")))); echo " "; // line 63 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 63, $this->source), "html", null, true); // line 64 echo "</a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 67 echo " "; // line 69 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 69)) { // line 70 echo " <li> <a line echo this->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["items"] ?? null), "next", [], "any", false, false, true, 71), "href", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to next page")); echo "\" rel=\"next\""; echo $this->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["items"] ?? null), "next", [], "any", false, false, true, 71), "attributes", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "> "; // line 72 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next page")); echo " "; // line 73 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next >")); echo " </a> </li> "; } // line 77 echo " </ul> "; } } public function getTemplateName() { return "themes/custom/asc/templates/pager.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 156 => 77, 149 => 73, 145 => 72, 137 => 71, 134 => 70, 131 => 69, 128 => 67, 120 => 64, 118 => 63, 114 => 61, 104 => 59, 101 => 58, 98 => 57, 95 => 56, 92 => 55, 90 => 54, 85 => 53, 80 => 52, 77 => 50, 70 => 46, 66 => 45, 58 => 44, 55 => 43, 52 => 42, 44 => 36, 41 => 35, 39 => 34,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a pager. * * Available variables: * - items: List of pager items. * The list is keyed by the following elements: * - first: Item for the first page; not present on the first page of results. * - previous: Item for the previous page; not present on the first page * of results. * - next: Item for the next page; not present on the last page of results. * - last: Item for the last page; not present on the last page of results. * - pages: List of pages, keyed by page number. * Sub-sub elements: * items.first, items.previous, items.next, items.last, and each item inside * items.pages contain the following elements: * - href: URL with appropriate query parameters for the item. * - attributes: A keyed list of HTML attributes for the item. * - text: The visible text used for the item link, such as \"‹ previous\" * or \"next ›\". * - current: The page number of the current page. * - ellipses: If there are more pages than the quantity allows, then an * ellipsis before or after the listed pages may be present. * - previous: Present if the currently visible list of pages does not start * at the first page. * - next: Present if the visible list of pages ends before the last page. * * @ingroup templates * * @see template_preprocess_pager() */ #} {% if items %} {{ 'Pagination'|t }} <ul> {# Print previous item if we are not on the first page. #} {% if items.previous %} <li> <a attributes> {{ 'Previous page'|t }} {{ '< Previous'|t }} </a> </li> {% endif %} {# Now generate the actual pager piece. #} {% for key, item in items.pages %} <li> {% if current == key %} {% set title = 'Current page'|t %} {% else %} {% set title = 'Go to page @key'|t({'@key': key}) %} {% endif %} <a attributes> {{ current == key ? 'Current page'|t : 'Page'|t }} {{- key -}} </a> </li> {% endfor %} {# Print next item if we are not on the last page. #} {% if items.next %} <li> <a attributes> {{ 'Next page'|t }} {{ 'Next >'|t }} </a> </li> {% endif %} </ul> {% endif %} ", "themes/custom/asc/templates/pager.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\pager.html.twig"); } public function checkSecurity() { static $tags = array("if" => 34, "for" => 52, "set" => 55); static $filters = array("t" => 36, "escape" => 44); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'for', 'set'], ['t', '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('6986e4a6e2040_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B', '<?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/custom/asc/templates/pager.html.twig */ class __TwigTemplate_4dc4228550ac8bbed4984be4a0573f90 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 34 if (($context["items"] ?? null)) { // line 35 echo " "; // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Pagination")); echo " <ul> "; // line 42 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 42)) { // line 43 echo " <li> <a line echo this->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["items"] ?? null), "previous", [], "any", false, false, true, 44), "href", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to previous page")); echo "\" rel=\"prev\""; echo $this->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["items"] ?? null), "previous", [], "any", false, false, true, 44), "attributes", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "> "; // line 45 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Previous page")); echo " "; // line 46 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("< Previous")); echo " </a> </li> "; } // line 50 echo " "; // line 52 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "pages", [], "any", false, false, true, 52)); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 53 echo " <li echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (" is-active active") : (""))); echo "\"> "; // line 54 if ((($context["current"] ?? null) == $context["key"])) { // line 55 echo " "; $context["title"] = t("Current page"); // line 56 echo " "; } else { // line 57 echo " "; $context["title"] = t("Go to page @key", ["@key" => $context["key"]]); // line 58 echo " "; } // line 59 echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "href", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 59, $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["item"], "attributes", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "> "; // line 61 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (t("Current page")) : (t("Page")))); echo " "; // line 63 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 63, $this->source), "html", null, true); // line 64 echo "</a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 67 echo " "; // line 69 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 69)) { // line 70 echo " <li> <a line echo this->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["items"] ?? null), "next", [], "any", false, false, true, 71), "href", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to next page")); echo "\" rel=\"next\""; echo $this->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["items"] ?? null), "next", [], "any", false, false, true, 71), "attributes", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "> "; // line 72 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next page")); echo " "; // line 73 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next >")); echo " </a> </li> "; } // line 77 echo " </ul> "; } } public function getTemplateName() { return "themes/custom/asc/templates/pager.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 156 => 77, 149 => 73, 145 => 72, 137 => 71, 134 => 70, 131 => 69, 128 => 67, 120 => 64, 118 => 63, 114 => 61, 104 => 59, 101 => 58, 98 => 57, 95 => 56, 92 => 55, 90 => 54, 85 => 53, 80 => 52, 77 => 50, 70 => 46, 66 => 45, 58 => 44, 55 => 43, 52 => 42, 44 => 36, 41 => 35, 39 => 34,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a pager. * * Available variables: * - items: List of pager items. * The list is keyed by the following elements: * - first: Item for the first page; not present on the first page of results. * - previous: Item for the previous page; not present on the first page * of results. * - next: Item for the next page; not present on the last page of results. * - last: Item for the last page; not present on the last page of results. * - pages: List of pages, keyed by page number. * Sub-sub elements: * items.first, items.previous, items.next, items.last, and each item inside * items.pages contain the following elements: * - href: URL with appropriate query parameters for the item. * - attributes: A keyed list of HTML attributes for the item. * - text: The visible text used for the item link, such as \"‹ previous\" * or \"next ›\". * - current: The page number of the current page. * - ellipses: If there are more pages than the quantity allows, then an * ellipsis before or after the listed pages may be present. * - previous: Present if the currently visible list of pages does not start * at the first page. * - next: Present if the visible list of pages ends before the last page. * * @ingroup templates * * @see template_preprocess_pager() */ #} {% if items %} {{ 'Pagination'|t }} <ul> {# Print previous item if we are not on the first page. #} {% if items.previous %} <li> <a attributes> {{ 'Previous page'|t }} {{ '< Previous'|t }} </a> </li> {% endif %} {# Now generate the actual pager piece. #} {% for key, item in items.pages %} <li> {% if current == key %} {% set title = 'Current page'|t %} {% else %} {% set title = 'Go to page @key'|t({'@key': key}) %} {% endif %} <a attributes> {{ current == key ? 'Current page'|t : 'Page'|t }} {{- key -}} </a> </li> {% endfor %} {# Print next item if we are not on the last page. #} {% if items.next %} <li> <a attributes> {{ 'Next page'|t }} {{ 'Next >'|t }} </a> </li> {% endif %} </ul> {% endif %} ", "themes/custom/asc/templates/pager.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\pager.html.twig"); } public function checkSecurity() { static $tags = array("if" => 34, "for" => 52, "set" => 55); static $filters = array("t" => 36, "escape" => 44); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'for', 'set'], ['t', '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_4dc4228550ac8bbed4984be4a0573f90', 'themes/custom/asc/templates/pager.html.twig') (Line: 312) Twig\Environment->load('themes/custom/asc/templates/pager.html.twig') (Line: 53) twig_render_template('themes/custom/asc/templates/pager.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('pager', 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: 95) __TwigTemplate_ec0567a8b245933d511166f2f65e282a->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/views/views-view.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('views_view', 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: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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)
