How to Fix the WordPress "There Has Been a Critical Error on This Website" Message Print

  • wordpress, troubleshooting, cpanel, php
  • 0

The message There has been a critical error on this website means WordPress hit a fatal PHP error. The site is down for visitors, but data is usually still on the server and recoverable without deleting files.

Check the administrator recovery email

  1. Look for a WordPress email about a fatal error with a recovery link.
  2. Use the link to log in and pause the failing plugin or theme when offered.

Disable a problematic plugin

  1. Open cPanel File Manager.
  2. Go to public_html/wp-content/plugins/ (or your WordPress path).
  3. Rename the suspected plugin folder, for example plugin-name.disabled.
  4. Reload the site. If it works, update or replace that plugin.

Test the active theme

  1. Rename the active theme folder in wp-content/themes/ except a default theme such as Twenty Twenty-Five.
  2. WordPress falls back to a default theme if one is installed.

Check the PHP version

  1. In cPanel, open Select PHP Version for the domain.
  2. Match PHP to your WordPress and plugin requirements — see change PHP safely.

Review error logs

  1. In cPanel, open Errors or check the domain error log in File Manager.
  2. Note the file and line mentioned in the latest fatal error.

PHP memory exhaustion

Repeated memory errors may need fewer plugins, a lighter theme, or a hosting upgrade if you hit resource limits.

Do not expose debug output publicly

Avoid leaving WP_DEBUG_DISPLAY enabled on production. Use logs instead of showing errors to visitors.

Restore from backup

If the site still fails, restore files and database from your last good backup — WordPress restore steps.

When to contact Pakish support

Open a ticket at my.pakish.net if errors mention permissions, disk quota, repeated 508/500 responses, or you cannot access File Manager. Include your domain and the latest error log lines (not passwords).


Was this answer helpful?

« Back

Powered by WHMCompleteSolution