source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"]; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Twig/Exception/exception.html.twig")); // line 1 echo "
env, $this->source, ($context["exception"] ?? null), "message", [], "any", false, false, false, 1))) ? ("exception-without-message") : ("")); echo "\">

"; // line 5 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["exception"] ?? null), "allPrevious", [], "any", false, false, false, 5))); $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["previousException"]) { // line 6 echo " env, (twig_get_attribute($this->env, $this->source, $context["loop"], "revindex", [], "any", false, false, false, 6) + 1), "html", null, true); echo "\">"; echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env, $this->source, $context["previousException"], "class", [], "any", false, false, false, 6)); echo " "; // line 7 echo twig_include($this->env, $context, "@Twig/images/chevron-right.svg"); echo " "; ++$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['previousException'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo " "; echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env, $this->source, ($context["exception"] ?? null), "class", [], "any", false, false, false, 9)); echo "

HTTP "; // line 12 echo twig_escape_filter($this->env, ($context["status_code"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["status_text"] ?? null), "html", null, true); echo "

env, twig_get_attribute($this->env, $this->source, ($context["exception"] ?? null), "message", [], "any", false, false, false, 19)) > 180)) ? ("long") : ("")); echo "\">"; // line 20 echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->formatFileFromText(nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["exception"] ?? null), "message", [], "any", false, false, false, 20), "html", null, true))); // line 21 echo "

"; // line 24 echo twig_include($this->env, $context, "@Twig/images/symfony-ghost.svg"); echo "
"; // line 33 $context["exception_as_array"] = twig_get_attribute($this->env, $this->source, ($context["exception"] ?? null), "toarray", [], "any", false, false, false, 33); // line 34 echo " "; $context["_exceptions_with_user_code"] = []; // line 35 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["exception_as_array"] ?? null)); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 36 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["e"], "trace", [], "any", false, false, false, 36)); $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["trace"]) { // line 37 echo " "; if (((( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["trace"], "file", [], "any", false, false, false, 37)) && !twig_in_filter("/vendor/", twig_get_attribute($this->env, $this->source, $context["trace"], "file", [], "any", false, false, false, 37))) && !twig_in_filter("/var/cache/", twig_get_attribute($this->env, $this->source, $context["trace"], "file", [], "any", false, false, false, 37))) && !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 37))) { // line 38 echo " "; $context["_exceptions_with_user_code"] = twig_array_merge(($context["_exceptions_with_user_code"] ?? null), [0 => $context["i"]]); // line 39 echo " "; } // line 40 echo " "; ++$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['trace'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 41 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 42 echo "

"; // line 43 if ((twig_length_filter($this->env, ($context["exception_as_array"] ?? null)) > 1)) { // line 44 echo " Exceptions "; echo twig_escape_filter($this->env, twig_length_filter($this->env, ($context["exception_as_array"] ?? null)), "html", null, true); echo " "; } else { // line 46 echo " Exception "; } // line 48 echo "

"; // line 51 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["exception_as_array"] ?? 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["i"] => $context["e"]) { // line 52 echo " "; echo twig_include($this->env, $context, "@Twig/Exception/traces.html.twig", ["exception" => $context["e"], "index" => twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 52), "expand" => (twig_in_filter($context["i"], ($context["_exceptions_with_user_code"] ?? null)) || (twig_test_empty(($context["_exceptions_with_user_code"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 52)))], false); echo " "; ++$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['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo "
"; // line 57 if (($context["logger"] ?? null)) { // line 58 echo "
env, $this->source, ($context["logger"] ?? null), "logs", [], "any", false, false, false, 58))) ? ("disabled") : ("")); echo "\">

Logs "; // line 61 if ((((twig_get_attribute($this->env, $this->source, ($context["logger"] ?? null), "counterrors", [], "any", true, true, false, 61) && !(null === twig_get_attribute($this->env, $this->source, ($context["logger"] ?? null), "counterrors", [], "any", false, false, false, 61)))) ? (twig_get_attribute($this->env, $this->source, ($context["logger"] ?? null), "counterrors", [], "any", false, false, false, 61)) : (false))) { echo ""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["logger"] ?? null), "counterrors", [], "any", false, false, false, 61), "html", null, true); echo ""; } // line 62 echo "

"; // line 65 if (twig_get_attribute($this->env, $this->source, ($context["logger"] ?? null), "logs", [], "any", false, false, false, 65)) { // line 66 echo " "; echo twig_include($this->env, $context, "@Twig/Exception/logs.html.twig", ["logs" => twig_get_attribute($this->env, $this->source, ($context["logger"] ?? null), "logs", [], "any", false, false, false, 66)], false); echo " "; } else { // line 68 echo "

No log messages

"; } // line 72 echo "
"; } // line 75 echo "

"; // line 78 if ((twig_length_filter($this->env, ($context["exception_as_array"] ?? null)) > 1)) { // line 79 echo " Stack Traces "; echo twig_escape_filter($this->env, twig_length_filter($this->env, ($context["exception_as_array"] ?? null)), "html", null, true); echo " "; } else { // line 81 echo " Stack Trace "; } // line 83 echo "

"; // line 86 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["exception_as_array"] ?? 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["e"]) { // line 87 echo " "; echo twig_include($this->env, $context, "@Twig/Exception/traces_text.html.twig", ["exception" => $context["e"], "index" => twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 87), "num_exceptions" => twig_get_attribute($this->env, $this->source, $context["loop"], "length", [], "any", false, false, false, 87)], false); echo " "; ++$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['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 89 echo "
"; // line 92 if ( !twig_test_empty(($context["currentContent"] ?? null))) { // line 93 echo "

Output content

"; // line 97 echo twig_escape_filter($this->env, ($context["currentContent"] ?? null), "html", null, true); echo "
"; } // line 101 echo "
"; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof); } public function getTemplateName() { return "@Twig/Exception/exception.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 360 => 101, 353 => 97, 347 => 93, 345 => 92, 340 => 89, 323 => 87, 306 => 86, 301 => 83, 297 => 81, 291 => 79, 289 => 78, 284 => 75, 279 => 72, 273 => 68, 267 => 66, 265 => 65, 260 => 62, 254 => 61, 247 => 58, 245 => 57, 240 => 54, 223 => 52, 206 => 51, 201 => 48, 197 => 46, 191 => 44, 189 => 43, 186 => 42, 180 => 41, 166 => 40, 163 => 39, 160 => 38, 157 => 37, 139 => 36, 134 => 35, 131 => 34, 129 => 33, 117 => 24, 112 => 21, 110 => 20, 107 => 19, 95 => 12, 88 => 9, 72 => 7, 65 => 6, 48 => 5, 40 => 1,); } public function getSourceContext() { return new Source("", "@Twig/Exception/exception.html.twig", "/var/www/html/vendor/symfony/twig-bundle/Resources/views/Exception/exception.html.twig"); } }