Upgrade 1-11.38

This commit is contained in:
xesmyd committed 2026-03-30 14:10:30 +02:00
1 parent f2a7e6d1fc
commit ac648ef29d
24665 files changed
+69675 -2204997

No files matched your search

@@ -1 +1 @@
{% include '@Twig/Exception/error.xml.twig' %}
{{ include('@Twig/Exception/error.xml.twig') }}
@@ -1 +1 @@
{% include '@Twig/Exception/error.xml.twig' %}
{{ include('@Twig/Exception/error.xml.twig') }}
@@ -1 +1 @@
{% include '@Twig/Exception/exception.xml.twig' with { 'exception': exception } %}
{{ include('@Twig/Exception/exception.xml.twig', { exception: exception }) }}
@@ -1,3 +1,3 @@
/*
{% include '@Twig/Exception/exception.txt.twig' with { 'exception': exception } %}
{{ include('@Twig/Exception/exception.txt.twig', { exception: exception }) }}
*/
@@ -1,120 +1,102 @@
<div class="block-exception">
<div class="block-exception-detected clear-fix">
<div class="support">
<a href="http://symfony.com/support">Need support?</a>
<div class="exception-summary {{ exception.message is empty ? 'exception-without-message' }}">
<div class="exception-metadata">
<div class="container">
<h2 class="exception-hierarchy">
{% for previousException in exception.allPrevious|reverse %}
{{ previousException.class|abbr_class }}
<span class="icon">{{ include('@Twig/images/chevron-right.svg') }}</span>
{% endfor %}
{{ exception.class|abbr_class }}
</h2>
<h2 class="exception-http">
HTTP {{ status_code }} <small>{{ status_text }}</small>
</h2>
</div>
<div class="illustration-exception">
{{ include('@Twig/Exception/exception.svg') }}
</div>
<div class="text-exception">
<div class="open-quote">“</div>
</div>
<h1>{{ exception.message|nl2br|format_file_from_text }}</h1>
<div class="exception-message-wrapper">
<div class="container">
<h1 class="break-long-words exception-message {{ exception.message|length > 180 ? 'long' }}">
{{- exception.message|nl2br|format_file_from_text -}}
</h1>
<div>
<strong>{{ status_code }}</strong> {{ status_text }} - {{ exception.class|abbr_class }}
<div class="exception-illustration hidden-xs-down">
{{ include('@Twig/images/symfony-ghost.svg') }}
</div>
{% set previous_count = exception.allPrevious|length %}
{% if previous_count %}
<div class="linked"><span><strong>{{ previous_count }}</strong> linked Exception{{ previous_count > 1 ? 's' : '' }}:</span>
<ul>
{% for i, previous in exception.allPrevious %}
<li>
{{ previous.class|abbr_class }} <a href="#traces-link-{{ i + 1 }}" onclick="toggle('traces-{{ i + 1 }}', 'traces'); switchIcons('icon-traces-{{ i + 1 }}-open', 'icon-traces-{{ i + 1 }}-close');">&#187;</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="close-quote">”</div>
</div>
</div>
</div>
{% for position, e in exception.toarray %}
{% include '@Twig/Exception/traces.html.twig' with { 'exception': e, 'position': position, 'count': previous_count } only %}
{% endfor %}
<div class="container">
<div class="sf-tabs">
<div class="tab">
{% set exception_as_array = exception.toarray %}
{% set _exceptions_with_user_code = [] %}
{% for i, e in exception_as_array %}
{% for trace in e.trace %}
{% if (trace.file is not empty) and ('/vendor/' not in trace.file) and ('/var/cache/' not in trace.file) and not loop.last %}
{% set _exceptions_with_user_code = _exceptions_with_user_code|merge([i]) %}
{% endif %}
{% endfor %}
{% endfor %}
<h3 class="tab-title">
{% if exception_as_array|length > 1 %}
Exceptions <span class="badge">{{ exception_as_array|length }}</span>
{% else %}
Exception
{% endif %}
</h3>
{% if logger %}
<div class="block">
<div class="logs clear-fix">
{% spaceless %}
<h2>
Logs&nbsp;
<a href="#" onclick="toggle('logs'); switchIcons('icon-logs-open', 'icon-logs-close'); return false;">
<img class="toggle" id="icon-logs-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: none" />
<img class="toggle" id="icon-logs-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: inline" />
</a>
</h2>
{% endspaceless %}
{% if logger.counterrors %}
<div class="error-count">
<span>
{{ logger.counterrors }} error{{ logger.counterrors > 1 ? 's' : ''}}
</span>
</div>
{% endif %}
<div class="tab-content">
{% for i, e in exception_as_array %}
{{ 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) }}
{% endfor %}
</div>
</div>
<div id="logs">
{% include '@Twig/Exception/logs.html.twig' with { 'logs': logger.logs } only %}
{% if logger %}
<div class="tab {{ logger.logs is empty ? 'disabled' }}">
<h3 class="tab-title">
Logs
{% if logger.counterrors ?? false %}<span class="badge status-error">{{ logger.counterrors }}</span>{% endif %}
</h3>
<div class="tab-content">
{% if logger.logs %}
{{ include('@Twig/Exception/logs.html.twig', { logs: logger.logs }, with_context = false) }}
{% else %}
<div class="empty">
<p>No log messages</p>
</div>
{% endif %}
</div>
</div>
{% endif %}
<div class="tab">
<h3 class="tab-title">
{% if exception_as_array|length > 1 %}
Stack Traces <span class="badge">{{ exception_as_array|length }}</span>
{% else %}
Stack Trace
{% endif %}
</h3>
<div class="tab-content">
{% for e in exception_as_array %}
{{ include('@Twig/Exception/traces_text.html.twig', { exception: e, index: loop.index, num_exceptions: loop.length }, with_context = false) }}
{% endfor %}
</div>
</div>
{% if currentContent is not empty %}
<div class="tab">
<h3 class="tab-title">Output content</h3>
<div class="tab-content">
{{ currentContent }}
</div>
</div>
{% endif %}
</div>
{% endif %}
{% if currentContent %}
<div class="block">
{% spaceless %}
<h2>
Content of the Output&nbsp;
<a href="#" onclick="toggle('output-content'); switchIcons('icon-content-open', 'icon-content-close'); return false;">
<img class="toggle" id="icon-content-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: none" />
<img class="toggle" id="icon-content-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: inline" />
</a>
</h2>
{% endspaceless %}
<div id="output-content" style="display: none">
{{ currentContent }}
</div>
<div style="clear: both"></div>
</div>
{% endif %}
{% include '@Twig/Exception/traces_text.html.twig' with { 'exception': exception } only %}
<script type="text/javascript">//<![CDATA[
function toggle(id, clazz) {
var el = document.getElementById(id),
current = el.style.display,
i;
if (clazz) {
var tags = document.getElementsByTagName('*');
for (i = tags.length - 1; i >= 0; i--) {
if (tags[i].className === clazz) {
tags[i].style.display = 'none';
}
}
}
el.style.display = current === 'none' ? 'block' : 'none';
}
function switchIcons(id1, id2) {
var icon1, icon2, display1, display2;
icon1 = document.getElementById(id1);
icon2 = document.getElementById(id2);
display1 = icon1.style.display;
display2 = icon2.style.display;
icon1.style.display = display2;
icon2.style.display = display1;
}
//]]></script>
</div>
@@ -1,3 +1,3 @@
/*
{% include '@Twig/Exception/exception.txt.twig' with { 'exception': exception } %}
{{ include('@Twig/Exception/exception.txt.twig', { exception: exception }) }}
*/
@@ -1 +1 @@
{% include '@Twig/Exception/exception.xml.twig' with { 'exception': exception } %}
{{ include('@Twig/Exception/exception.xml.twig', { exception: exception }) }}
@@ -1,7 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="112" height="126" viewBox="0 0 112 126">
<path d="M106.17 97a1.92 1.92 0 0 1-2 0 2.05 2.05 0 0 1 0-1.87c3.92-5.25-4.58-5.46-1.9-.6.37.66.5 2.66-.1 2.48-5.17-1.57-5 1.95 0 2 .63 0-1 5.1-5.17 4.92V97c0-26.67-39.2-26.67-39.2 0v6.88c-4.8.74-6.44-4.82-5.8-4.88 5-.1 5.16-3.62 0-2-.6.18-.48-1.82-.12-2.48 2.7-4.86-5.8-4.65-1.9.6A2.05 2.05 0 0 1 50 97a1.92 1.92 0 0 1-2 0c-5.5-6.83-7.25 2.67 0 2 .5 0 1.64-.07 1.5.42-1.84 6.9 3.35 7 8.3 7.64V116c0 10.33 12.7 10.33 12.7 0 0 10.33 13 10.33 13 0 0 10.33 13.52 10.33 13.52 0v-9c4.95-.63 9.48-.85 7.67-7.6-.14-.47 1-.45 1.5-.4 7.22.67 5.47-8.83-.03-2zm-44-6c0-4.23 3.08-7.65 6.87-7.65S75.9 86.77 75.9 91a7.48 7.48 0 0 1-5.5 7.5 3.23 3.23 0 0 0 1.9-2.94 3.26 3.26 0 1 0-4.62 2.94 7.48 7.48 0 0 1-5.5-7.5zm15.33 21.5c-4.72 0-9.5-2.92-9.5-8.5a1 1 0 0 1 2 0c0 4.47 3.9 6.5 7.5 6.5s7.5-2 7.5-6.5a1 1 0 0 1 2 0c0 5.58-4.78 8.5-9.5 8.5zm9.7-14a3.26 3.26 0 1 0-2.72 0A7.5 7.5 0 0 1 79 91c0-4.23 3.08-7.65 6.88-7.65s6.87 3.42 6.87 7.65a7.5 7.5 0 0 1-5.54 7.48z" fill="#3f3f3f"/>
<g fill="#aacd4e">
<path d="M61.33 28.16a1.75 1.75 0 0 0 1.3.35 1.77 1.77 0 0 0 1.2-.63 1.6 1.6 0 0 0 .4-1.25 1.58 1.58 0 0 0-.67-1.12 1.8 1.8 0 0 0-1.32-.34 1.76 1.76 0 0 0-1.2.64 1.58 1.58 0 0 0-.36 1.2 1.6 1.6 0 0 0 .65 1.16z"/>
<path d="M56.65 70.4C75 66.1 88.42 52.52 88.42 36.42 88.42 16.86 68.62 1 44.22 1S0 16.86 0 36.42c0 19.26 19.2 34.92 43.12 35.4H43C43 77.2 50.88 84 57 84c-4.3-5.33-2.92-13-.35-13.6zm4.84-28.25a1.76 1.76 0 0 0-1.2.64 1.6 1.6 0 0 0-.38 1.2 1.6 1.6 0 0 0 .66 1.13 1.75 1.75 0 0 0 1.3.35l1.32-.15a1 1 0 0 1 .74.17.9.9 0 0 1 .35.64.9.9 0 0 1-.2.7 1 1 0 0 1-.68.36l-1.3.15a3.75 3.75 0 0 1-2.8-.72 3.53 3.53 0 0 1-.6-5.06 4 4 0 0 1 5.4-.57.9.9 0 0 1 .37.6.92.92 0 0 1-.35.83l-1.68 2a1.05 1.05 0 0 1-.66.36 1 1 0 0 1-.74-.2.9.9 0 0 1-.38-.65.9.9 0 0 1 .25-.7l.94-1.1a1.9 1.9 0 0 0-.38 0zm11.65-5.23a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.35 1 1 0 0 1 .75.17.88.88 0 0 1 .36.64l.6 5a.9.9 0 0 1-.2.72 1 1 0 0 1-.7.35 1 1 0 0 1-.75-.18.92.92 0 0 1-.35-.65zM76 45.25a1.3 1.3 0 0 1-1.74.2 1.1 1.1 0 0 1-.45-.77 1.06 1.06 0 0 1 .28-.85 1.3 1.3 0 0 1 1.72-.2 1.06 1.06 0 0 1 .46.76 1.1 1.1 0 0 1-.26.85zm-8.38-21.77a3.4 3.4 0 0 1 4.52-.53 2.83 2.83 0 0 1 1.17 2l.5 4.15a1.07 1.07 0 0 0 .44.76 1.2 1.2 0 0 0 .88.23h.06a1 1 0 0 1 .75.17.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35h-.06a3.2 3.2 0 0 1-2.37-.6 2.86 2.86 0 0 1-1.17-2l-.08-.66-.4-3.5a1 1 0 0 0-.45-.74 1.18 1.18 0 0 0-.88-.23 1.2 1.2 0 0 0-.82.42 1 1 0 0 0-.25.84l.37 3.16a.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 1 1 0 0 1-.73-.16.9.9 0 0 1-.35-.64L67 25.72a2.83 2.83 0 0 1 .62-2.24zm1.2 15.9a1 1 0 0 1 .76.18.9.9 0 0 1 .36.65.88.88 0 0 1-.2.72 1 1 0 0 1-.7.34 1.76 1.76 0 0 0-1.18.64 1.6 1.6 0 0 0-.37 1.24 1.56 1.56 0 0 0 .64 1.12 1.77 1.77 0 0 0 1.3.34 1.8 1.8 0 0 0 1.2-.64A1.57 1.57 0 0 0 71 42.7l-.64-5.45a.88.88 0 0 1 .2-.7 1 1 0 0 1 .67-.35 1 1 0 0 1 .75.17.88.88 0 0 1 .36.64l.66 5.47a3.35 3.35 0 0 1-.8 2.65 4 4 0 0 1-5.33.63 3.5 3.5 0 0 1-.6-5 3.76 3.76 0 0 1 2.56-1.37zM59.48 24.6a4 4 0 0 1 5.35-.6 3.5 3.5 0 0 1 .6 5.06 4 4 0 0 1-5.35.63 3.53 3.53 0 0 1-.6-5.07zM58.2 30a.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 1 1 0 0 1-.74-.17.9.9 0 0 1-.35-.64L55.6 25a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.35q1-.12 1.1.82zm-2.9-8.56a1.27 1.27 0 0 1 1.7-.24 1.1 1.1 0 0 1 .2 1.63 1.27 1.27 0 0 1-1.73.2 1.1 1.1 0 0 1-.2-1.63zm-6.87 2.07a1 1 0 0 1 .68-.34 1 1 0 0 1 .76.18.9.9 0 0 1 .36.65l.1.73 3.36-.4a1 1 0 0 1 .74.17.9.9 0 0 1 .35.64.86.86 0 0 1-.87 1.06l-3.37.4.26 2.17a1.07 1.07 0 0 0 .43.76 1.2 1.2 0 0 0 .88.23 1.17 1.17 0 0 0 .8-.43 1.08 1.08 0 0 0 .25-.84v-.13a.87.87 0 0 1 .2-.7 1 1 0 0 1 .7-.35 1 1 0 0 1 .73.18.9.9 0 0 1 .36.63v.13a2.85 2.85 0 0 1-.66 2.24 3.16 3.16 0 0 1-2.15 1.14A3.2 3.2 0 0 1 50 31a2.84 2.84 0 0 1-1.17-2l-.57-4.78a.92.92 0 0 1 .17-.75zM28.1 28.3a3.76 3.76 0 0 1 2.55-1.3 1 1 0 0 1 .75.18.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 1.76 1.76 0 0 0-1.18.64 1.6 1.6 0 0 0-.38 1.24 1.57 1.57 0 0 0 .7 1.1 1.77 1.77 0 0 0 1.3.33 1 1 0 0 1 .76.17.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 3.76 3.76 0 0 1-2.77-.7 3.5 3.5 0 0 1-.6-5zM13 31.23a4.7 4.7 0 0 1 1.1-3.72 5.27 5.27 0 0 1 3.58-1.9 1 1 0 0 1 .75.18.88.88 0 0 1 .36.64.9.9 0 0 1-.2.7 1 1 0 0 1-.7.36 3.35 3.35 0 0 0-1.9.82 3.07 3.07 0 0 0-1 1.7l3.1-.37a1 1 0 0 1 .75.17.9.9 0 0 1 .36.64.9.9 0 0 1-.2.7 1 1 0 0 1-.68.36l-3.15.37a3.06 3.06 0 0 0 1.37 1.47 3.34 3.34 0 0 0 2 .4 1 1 0 0 1 .75.17.9.9 0 0 1 .35.66.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 5.27 5.27 0 0 1-3.9-1A4.7 4.7 0 0 1 13 31.23zm8.4 19.9a4 4 0 0 1-5.34.64 3.5 3.5 0 0 1-.6-5A3.76 3.76 0 0 1 18 45.4a1 1 0 0 1 .75.17.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.68.35 1.76 1.76 0 0 0-1.22.63 1.6 1.6 0 0 0-.37 1.24 1.57 1.57 0 0 0 .65 1.12 1.77 1.77 0 0 0 1.3.34 1.8 1.8 0 0 0 1.22-.6 1.57 1.57 0 0 0 .38-1.25l-.65-5.46a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.36 1 1 0 0 1 .75.17.88.88 0 0 1 .36.65l.66 5.46a3.35 3.35 0 0 1-.8 2.63zm1.07-16.93a.88.88 0 0 1-.2.7 1 1 0 0 1-.7.34 1 1 0 0 1-.73-.17.9.9 0 0 1-.35-.64v-.36a2.86 2.86 0 0 1 .8-2.38 2.8 2.8 0 0 1-1.34-2.13v-.36a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.34q1-.12 1.1.82v.36a1.05 1.05 0 0 0 .45.76 1.2 1.2 0 0 0 .88.22 1.17 1.17 0 0 0 .8-.43 1.06 1.06 0 0 0 .24-.84v-.36a.9.9 0 0 1 .2-.7 1 1 0 0 1 .7-.35 1 1 0 0 1 .73.17.9.9 0 0 1 .35.64v.36a2.8 2.8 0 0 1-.8 2.37 2.86 2.86 0 0 1 1.33 2.12v.36a.9.9 0 0 1-.18.7 1 1 0 0 1-.68.35 1 1 0 0 1-.74-.18.87.87 0 0 1-.37-.63v-.36a1.07 1.07 0 0 0-.44-.75 1.16 1.16 0 0 0-.88-.23 1.2 1.2 0 0 0-.8.43 1.07 1.07 0 0 0-.26.84zm4.07 12.08a1.76 1.76 0 0 0-1.2.64 1.6 1.6 0 0 0-.36 1.25 1.6 1.6 0 0 0 .66 1.13 1.75 1.75 0 0 0 1.3.35l1.32-.15a1 1 0 0 1 .74.17.9.9 0 0 1 .35.64.9.9 0 0 1-.2.72 1 1 0 0 1-.67.35l-1.3.15a3.75 3.75 0 0 1-2.8-.72 3.53 3.53 0 0 1-.6-5.06 4 4 0 0 1 5.4-.57.9.9 0 0 1 .37.6.92.92 0 0 1-.34.83l-1.67 2a1 1 0 0 1-.66.36 1 1 0 0 1-.75-.2.9.9 0 0 1-.38-.65.9.9 0 0 1 .25-.68l.93-1.12a1.9 1.9 0 0 0-.42-.02zm9.76 3.25a3.4 3.4 0 0 1-4.52.54 2.84 2.84 0 0 1-1.17-2l-.6-4.8a.92.92 0 0 1 .2-.72 1 1 0 0 1 .67-.35 1 1 0 0 1 .75.18.9.9 0 0 1 .38.62l.1.74 3.36-.4a1 1 0 0 1 .74.17.9.9 0 0 1 .35.65.86.86 0 0 1-.87 1.06l-3.37.4.27 2.18a1.07 1.07 0 0 0 .44.76 1.2 1.2 0 0 0 .9.23 1.17 1.17 0 0 0 .8-.43 1.08 1.08 0 0 0 .23-.84v-.1a.87.87 0 0 1 .2-.7 1 1 0 0 1 .7-.35 1 1 0 0 1 .73.18.9.9 0 0 1 .36.63v.13a2.85 2.85 0 0 1-.65 2Line truncated
</g>
</svg>

Before

Width:  |  Height:  |  Size: 8.0 KiB

@@ -2,6 +2,6 @@
[message] {{ exception.message }}
{% for i, e in exception.toarray %}
[{{ i + 1 }}] {{ e.class }}: {{ e.message }}
{% include '@Twig/Exception/traces.txt.twig' with { 'exception': e } only %}
{{ include('@Twig/Exception/traces.txt.twig', { exception: e }, with_context = false) }}
{% endfor %}
@@ -3,7 +3,7 @@
<error code="{{ status_code }}" message="{{ status_text }}">
{% for e in exception.toarray %}
<exception class="{{ e.class }}" message="{{ e.message }}">
{% include '@Twig/Exception/traces.xml.twig' with { 'exception': e } only %}
{{ include('@Twig/Exception/traces.xml.twig', { exception: e }, with_context = false) }}
</exception>
{% endfor %}
</error>
@@ -1,7 +1,36 @@
<ol class="traces logs">
{% set channel_is_defined = (logs|first).channel is defined %}
<table class="logs">
<thead>
<tr>
<th>Level</th>
{% if channel_is_defined %}<th>Channel</th>{% endif %}
<th class="full-width">Message</th>
</tr>
</thead>
<tbody>
{% for log in logs %}
<li{% if log.priority >= 400 %} class="error"{% elseif log.priority >= 300 %} class="warning"{% endif %}>
{{ log.priorityName }} - {{ log.message|format_log_message(log.context) }}
</li>
{% if log.priority >= 400 %}
{% set status = 'error' %}
{% elseif log.priority >= 300 %}
{% set status = 'warning' %}
{% else %}
{% set severity = log.context.exception.severity|default(false) %}
{% set status = severity is constant('E_DEPRECATED') or severity is constant('E_USER_DEPRECATED') ? 'warning' : 'normal' %}
{% endif %}
<tr class="status-{{ status }}">
<td class="text-small" nowrap>
<span class="colored text-bold">{{ log.priorityName }}</span>
<span class="text-muted newline">{{ log.timestamp|date('H:i:s') }}</span>
</td>
{% if channel_is_defined %}
<td class="text-small text-bold nowrap">
{{ log.channel }}
</td>
{% endif %}
<td>{{ log.message|format_log_message(log.context) }}</td>
</tr>
{% endfor %}
</ol>
</tbody>
</table>
@@ -1,22 +1,33 @@
{% if trace.function %}
at
<strong>
<abbr title="{{ trace.class }}">{{ trace.short_class }}</abbr>
{{ trace.type ~ trace.function }}
</strong>
({{ trace.args|format_args }})
{% endif %}
<div class="trace-line-header break-long-words {{ trace.file|default(false) ? 'sf-toggle' }}" data-toggle-selector="#trace-html-{{ prefix }}-{{ i }}" data-toggle-initial="{{ _display_code_snippet ? 'display' }}">
{% if trace.file|default(false) %}
<span class="icon icon-close">{{ include('@Twig/images/icon-minus-square.svg') }}</span>
<span class="icon icon-open">{{ include('@Twig/images/icon-plus-square.svg') }}</span>
{% endif %}
{% if trace.file is defined and trace.file and trace.line is defined and trace.line %}
{{ trace.function ? '<br />' : '' }}
in {{ trace.file|format_file(trace.line) }}&nbsp;
{% spaceless %}
<a href="#" onclick="toggle('trace-{{ prefix ~ '-' ~ i }}'); switchIcons('icon-{{ prefix ~ '-' ~ i }}-open', 'icon-{{ prefix ~ '-' ~ i }}-close'); return false;">
<img class="toggle" id="icon-{{ prefix ~ '-' ~ i }}-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: {{ 0 == i ? 'inline' : 'none' }}" />
<img class="toggle" id="icon-{{ prefix ~ '-' ~ i }}-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: {{ 0 == i ? 'none' : 'inline' }}" />
</a>
{% endspaceless %}
<div id="trace-{{ prefix ~ '-' ~ i }}" style="display: {{ 0 == i ? 'block' : 'none' }}" class="trace">
{{ trace.file|file_excerpt(trace.line) }}
{% if trace.function %}
<span class="trace-class">{{ trace.class|abbr_class }}</span>{% if trace.type is not empty %}<span class="trace-type">{{ trace.type }}</span>{% endif %}<span class="trace-method">{{ trace.function }}</span><span class="trace-arguments">({{ trace.args|format_args }})</span>
{% endif %}
{% if trace.file|default(false) %}
{% set line_number = trace.line|default(1) %}
{% set file_link = trace.file|file_link(line_number) %}
{% set file_path = trace.file|format_file(line_number)|striptags|replace({ (' at line ' ~ line_number): '' }) %}
{% set file_path_parts = file_path|split(constant('DIRECTORY_SEPARATOR')) %}
<span class="block trace-file-path">
in
<a href="{{ file_link }}">{{ file_path_parts[:-1]|join(constant('DIRECTORY_SEPARATOR')) }}{{ constant('DIRECTORY_SEPARATOR') }}<strong>{{ file_path_parts|last }}</strong></a>
(line {{ line_number }})
</span>
{% endif %}
</div>
{% if trace.file|default(false) %}
<div id="trace-html-{{ prefix ~ '-' ~ i }}" class="trace-code sf-toggle-content">
{{ trace.file|file_excerpt(trace.line, 5)|replace({
'#DD0000': '#183691',
'#007700': '#a71d5d',
'#0000BB': '#222222',
'#FF8000': '#969896'
})|raw }}
</div>
{% endif %}
@@ -1,8 +1,6 @@
{% if trace.function %}
at {{ trace.class ~ trace.type ~ trace.function }}({{ trace.args|format_args_as_text }})
{% else %}
at n/a
{% endif %}
{% if trace.file is defined and trace.line is defined %}
in {{ trace.file }} line {{ trace.line }}
{% endif %}
at {{ trace.class ~ trace.type ~ trace.function }}({{ trace.args|format_args }})
{%- endif -%}
{% if trace.file|default('') is not empty and trace.line|default('') is not empty %}
{{- trace.function ? '\n (' : 'at '}}{{ trace.file|format_file(trace.line)|striptags|replace({ (' at line ' ~ trace.line): '' }) }}:{{ trace.line }}{{ trace.function ? ')' }}
{%- endif %}
@@ -1,25 +1,33 @@
<div class="block">
{% if count > 0 %}
<h2>
<span><small>[{{ count - position + 1 }}/{{ count + 1 }}]</small></span>
{{ exception.class|abbr_class }}: {{ exception.message|nl2br|format_file_from_text }}&nbsp;
{% spaceless %}
<a href="#" onclick="toggle('traces-{{ position }}', 'traces'); switchIcons('icon-traces-{{ position }}-open', 'icon-traces-{{ position }}-close'); return false;">
<img class="toggle" id="icon-traces-{{ position }}-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: {{ 0 == count ? 'inline' : 'none' }}" />
<img class="toggle" id="icon-traces-{{ position }}-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: {{ 0 == count ? 'none' : 'inline' }}" />
</a>
{% endspaceless %}
</h2>
{% else %}
<h2>Stack Trace</h2>
{% endif %}
<div class="trace trace-as-html">
<div class="trace-details">
<div class="trace-head">
<span class="sf-toggle" data-toggle-selector="#trace-html-{{ index }}" data-toggle-initial="{{ expand ? 'display' }}">
<h3 class="trace-class">
<span class="trace-namespace">
{{ exception.class|split('\\')|slice(0, -1)|join('\\') }}
{{- exception.class|split('\\')|length > 1 ? '\\' }}
</span>
{{ exception.class|split('\\')|last }}
<a id="traces-link-{{ position }}"></a>
<ol class="traces list-exception" id="traces-{{ position }}" style="display: {{ 0 == count ? 'block' : 'none' }}">
<span class="icon icon-close">{{ include('@Twig/images/icon-minus-square-o.svg') }}</span>
<span class="icon icon-open">{{ include('@Twig/images/icon-plus-square-o.svg') }}</span>
</h3>
{% if exception.message is not empty and index > 1 %}
<p class="break-long-words trace-message">{{ exception.message }}</p>
{% endif %}
</span>
</div>
<div id="trace-html-{{ index }}" class="sf-toggle-content">
{% set _is_first_user_code = true %}
{% for i, trace in exception.trace %}
<li>
{% include '@Twig/Exception/trace.html.twig' with { 'prefix': position, 'i': i, 'trace': trace } only %}
</li>
{% set _display_code_snippet = _is_first_user_code and ('/vendor/' not in trace.file) and ('/var/cache/' not in trace.file) and (trace.file is not empty) %}
{% if _display_code_snippet %}{% set _is_first_user_code = false %}{% endif %}
<div class="trace-line">
{{ include('@Twig/Exception/trace.html.twig', { prefix: index, i: i, trace: trace, _display_code_snippet: _display_code_snippet }, with_context = false) }}
</div>
{% endfor %}
</ol>
</div>
</div>
</div>
@@ -1,6 +1,12 @@
{% if exception.trace|length %}
<pre class="stacktrace">
{{ exception.class }}:
{% if exception.message is not empty %}
{{- exception.message }}
{% endif %}
{% for trace in exception.trace %}
{% include '@Twig/Exception/trace.txt.twig' with { 'trace': trace } only %}
{{ include('@Twig/Exception/trace.txt.twig', { trace: trace }, with_context = false) }}
{% endfor %}
</pre>
{% endif %}
@@ -1,7 +1,7 @@
<traces>
{% for trace in exception.trace %}
<trace>
{% include '@Twig/Exception/trace.txt.twig' with { 'trace': trace } only %}
{{ include('@Twig/Exception/trace.txt.twig', { trace: trace }, with_context = false) }}
</trace>
{% endfor %}
@@ -1,18 +1,24 @@
<div class="block">
<h2>
Stack Trace (Plain Text)&nbsp;
{% spaceless %}
<a href="#" onclick="toggle('traces-text'); switchIcons('icon-traces-text-open', 'icon-traces-text-close'); return false;">
<img class="toggle" id="icon-traces-text-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: none" />
<img class="toggle" id="icon-traces-text-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: inline" />
</a>
{% endspaceless %}
</h2>
<table class="trace trace-as-text">
<thead class="trace-head">
<tr>
<th class="sf-toggle" data-toggle-selector="#trace-text-{{ index }}" data-toggle-initial="{{ 1 == index ? 'display' }}">
<h3 class="trace-class">
{% if num_exceptions > 1 %}
<span class="text-muted">[{{ num_exceptions - index + 1 }}/{{ num_exceptions }}]</span>
{% endif %}
{{ exception.class|split('\\')|last }}
<span class="icon icon-close">{{ include('@Twig/images/icon-minus-square-o.svg') }}</span>
<span class="icon icon-open">{{ include('@Twig/images/icon-plus-square-o.svg') }}</span>
</h3>
</th>
</tr>
</thead>
<div id="traces-text" class="trace" style="display: none;">
<pre>{% for i, e in exception.toarray %}
[{{ i + 1 }}] {{ e.class }}: {{ e.message }}
{% include '@Twig/Exception/traces.txt.twig' with { 'exception': e } only %}
{% endfor %}</pre>
</div>
</div>
<tbody id="trace-text-{{ index }}">
<tr>
<td>
{{ include('@Twig/Exception/traces.txt.twig', { exception: exception }, with_context = false) }}
</td>
</tr>
</tbody>
</table>