var/cache/dev/twig/46/46d81d1b8c4c27f2b8a6768291e7b79f98d9dd1671023e76cdcf0cd0ee40a4c5.php line 92

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Twig/Exception/exception.html.twig */
  14. class __TwigTemplate_d43178c28ac8177688a2f8673b8af24112702a8332a8832c0d565a72db803c95 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Twig/Exception/exception.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Twig/Exception/exception.html.twig"));
  33.         // line 1
  34.         echo "<div class=\"exception-summary ";
  35.         echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'1$this->source); })()), "message", [], "any"falsefalsefalse1))) ? ("exception-without-message") : (""));
  36.         echo "\">
  37.     <div class=\"exception-metadata\">
  38.         <div class=\"container\">
  39.             <h2 class=\"exception-hierarchy\">
  40.                 ";
  41.         // line 5
  42.         $context['_parent'] = $context;
  43.         $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'5$this->source); })()), "allPrevious", [], "any"falsefalsefalse5)));
  44.         $context['loop'] = [
  45.           'parent' => $context['_parent'],
  46.           'index0' => 0,
  47.           'index'  => 1,
  48.           'first'  => true,
  49.         ];
  50.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  51.             $length count($context['_seq']);
  52.             $context['loop']['revindex0'] = $length 1;
  53.             $context['loop']['revindex'] = $length;
  54.             $context['loop']['length'] = $length;
  55.             $context['loop']['last'] = === $length;
  56.         }
  57.         foreach ($context['_seq'] as $context["_key"] => $context["previousException"]) {
  58.             // line 6
  59.             echo "                    <a href=\"#trace-box-";
  60.             echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source$context["loop"], "revindex", [], "any"falsefalsefalse6) + 1), "html"nulltrue);
  61.             echo "\">";
  62.             echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env$this->source$context["previousException"], "class", [], "any"falsefalsefalse6));
  63.             echo "</a>
  64.                     <span class=\"icon\">";
  65.             // line 7
  66.             echo twig_include($this->env$context"@Twig/images/chevron-right.svg");
  67.             echo "</span>
  68.                 ";
  69.             ++$context['loop']['index0'];
  70.             ++$context['loop']['index'];
  71.             $context['loop']['first'] = false;
  72.             if (isset($context['loop']['length'])) {
  73.                 --$context['loop']['revindex0'];
  74.                 --$context['loop']['revindex'];
  75.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  76.             }
  77.         }
  78.         $_parent $context['_parent'];
  79.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['previousException'], $context['_parent'], $context['loop']);
  80.         $context array_intersect_key($context$_parent) + $_parent;
  81.         // line 9
  82.         echo "                <a href=\"#trace-box-1\">";
  83.         echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'9$this->source); })()), "class", [], "any"falsefalsefalse9));
  84.         echo "</a>
  85.             </h2>
  86.             <h2 class=\"exception-http\">
  87.                 HTTP ";
  88.         // line 12
  89.         echo twig_escape_filter($this->env, (isset($context["status_code"]) || array_key_exists("status_code"$context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.'12$this->source); })()), "html"nulltrue);
  90.         echo " <small>";
  91.         echo twig_escape_filter($this->env, (isset($context["status_text"]) || array_key_exists("status_text"$context) ? $context["status_text"] : (function () { throw new RuntimeError('Variable "status_text" does not exist.'12$this->source); })()), "html"nulltrue);
  92.         echo "</small>
  93.             </h2>
  94.         </div>
  95.     </div>
  96.     <div class=\"exception-message-wrapper\">
  97.         <div class=\"container\">
  98.             <h1 class=\"break-long-words exception-message ";
  99.         // line 19
  100.         echo (((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'19$this->source); })()), "message", [], "any"falsefalsefalse19)) > 180)) ? ("long") : (""));
  101.         echo "\">";
  102.         // line 20
  103.         echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->formatFileFromText(nl2br(twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'20$this->source); })()), "message", [], "any"falsefalsefalse20), "html"nulltrue)));
  104.         // line 21
  105.         echo "</h1>
  106.             <div class=\"exception-illustration hidden-xs-down\">
  107.                 ";
  108.         // line 24
  109.         echo twig_include($this->env$context"@Twig/images/symfony-ghost.svg");
  110.         echo "
  111.             </div>
  112.         </div>
  113.     </div>
  114. </div>
  115. <div class=\"container\">
  116.     <div class=\"sf-tabs\">
  117.         <div class=\"tab\">
  118.             ";
  119.         // line 33
  120.         $context["exception_as_array"] = twig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'33$this->source); })()), "toarray", [], "any"falsefalsefalse33);
  121.         // line 34
  122.         echo "            ";
  123.         $context["_exceptions_with_user_code"] = [];
  124.         // line 35
  125.         echo "            ";
  126.         $context['_parent'] = $context;
  127.         $context['_seq'] = twig_ensure_traversable((isset($context["exception_as_array"]) || array_key_exists("exception_as_array"$context) ? $context["exception_as_array"] : (function () { throw new RuntimeError('Variable "exception_as_array" does not exist.'35$this->source); })()));
  128.         foreach ($context['_seq'] as $context["i"] => $context["e"]) {
  129.             // line 36
  130.             echo "                ";
  131.             $context['_parent'] = $context;
  132.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["e"], "trace", [], "any"falsefalsefalse36));
  133.             $context['loop'] = [
  134.               'parent' => $context['_parent'],
  135.               'index0' => 0,
  136.               'index'  => 1,
  137.               'first'  => true,
  138.             ];
  139.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  140.                 $length count($context['_seq']);
  141.                 $context['loop']['revindex0'] = $length 1;
  142.                 $context['loop']['revindex'] = $length;
  143.                 $context['loop']['length'] = $length;
  144.                 $context['loop']['last'] = === $length;
  145.             }
  146.             foreach ($context['_seq'] as $context["_key"] => $context["trace"]) {
  147.                 // line 37
  148.                 echo "                    ";
  149.                 if (((( !twig_test_empty(twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"falsefalsefalse37)) && !twig_in_filter("/vendor/"twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"falsefalsefalse37))) && !twig_in_filter("/var/cache/"twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"falsefalsefalse37))) &&  !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse37))) {
  150.                     // line 38
  151.                     echo "                        ";
  152.                     $context["_exceptions_with_user_code"] = twig_array_merge((isset($context["_exceptions_with_user_code"]) || array_key_exists("_exceptions_with_user_code"$context) ? $context["_exceptions_with_user_code"] : (function () { throw new RuntimeError('Variable "_exceptions_with_user_code" does not exist.'38$this->source); })()), [=> $context["i"]]);
  153.                     // line 39
  154.                     echo "                    ";
  155.                 }
  156.                 // line 40
  157.                 echo "                ";
  158.                 ++$context['loop']['index0'];
  159.                 ++$context['loop']['index'];
  160.                 $context['loop']['first'] = false;
  161.                 if (isset($context['loop']['length'])) {
  162.                     --$context['loop']['revindex0'];
  163.                     --$context['loop']['revindex'];
  164.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  165.                 }
  166.             }
  167.             $_parent $context['_parent'];
  168.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['trace'], $context['_parent'], $context['loop']);
  169.             $context array_intersect_key($context$_parent) + $_parent;
  170.             // line 41
  171.             echo "            ";
  172.         }
  173.         $_parent $context['_parent'];
  174.         unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']);
  175.         $context array_intersect_key($context$_parent) + $_parent;
  176.         // line 42
  177.         echo "            <h3 class=\"tab-title\">
  178.                 ";
  179.         // line 43
  180.         if ((twig_length_filter($this->env, (isset($context["exception_as_array"]) || array_key_exists("exception_as_array"$context) ? $context["exception_as_array"] : (function () { throw new RuntimeError('Variable "exception_as_array" does not exist.'43$this->source); })())) > 1)) {
  181.             // line 44
  182.             echo "                    Exceptions <span class=\"badge\">";
  183.             echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["exception_as_array"]) || array_key_exists("exception_as_array"$context) ? $context["exception_as_array"] : (function () { throw new RuntimeError('Variable "exception_as_array" does not exist.'44$this->source); })())), "html"nulltrue);
  184.             echo "</span>
  185.                 ";
  186.         } else {
  187.             // line 46
  188.             echo "                    Exception
  189.                 ";
  190.         }
  191.         // line 48
  192.         echo "            </h3>
  193.             <div class=\"tab-content\">
  194.                 ";
  195.         // line 51
  196.         $context['_parent'] = $context;
  197.         $context['_seq'] = twig_ensure_traversable((isset($context["exception_as_array"]) || array_key_exists("exception_as_array"$context) ? $context["exception_as_array"] : (function () { throw new RuntimeError('Variable "exception_as_array" does not exist.'51$this->source); })()));
  198.         $context['loop'] = [
  199.           'parent' => $context['_parent'],
  200.           'index0' => 0,
  201.           'index'  => 1,
  202.           'first'  => true,
  203.         ];
  204.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  205.             $length count($context['_seq']);
  206.             $context['loop']['revindex0'] = $length 1;
  207.             $context['loop']['revindex'] = $length;
  208.             $context['loop']['length'] = $length;
  209.             $context['loop']['last'] = === $length;
  210.         }
  211.         foreach ($context['_seq'] as $context["i"] => $context["e"]) {
  212.             // line 52
  213.             echo "                    ";
  214.             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"falsefalsefalse52), "expand" => (twig_in_filter($context["i"], (isset($context["_exceptions_with_user_code"]) || array_key_exists("_exceptions_with_user_code"$context) ? $context["_exceptions_with_user_code"] : (function () { throw new RuntimeError('Variable "_exceptions_with_user_code" does not exist.'52$this->source); })())) || (twig_test_empty((isset($context["_exceptions_with_user_code"]) || array_key_exists("_exceptions_with_user_code"$context) ? $context["_exceptions_with_user_code"] : (function () { throw new RuntimeError('Variable "_exceptions_with_user_code" does not exist.'52$this->source); })())) && twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse52)))], false);
  215.             echo "
  216.                 ";
  217.             ++$context['loop']['index0'];
  218.             ++$context['loop']['index'];
  219.             $context['loop']['first'] = false;
  220.             if (isset($context['loop']['length'])) {
  221.                 --$context['loop']['revindex0'];
  222.                 --$context['loop']['revindex'];
  223.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  224.             }
  225.         }
  226.         $_parent $context['_parent'];
  227.         unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']);
  228.         $context array_intersect_key($context$_parent) + $_parent;
  229.         // line 54
  230.         echo "            </div>
  231.         </div>
  232.         ";
  233.         // line 57
  234.         if ((isset($context["logger"]) || array_key_exists("logger"$context) ? $context["logger"] : (function () { throw new RuntimeError('Variable "logger" does not exist.'57$this->source); })())) {
  235.             // line 58
  236.             echo "        <div class=\"tab ";
  237.             echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["logger"]) || array_key_exists("logger"$context) ? $context["logger"] : (function () { throw new RuntimeError('Variable "logger" does not exist.'58$this->source); })()), "logs", [], "any"falsefalsefalse58))) ? ("disabled") : (""));
  238.             echo "\">
  239.             <h3 class=\"tab-title\">
  240.                 Logs
  241.                 ";
  242.             // line 61
  243.             if ((((twig_get_attribute($this->env$this->source, ($context["logger"] ?? null), "counterrors", [], "any"truetruefalse61) &&  !(null === twig_get_attribute($this->env$this->source, ($context["logger"] ?? null), "counterrors", [], "any"falsefalsefalse61)))) ? (twig_get_attribute($this->env$this->source, ($context["logger"] ?? null), "counterrors", [], "any"falsefalsefalse61)) : (false))) {
  244.                 echo "<span class=\"badge status-error\">";
  245.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["logger"]) || array_key_exists("logger"$context) ? $context["logger"] : (function () { throw new RuntimeError('Variable "logger" does not exist.'61$this->source); })()), "counterrors", [], "any"falsefalsefalse61), "html"nulltrue);
  246.                 echo "</span>";
  247.             }
  248.             // line 62
  249.             echo "            </h3>
  250.             <div class=\"tab-content\">
  251.                 ";
  252.             // line 65
  253.             if (twig_get_attribute($this->env$this->source, (isset($context["logger"]) || array_key_exists("logger"$context) ? $context["logger"] : (function () { throw new RuntimeError('Variable "logger" does not exist.'65$this->source); })()), "logs", [], "any"falsefalsefalse65)) {
  254.                 // line 66
  255.                 echo "                    ";
  256.                 echo twig_include($this->env$context"@Twig/Exception/logs.html.twig", ["logs" => twig_get_attribute($this->env$this->source, (isset($context["logger"]) || array_key_exists("logger"$context) ? $context["logger"] : (function () { throw new RuntimeError('Variable "logger" does not exist.'66$this->source); })()), "logs", [], "any"falsefalsefalse66)], false);
  257.                 echo "
  258.                 ";
  259.             } else {
  260.                 // line 68
  261.                 echo "                    <div class=\"empty\">
  262.                         <p>No log messages</p>
  263.                     </div>
  264.                 ";
  265.             }
  266.             // line 72
  267.             echo "            </div>
  268.         </div>
  269.         ";
  270.         }
  271.         // line 75
  272.         echo "
  273.         <div class=\"tab\">
  274.             <h3 class=\"tab-title\">
  275.                 ";
  276.         // line 78
  277.         if ((twig_length_filter($this->env, (isset($context["exception_as_array"]) || array_key_exists("exception_as_array"$context) ? $context["exception_as_array"] : (function () { throw new RuntimeError('Variable "exception_as_array" does not exist.'78$this->source); })())) > 1)) {
  278.             // line 79
  279.             echo "                    Stack Traces <span class=\"badge\">";
  280.             echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["exception_as_array"]) || array_key_exists("exception_as_array"$context) ? $context["exception_as_array"] : (function () { throw new RuntimeError('Variable "exception_as_array" does not exist.'79$this->source); })())), "html"nulltrue);
  281.             echo "</span>
  282.                 ";
  283.         } else {
  284.             // line 81
  285.             echo "                    Stack Trace
  286.                 ";
  287.         }
  288.         // line 83
  289.         echo "            </h3>
  290.             <div class=\"tab-content\">
  291.                 ";
  292.         // line 86
  293.         $context['_parent'] = $context;
  294.         $context['_seq'] = twig_ensure_traversable((isset($context["exception_as_array"]) || array_key_exists("exception_as_array"$context) ? $context["exception_as_array"] : (function () { throw new RuntimeError('Variable "exception_as_array" does not exist.'86$this->source); })()));
  295.         $context['loop'] = [
  296.           'parent' => $context['_parent'],
  297.           'index0' => 0,
  298.           'index'  => 1,
  299.           'first'  => true,
  300.         ];
  301.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  302.             $length count($context['_seq']);
  303.             $context['loop']['revindex0'] = $length 1;
  304.             $context['loop']['revindex'] = $length;
  305.             $context['loop']['length'] = $length;
  306.             $context['loop']['last'] = === $length;
  307.         }
  308.         foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
  309.             // line 87
  310.             echo "                    ";
  311.             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"falsefalsefalse87), "num_exceptions" => twig_get_attribute($this->env$this->source$context["loop"], "length", [], "any"falsefalsefalse87)], false);
  312.             echo "
  313.                 ";
  314.             ++$context['loop']['index0'];
  315.             ++$context['loop']['index'];
  316.             $context['loop']['first'] = false;
  317.             if (isset($context['loop']['length'])) {
  318.                 --$context['loop']['revindex0'];
  319.                 --$context['loop']['revindex'];
  320.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  321.             }
  322.         }
  323.         $_parent $context['_parent'];
  324.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);
  325.         $context array_intersect_key($context$_parent) + $_parent;
  326.         // line 89
  327.         echo "            </div>
  328.         </div>
  329.         ";
  330.         // line 92
  331.         if ( !twig_test_empty((isset($context["currentContent"]) || array_key_exists("currentContent"$context) ? $context["currentContent"] : (function () { throw new RuntimeError('Variable "currentContent" does not exist.'92$this->source); })()))) {
  332.             // line 93
  333.             echo "        <div class=\"tab\">
  334.             <h3 class=\"tab-title\">Output content</h3>
  335.             <div class=\"tab-content\">
  336.                 ";
  337.             // line 97
  338.             echo twig_escape_filter($this->env, (isset($context["currentContent"]) || array_key_exists("currentContent"$context) ? $context["currentContent"] : (function () { throw new RuntimeError('Variable "currentContent" does not exist.'97$this->source); })()), "html"nulltrue);
  339.             echo "
  340.             </div>
  341.         </div>
  342.         ";
  343.         }
  344.         // line 101
  345.         echo "    </div>
  346. </div>
  347. ";
  348.         
  349.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  350.         
  351.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  352.     }
  353.     public function getTemplateName()
  354.     {
  355.         return "@Twig/Exception/exception.html.twig";
  356.     }
  357.     public function isTraitable()
  358.     {
  359.         return false;
  360.     }
  361.     public function getDebugInfo()
  362.     {
  363.         return array (  363 => 101,  356 => 97,  350 => 93,  348 => 92,  343 => 89,  326 => 87,  309 => 86,  304 => 83,  300 => 81,  294 => 79,  292 => 78,  287 => 75,  282 => 72,  276 => 68,  270 => 66,  268 => 65,  263 => 62,  257 => 61,  250 => 58,  248 => 57,  243 => 54,  226 => 52,  209 => 51,  204 => 48,  200 => 46,  194 => 44,  192 => 43,  189 => 42,  183 => 41,  169 => 40,  166 => 39,  163 => 38,  160 => 37,  142 => 36,  137 => 35,  134 => 34,  132 => 33,  120 => 24,  115 => 21,  113 => 20,  110 => 19,  98 => 12,  91 => 9,  75 => 7,  68 => 6,  51 => 5,  43 => 1,);
  364.     }
  365.     public function getSourceContext()
  366.     {
  367.         return new Source("<div class=\"exception-summary {{ exception.message is empty ? 'exception-without-message' }}\">
  368.     <div class=\"exception-metadata\">
  369.         <div class=\"container\">
  370.             <h2 class=\"exception-hierarchy\">
  371.                 {% for previousException in exception.allPrevious|reverse %}
  372.                     <a href=\"#trace-box-{{ loop.revindex + 1 }}\">{{ previousException.class|abbr_class }}</a>
  373.                     <span class=\"icon\">{{ include('@Twig/images/chevron-right.svg') }}</span>
  374.                 {% endfor %}
  375.                 <a href=\"#trace-box-1\">{{ exception.class|abbr_class }}</a>
  376.             </h2>
  377.             <h2 class=\"exception-http\">
  378.                 HTTP {{ status_code }} <small>{{ status_text }}</small>
  379.             </h2>
  380.         </div>
  381.     </div>
  382.     <div class=\"exception-message-wrapper\">
  383.         <div class=\"container\">
  384.             <h1 class=\"break-long-words exception-message {{ exception.message|length > 180 ? 'long' }}\">
  385.                 {{- exception.message|nl2br|format_file_from_text -}}
  386.             </h1>
  387.             <div class=\"exception-illustration hidden-xs-down\">
  388.                 {{ include('@Twig/images/symfony-ghost.svg') }}
  389.             </div>
  390.         </div>
  391.     </div>
  392. </div>
  393. <div class=\"container\">
  394.     <div class=\"sf-tabs\">
  395.         <div class=\"tab\">
  396.             {% set exception_as_array = exception.toarray %}
  397.             {% set _exceptions_with_user_code = [] %}
  398.             {% for i, e in exception_as_array %}
  399.                 {% for trace in e.trace %}
  400.                     {% if (trace.file is not empty) and ('/vendor/' not in trace.file) and ('/var/cache/' not in trace.file) and not loop.last %}
  401.                         {% set _exceptions_with_user_code = _exceptions_with_user_code|merge([i]) %}
  402.                     {% endif %}
  403.                 {% endfor %}
  404.             {% endfor %}
  405.             <h3 class=\"tab-title\">
  406.                 {% if exception_as_array|length > 1 %}
  407.                     Exceptions <span class=\"badge\">{{ exception_as_array|length }}</span>
  408.                 {% else %}
  409.                     Exception
  410.                 {% endif %}
  411.             </h3>
  412.             <div class=\"tab-content\">
  413.                 {% for i, e in exception_as_array %}
  414.                     {{ include('@Twig/Exception/traces.html.twig', { exception: e, index: loop.index, expand: i in _exceptions_with_user_code or (_exceptions_with_user_code is empty and loop.first) }, with_context = false) }}
  415.                 {% endfor %}
  416.             </div>
  417.         </div>
  418.         {% if logger %}
  419.         <div class=\"tab {{ logger.logs is empty ? 'disabled' }}\">
  420.             <h3 class=\"tab-title\">
  421.                 Logs
  422.                 {% if logger.counterrors ?? false %}<span class=\"badge status-error\">{{ logger.counterrors }}</span>{% endif %}
  423.             </h3>
  424.             <div class=\"tab-content\">
  425.                 {% if logger.logs %}
  426.                     {{ include('@Twig/Exception/logs.html.twig', { logs: logger.logs }, with_context = false)  }}
  427.                 {% else %}
  428.                     <div class=\"empty\">
  429.                         <p>No log messages</p>
  430.                     </div>
  431.                 {% endif %}
  432.             </div>
  433.         </div>
  434.         {% endif %}
  435.         <div class=\"tab\">
  436.             <h3 class=\"tab-title\">
  437.                 {% if exception_as_array|length > 1 %}
  438.                     Stack Traces <span class=\"badge\">{{ exception_as_array|length }}</span>
  439.                 {% else %}
  440.                     Stack Trace
  441.                 {% endif %}
  442.             </h3>
  443.             <div class=\"tab-content\">
  444.                 {% for e in exception_as_array %}
  445.                     {{ include('@Twig/Exception/traces_text.html.twig', { exception: e, index: loop.index, num_exceptions: loop.length }, with_context = false) }}
  446.                 {% endfor %}
  447.             </div>
  448.         </div>
  449.         {% if currentContent is not empty %}
  450.         <div class=\"tab\">
  451.             <h3 class=\"tab-title\">Output content</h3>
  452.             <div class=\"tab-content\">
  453.                 {{ currentContent }}
  454.             </div>
  455.         </div>
  456.         {% endif %}
  457.     </div>
  458. </div>
  459. ""@Twig/Exception/exception.html.twig""/home/xearts/stg1.work/pipit-gacha/releases/16/vendor/symfony/twig-bundle/Resources/views/Exception/exception.html.twig");
  460.     }
  461. }