The website encountered an unexpected error. Please try again later. My drupal version is 9.2.5. How to open dev mode
1 Answer
To show all error messages with backtrace information, update <drupal_root>/sites/default/settings.php
. Change the following line to verbose
$config['system.logging']['error_level'] = 'verbose';
Remember to change it back for production.