Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How to Troubleshoot “There Has Been a Critical Error” on Your WordPress Site

Have you encountered the dreaded โ€˜There Has Been a Critical Error on This Websiteโ€™ message on your WordPress site? Don’t worry, this frustrating message is a common issue that can be fixed with a little troubleshooting. This guide will walk you through several steps to identify and resolve the problem of getting your website back online in no time.

What Is the “There Has Been a Critical Error” Message? #

This generic error message can be caused by various issues within your WordPress site. It often points to problems with:

  • Plugins: Conflicting plugins or outdated code can trigger critical errors.
  • Themes: A custom theme with compatibility issues might be the culprit.
  • PHP: The programming language powering WordPress might have insufficient memory or be outdated.
  • Corrupted Core Files: In rare cases, the core WordPress files themselves might be damaged.

Troubleshooting Tips: #

Here are some steps you can take to diagnose and fix the critical error:

  1. Check Error Logs: xCloud offers access to logs. These logs provide detailed information about the critical error, pinpointing the source of the problem. Follow this documentation to learn how to view logs in xCloud
There Has Been a Critical Error
  1. Enable WordPress Debug Mode: This built-in feature displays specific error messages on your screen, helping you identify the problematic code. (Note: This might cause your site to malfunction temporarily.). Follow this documentation to enable WP Debug mode from the xCloud dashboard.
There Has Been a Critical Error
  1. Deactivate All Plugins: If a plugin is causing a critical error issue, disabling all plugins at once can help isolate the culprit. Then, reactivate them one by one until the error reappears, identifying the problematic plugin.
There Has Been a Critical Error
  1. Revert to a Default Theme: Try switching to a default WordPress theme like Twenty Twenty-Four. If the critical error disappears, you know your custom theme is causing the issue.
There Has Been a Critical Error
  1. Increase PHP Memory Limit: Sometimes, the error might be due to insufficient memory allocated to PHP. Access to xCloud dashboard and follow this document to increase PHP memory limit.
  2. Restore from Backup: If you have a recent backup of your website, you can restore it to a previous state when the error wasn’t present. (Important: Only attempt this if you have a backup available.)
There Has Been a Critical Error

From the xCloud dashboard, go to your site โ†’Backupโ†’Previous Backup, then select your chosen backup file and hit on the โ€˜Restoreโ€™ button to restore from the backup. 

  1. Check for Malware: Malicious code can also cause critical errors. Use a security plugin to scan your website for malware.

Additional Tips: #

  • As you troubleshoot, keep a record of the changes you make. This will help you backtrack if a particular step worsens the problem.
  • If none of these solutions work, consider seeking help from a WordPress developer or contact our support team.

By following these steps, you should be able to identify the cause of the โ€˜There Has Been a Critical Errorโ€™ message and get your WordPress website back up and running smoothly. Remember, start with the simplest solutions and work your way up to more complex troubleshooting techniques.

If you need further help contact xCloud support. Our team always welcomes you to assist you further.

What are your feelings
Updated on June 2, 2024

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00