How to fix the “There has been a critical error on your website” error?
You can simply open wp-config.php file under your website document root.
Search and find out the line including WP_DEBUG
Change “false” to “true”.
Save the file, then browse your error page again, 99.9% chance you will be able to see the true error message.