source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Twig/Exception/exception.html.twig")); // line 1 echo "
\"Exception
\"\"

"; // line 14 echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->formatFileFromText(nl2br(twig_escape_filter($this->env, 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.', 14, $this->source); })()), "message", [], "any", false, false, false, 14), "html", null, true))); echo "

"; // line 17 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.', 17, $this->source); })()), "html", null, true); echo " "; 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.', 17, $this->source); })()), "html", null, true); echo " - "; 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.', 17, $this->source); })()), "class", [], "any", false, false, false, 17)); echo "
"; // line 20 $context["previous_count"] = twig_length_filter($this->env, 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.', 20, $this->source); })()), "allPrevious", [], "any", false, false, false, 20)); // line 21 echo " "; if ((isset($context["previous_count"]) || array_key_exists("previous_count", $context) ? $context["previous_count"] : (function () { throw new RuntimeError('Variable "previous_count" does not exist.', 21, $this->source); })())) { // line 22 echo "
"; echo twig_escape_filter($this->env, (isset($context["previous_count"]) || array_key_exists("previous_count", $context) ? $context["previous_count"] : (function () { throw new RuntimeError('Variable "previous_count" does not exist.', 22, $this->source); })()), "html", null, true); echo " linked Exception"; echo ((((isset($context["previous_count"]) || array_key_exists("previous_count", $context) ? $context["previous_count"] : (function () { throw new RuntimeError('Variable "previous_count" does not exist.', 22, $this->source); })()) > 1)) ? ("s") : ("")); echo ":
"; } // line 32 echo "
\"\"
"; // line 40 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(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.', 40, $this->source); })()), "toarray", [], "any", false, false, false, 40)); foreach ($context['_seq'] as $context["position"] => $context["e"]) { // line 41 echo " "; $this->loadTemplate("@Twig/Exception/traces.html.twig", "@Twig/Exception/exception.html.twig", 41)->display(twig_to_array(["exception" => $context["e"], "position" => $context["position"], "count" => (isset($context["previous_count"]) || array_key_exists("previous_count", $context) ? $context["previous_count"] : (function () { throw new RuntimeError('Variable "previous_count" does not exist.', 41, $this->source); })())])); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['position'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 43 echo " "; // line 44 if ((isset($context["logger"]) || array_key_exists("logger", $context) ? $context["logger"] : (function () { throw new RuntimeError('Variable "logger" does not exist.', 44, $this->source); })())) { // line 45 echo "
"; // line 47 ob_start(); // line 48 echo "

Logs  \"+\" \"-\"

"; echo trim(preg_replace('/>\s+<', ob_get_clean())); // line 56 echo " "; // line 57 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.', 57, $this->source); })()), "counterrors", [], "any", false, false, false, 57)) { // line 58 echo "
"; // line 60 echo twig_escape_filter($this->env, 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.', 60, $this->source); })()), "counterrors", [], "any", false, false, false, 60), "html", null, true); echo " error"; echo (((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.', 60, $this->source); })()), "counterrors", [], "any", false, false, false, 60) > 1)) ? ("s") : ("")); echo "
"; } // line 64 echo "
"; // line 67 $this->loadTemplate("@Twig/Exception/logs.html.twig", "@Twig/Exception/exception.html.twig", 67)->display(twig_to_array(["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.', 67, $this->source); })()), "logs", [], "any", false, false, false, 67)])); // line 68 echo "
"; } // line 71 echo " "; // line 72 if ((isset($context["currentContent"]) || array_key_exists("currentContent", $context) ? $context["currentContent"] : (function () { throw new RuntimeError('Variable "currentContent" does not exist.', 72, $this->source); })())) { // line 73 echo "
"; // line 74 ob_start(); // line 75 echo "

Content of the Output  \"-\" \"+\"

"; echo trim(preg_replace('/>\s+<', ob_get_clean())); // line 83 echo "
"; // line 85 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.', 85, $this->source); })()), "html", null, true); echo "
"; } // line 91 echo " "; // line 92 $this->loadTemplate("@Twig/Exception/traces_text.html.twig", "@Twig/Exception/exception.html.twig", 92)->display(twig_to_array(["exception" => (isset($context["exception"]) || array_key_exists("exception", $context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.', 92, $this->source); })())])); // line 93 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "@Twig/Exception/exception.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 223 => 93, 221 => 92, 218 => 91, 209 => 85, 205 => 83, 195 => 75, 193 => 74, 190 => 73, 188 => 72, 185 => 71, 180 => 68, 178 => 67, 173 => 64, 164 => 60, 160 => 58, 158 => 57, 155 => 56, 145 => 48, 143 => 47, 139 => 45, 137 => 44, 134 => 43, 127 => 41, 123 => 40, 113 => 32, 108 => 29, 91 => 26, 88 => 25, 84 => 24, 76 => 22, 73 => 21, 71 => 20, 61 => 17, 55 => 14, 40 => 1,); } public function getSourceContext() { return new Source("
\"Exception
\"\"

{{ exception.message|nl2br|format_file_from_text }}

{{ status_code }} {{ status_text }} - {{ exception.class|abbr_class }}
{% set previous_count = exception.allPrevious|length %} {% if previous_count %}
{{ previous_count }} linked Exception{{ previous_count > 1 ? 's' : '' }}:
    {% for i, previous in exception.allPrevious %}
  • {{ previous.class|abbr_class }} »
  • {% endfor %}
{% endif %}
\"\"
{% for position, e in exception.toarray %} {% include '@Twig/Exception/traces.html.twig' with { 'exception': e, 'position': position, 'count': previous_count } only %} {% endfor %} {% if logger %}
{% spaceless %}

Logs  \"+\" \"-\"

{% endspaceless %} {% if logger.counterrors %}
{{ logger.counterrors }} error{{ logger.counterrors > 1 ? 's' : ''}}
{% endif %}
{% include '@Twig/Exception/logs.html.twig' with { 'logs': logger.logs } only %}
{% endif %} {% if currentContent %}
{% spaceless %}

Content of the Output  \"-\" \"+\"

{% endspaceless %}
{{ currentContent }}
{% endif %} {% include '@Twig/Exception/traces_text.html.twig' with { 'exception': exception } only %} ", "@Twig/Exception/exception.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig"); } }