{% deprecated 'The template "' ~ _self ~'" is deprecated since Symfony 4.4, will be removed in 5.0.' %} {% for e in exception.toarray %} {{ include('@Twig/Exception/traces.xml.twig', { exception: e }, with_context = false) }} {% endfor %}