Why does my WordPress Site Show A Critical Error?

WordPress Critical Errors

 

Screen_Shot_2021-07-08_at_9.21.18_AM.png

 

After spending hours updating your new WordPress Site, you go to take a look at the page and receive the dreaded "There has been a critical error on your website" message. No need to fear, we got you covered! 

 

What Causes a WordPress Critical Error?

  • With these errors, it usually can be traced back to the PHP Issues.
    • This means either the PHP Version is not correct, the code within your Theme/Plugins conflicts with the currently running PHP Version, or your PHP Memory Settings are not sufficient.

How Can I Fix This Issue?

The first thing we suggest doing in this situation, would be to enable Debugging for your WordPress.

  • This can be done a few ways:
define( 'WP_DEBUG', false );
    • Once you have debugging enabled, you can likely determine the cause of the issue. If the issue mentions a plugin/theme, try disabling the mentioned plugin or theme.

* Note: If you do not have access to your WordPress Dashboard, you can edit the wp-config.php file via cPanel's File Manager, or FTP. For disabling a theme or plugin, you will simply want to rename the folder to theme.bak or plugin.bak

(Themes are located in $DOCUMENTROOT/wp-content/themes/$NAMEOFTHEME and plugins $DOCUMENTROOT/wp-content/plugins/$NAMEOFPLUGIN)

  • If the error mentions memory, you can edit the memory limits set for the site using cPanel's MultiPHP INI Editor for the site.

If you are still unable to resolve your critical error, reach out to our Support Team, and we will get you back up and running as quickly as possible!

Was this article helpful?
0 out of 0 found this helpful