var/cache/dev/twig/18/18f099e837e681d4c4cdd6d25d7978fd6159e29f636535d862d94fbff190b4c9.php line 33

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