{% set pagetitle = '500 - ' ~ 'Error'|trans %} {{ pagetitle }} | {{ services.getSetting("website_name") }} {# Google analytics code added in the app parameters #} {% if services.getSetting('google_analytics_code') != "" and services.getSetting('google_analytics_code') is not null %} {% endif %} {{ encore_entry_link_tags('app') }} {# i18n lang specific styles #} {% if app.request.locale == "fr" %} {{ encore_entry_link_tags('app.fr') }} {% elseif app.request.locale == "ar" %} {{ encore_entry_link_tags('app.ar') }} {% endif %} {# Application theme #} {{ encore_entry_link_tags('app.'~services.getSetting('app_theme')) }} {# Custom css code added in the app parameters #} {% if services.getSetting('custom_css') != "" and services.getSetting('custom_css') is not null %} {% endif %}

{{ pagetitle }}

{{ "An error has occured while processing your request"|trans }}

{{ "return to the homepage"|trans }}
{{ encore_entry_script_tags('app') }}