I have changed the config setting to enable debugging as follows;
define( 'WP_DEBUG', true );
When I refresh the page I still get he unhelpful message:
There has been a critical error on your website.
How can I get it to spilt its guts on the screen and show the actual error?
define( 'WP_DEBUG_DISPLAY', true );
and ordefine( 'WP_DEBUG_LOG', true );
and setWP_DEBUG_DISPLAY
tofalse
and then go check your error log which should be generated in/wp-content/debug.log
assuming it is not being set to output somewhere else by your server settings. Useful reading: wordpress.org/support/article/debugging-in-wordpress