Error message
Warning: touch(): Utime failed: Operation not permitted in
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line
100 of
core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6aa2832465ba8_paragraph--story.html.twi_6sJR1r_JUSzS2cH99gk1pfpMV', '<?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/dms_theme/templates/paragraphs/paragraph--story.html.twig */
class __TwigTemplate_0f4b462b0784b71036f4d75e6862ed16 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;
$__internal_71f271fdc655458b5a696cf01dd88b80 = $this->extensions["Drupal\\raven\\Twig\\TwigTracingExtension"];
$__internal_71f271fdc655458b5a696cf01dd88b80->enter($__internal_71f271fdc655458b5a696cf01dd88b80_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig"));
// line 7
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 8), 8, $this->source), "html", null, true);
echo ">
";
// line 9
if (($context["show_html_id"] ?? null)) {
// line 10
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 10), 10, $this->source), "html", null, true);
echo "\">#
";
}
// line 12
echo "
";
// line 13
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_intro", [], "any", false, false, true, 13), "value", [], "any", false, false, true, 13) || ($context["inline_header"] ?? null))) {
// line 14
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["intro_inner_attributes"] ?? null), 15, $this->source), "html", null, true);
echo ">
";
// line 17
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["inline_header"] ?? null), 17, $this->source), "html", null, true);
echo "
";
// line 18
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_intro", [], "any", false, false, true, 18), 18, $this->source), "html", null, true);
echo "
";
}
// line 23
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container_attributes"] ?? null), 24, $this->source), "html", null, true);
echo ">
";
// line 27
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "items", [], "any", false, false, true, 27));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 28
echo "
";
// line 29
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "media", [], "any", false, false, true, 29), 29, $this->source), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 32
echo "
";
// line 34
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "items", [], "any", false, false, true, 34));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 35
echo "
";
// line 37
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "page_num", [], "any", false, false, true, 37), "total", [], "any", false, false, true, 37)) {
// line 38
echo "
";
// line 39
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "page_num", [], "any", false, false, true, 39), 39, $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, twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "page_num", [], "any", false, false, true, 39), "total", [], "any", false, false, true, 39), 39, $this->source), "html", null, true);
echo "
";
}
// line 42
echo "
";
// line 44
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, 44), 44, $this->source), "html", null, true);
echo "
";
// line 47
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "page_num", [], "any", false, false, true, 47), "total", [], "any", false, false, true, 47)) {
// line 48
echo "
";
}
// line 53
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 55
echo "
";
// line 59
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "p_background", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
echo "
";
$__internal_71f271fdc655458b5a696cf01dd88b80->leave($__internal_71f271fdc655458b5a696cf01dd88b80_prof);
}
public function getTemplateName()
{
return "themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 164 => 59, 158 => 55, 151 => 53, 144 => 48, 142 => 47, 136 => 44, 132 => 42, 124 => 39, 121 => 38, 119 => 37, 115 => 35, 111 => 34, 107 => 32, 98 => 29, 95 => 28, 91 => 27, 85 => 24, 82 => 23, 74 => 18, 70 => 17, 65 => 15, 62 => 14, 60 => 13, 57 => 12, 51 => 10, 49 => 9, 45 => 8, 42 => 7,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Story paragraph.
*/
#}
{% if show_html_id %}
#
{% endif %}
{% if paragraph.field_intro.value or inline_header %}
{{ inline_header }}
{{ content.field_intro }}
{% endif %}
{% for item in custom.items %}
{{ item.media }}
{% endfor %}
{% for item in custom.items %}
{% if custom.page_num.total %}
{{ item.page_num }} / {{ custom.page_num.total }}
{% endif %}
{{ item.text }}
{% if custom.page_num.total %}
{% endif %}
{% endfor %}
{{ custom.p_background }}
", "themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig", "/www/sites/arteco-coolants.com.cn/index/web/themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 9, "for" => 27);
static $filters = array("escape" => 8);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'for'],
['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('6aa2832465ba8_paragraph--story.html.twi_6sJR1r_JUSzS2cH99gk1pfpMV', '<?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/dms_theme/templates/paragraphs/paragraph--story.html.twig */
class __TwigTemplate_0f4b462b0784b71036f4d75e6862ed16 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;
$__internal_71f271fdc655458b5a696cf01dd88b80 = $this->extensions["Drupal\\raven\\Twig\\TwigTracingExtension"];
$__internal_71f271fdc655458b5a696cf01dd88b80->enter($__internal_71f271fdc655458b5a696cf01dd88b80_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig"));
// line 7
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 8), 8, $this->source), "html", null, true);
echo ">
";
// line 9
if (($context["show_html_id"] ?? null)) {
// line 10
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 10), 10, $this->source), "html", null, true);
echo "\">#
";
}
// line 12
echo "
";
// line 13
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_intro", [], "any", false, false, true, 13), "value", [], "any", false, false, true, 13) || ($context["inline_header"] ?? null))) {
// line 14
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["intro_inner_attributes"] ?? null), 15, $this->source), "html", null, true);
echo ">
";
// line 17
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["inline_header"] ?? null), 17, $this->source), "html", null, true);
echo "
";
// line 18
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_intro", [], "any", false, false, true, 18), 18, $this->source), "html", null, true);
echo "
";
}
// line 23
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container_attributes"] ?? null), 24, $this->source), "html", null, true);
echo ">
";
// line 27
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "items", [], "any", false, false, true, 27));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 28
echo "
";
// line 29
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "media", [], "any", false, false, true, 29), 29, $this->source), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 32
echo "
";
// line 34
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "items", [], "any", false, false, true, 34));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 35
echo "
";
// line 37
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "page_num", [], "any", false, false, true, 37), "total", [], "any", false, false, true, 37)) {
// line 38
echo "
";
// line 39
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "page_num", [], "any", false, false, true, 39), 39, $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, twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "page_num", [], "any", false, false, true, 39), "total", [], "any", false, false, true, 39), 39, $this->source), "html", null, true);
echo "
";
}
// line 42
echo "
";
// line 44
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, 44), 44, $this->source), "html", null, true);
echo "
";
// line 47
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "page_num", [], "any", false, false, true, 47), "total", [], "any", false, false, true, 47)) {
// line 48
echo "
";
}
// line 53
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 55
echo "
";
// line 59
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["custom"] ?? null), "p_background", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
echo "
";
$__internal_71f271fdc655458b5a696cf01dd88b80->leave($__internal_71f271fdc655458b5a696cf01dd88b80_prof);
}
public function getTemplateName()
{
return "themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 164 => 59, 158 => 55, 151 => 53, 144 => 48, 142 => 47, 136 => 44, 132 => 42, 124 => 39, 121 => 38, 119 => 37, 115 => 35, 111 => 34, 107 => 32, 98 => 29, 95 => 28, 91 => 27, 85 => 24, 82 => 23, 74 => 18, 70 => 17, 65 => 15, 62 => 14, 60 => 13, 57 => 12, 51 => 10, 49 => 9, 45 => 8, 42 => 7,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Story paragraph.
*/
#}
{% if show_html_id %}
#
{% endif %}
{% if paragraph.field_intro.value or inline_header %}
{{ inline_header }}
{{ content.field_intro }}
{% endif %}
{% for item in custom.items %}
{{ item.media }}
{% endfor %}
{% for item in custom.items %}
{% if custom.page_num.total %}
{{ item.page_num }} / {{ custom.page_num.total }}
{% endif %}
{{ item.text }}
{% if custom.page_num.total %}
{% endif %}
{% endfor %}
{{ custom.p_background }}
", "themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig", "/www/sites/arteco-coolants.com.cn/index/web/themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 9, "for" => 27);
static $filters = array("escape" => 8);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'for'],
['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_0f4b462b0784b71036f4d75e6862ed16', 'themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig') (Line: 312)
Twig\Environment->load('themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig') (Line: 53)
twig_render_template('themes/custom/dms_theme/templates/paragraphs/paragraph--story.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('paragraph', 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: 67)
__TwigTemplate_1a25d746116bc54757751f8fe402919d->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/dms_theme/templates/field/paragraph/field--field-paragraphs.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('field', 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: 82)
__TwigTemplate_0e829b0b85d1788024e8183f2c289219->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/dms_theme/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: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 231)
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: 44)
Drupal\redirect_after_login\RedirectMiddleware->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: 120)
Drupal\cdn\StackMiddleware\DuplicateContentPreventionMiddleware->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)