An error occurred

What's the matter?

An error occurred while executing this script. Something does not work properly.

How can I fix the issue?

Open the system/logs/error.log file and find the associated error message (usually the last one). You can also add the following line to the local configuration file and reload this page:

$GLOBALS['TL_CONFIG']['displayErrors'] = true;

However, please be aware that anyone will be able to see error messages on your website then!

Tell me more, please

The script execution stopped, because something does not work properly. The actual error message is hidden by this notice for security reasons and can be found in the system/logs/error.log file (see above). If you do not understand the error message or do not know how to fix the problem, search the Contao FAQs or visit the Contao support page.

To customize this notice, create a custom template file named templates/be_error.html5.