WordPress Critical Error message.

WordPress is a powerful and feature packed content management system. This article explains how to troubleshoot issues with a white page or 'Critical' error within WordPress. Please reach out to our Technical Support team if you need help troubleshooting. 

Example image of the WordPress critical error notification.

What can cause this error?

There are a few things that can prevent your WordPress site from loading correctly. We have listed the most common causes below. 

 

  • Updates to your WordPress core, themes, and plugins.
  • Recent changes to your content or site configuration. 
  • WordPress exhausting the PHP memory allocation.
  • Database connection issues or corruption.

 

How to find the cause of the error.

WordPress may email the sites Administrator with more verbose information about the error. If you did not receive this message the following explains how to enable debugging. 

1. Navigate to your hosting cPanel control panel. 

2. Choose the 'File Manager' option from the list. You can type 'File' into the cPanel search box to find this section. 

3. This step has multiple parts. Please note your interface may list different folders depending on your sites file structure. 

  • You will need to find the wp-config.php file for your WordPress site. If this is your 'primary' domain the file should be located within the public_html directory. [1]
  • Click once on the wp-config.php file to select it. [2]
  • Click 'Edit' to open the file for editing. [3]

4. When the file is open for editing you need to modify one line.

  • Find and edit the 'define( 'WP_DEBUG', false );' line and change 'false' to 'true'. [1]
  • Click 'Save Changes' to finalize the change. [2]

 

What do I do now?

Now that debugging is enabled you can now refresh the critical error page. If the changes were successful you should see a more verbose error to assist with troubleshooting. Here are some example options to correct the issue. 

 

  • Roll your site back to a previous backup point using JetBackup in cPanel. (Or your own personal backup.)
  • Investigate the error using a search engine like Google.
  • Check the site PHP Version to see if it needs updated. 
  • If the error lists a plugin path you can Disable the Plugin Manually or within the WordPress Admin area. 
  • If the error lists your theme you can switch themes or contact the theme developer. 

 

I was not able to correct the problem.

Please reach out to our Technical Support team if you need help troubleshooting. Please ensure you include the steps required to reproduce the error. 

 

  • Domain, Dedicated Server, dns, Reseller Hosting, Reliable Web Hosting, VPS Hosting, Unlimited Web Hosting, 99rs hosting, Hosting India, Hosting
  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

403 Error in the WordPress Administration [wp-admin]

What is a 403 Error? A 403 Forbidden error is returned by the server when the user has been...

BackupBuddy not working, how can I fix this?

BackupBuddy schedules things to run in the background in a way that isn't inherently compatible...

Cannot upgrade WordPress or a WordPress Plugin

Should you receive an error message about not being able to write or open a file in "/tmp"...

Disabling Caching Using htaccess

How to disable caching using .htaccess While caching is great for overall site performance, it...

Drupal CPU usage spikes during backups

If you are using Drupal on your hosting accounts, you may notice sudden CPU usage spikes that...