What’s Causing There has been a critical error on your website.
As WordPress said itself ” Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. ” So its clear these type of issues come up with PHP FATAL errors. FATAL errors are when php stop running further and force you to resolve the issues before it can complete process. With FATAL error your request cannot be completed. Instead of showing broken pages with several errors WordPress now display decent message. That’s it.
Quick Tip Turn on Debug Mode
The quickest way to know why WordPress is throwing this error or what’s causing the problem. Edit your wp-config.php from WordPress’s root folder then follow final steps on this post below.
Turn on debug mode so you can find more details about the issues you are facing. Try to find errors log in your FTP that can also guide you about problem.
//Turn on Debug Mode.
//Find following like in wp-config.php and replace FALSE with TRUE
//FIND
define('WP_DEBUG', false);
//And replace with
define('WP_DEBUG', true);
What are WordPress Requirements?
Since WordPress 5.6 WordPress have now started supporting PHP 8.0. But as PHP 8.0 have not been yet adopted by several hosting companies. That’s why WordPress still supports 7.2 , 7.3 and 7.4 as well. Here are WordPress official requirements as well.
WordPress recommend servers running version 7.4 or greater of PHP and MySQL version 5.6 OR MariaDB version 10.1 or greater.
We also recommend either Apache or Nginx as the most robust options for running WordPress, but neither is required.