Knowledgebase

There has been a critical error on this website Print

  • errors, wordpress, plugins, email, php, themes, cpanel, smtp, filemanager
  • 0

WordPress caught a fatal error.

WHAT IT MEANS

A PHP fatal error occurred. WordPress shows this rather than a blank page.

FIRST, CHECK YOUR EMAIL

WordPress sends a recovery email to the administrator address, containing a link that logs you in with the offending plugin disabled.

That is the fastest route back, and most people do not know it exists.

IF THE EMAIL DID NOT ARRIVE

The administrator address may be wrong, or mail may be failing, which is common on sites without SMTP configured.

ENABLE DEBUG LOGGING

Add to wp-config.php:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

Reproduce, then read wp-content/debug.log.

Or check cPanel > Metrics > Errors.

DISABLE PLUGINS WITHOUT ACCESS

Rename wp-content/plugins to plugins-off in File Manager. All plugins deactivate.

Rename it back and disable individually to find the culprit.

SWITCH THEME

Rename the active theme's directory. WordPress falls back to a default.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot