How to Resolve the Error Message “There Has Been a Critical Error on This Website”

August 2, 2024 / How-to Guide

This guide provides a solution to the “There Has Been a Critical Error on This Website” issue. The first step in fixing a major problem in WordPress is identifying its source. WordPress might provide a description of the faulty file and code line, but if not, don’t worry.

Error logs document various activities on your web server, including software or server issues. These logs contain important information about warnings, errors, and other server-related problems. By examining error logs, tech specialists can determine the root cause of serious faults on a WordPress website.

Here is how:

  1. First, sign into cPanel.
  2. In the “Files” section, select the “File Manager” sub-option.
    files
  3. Go to the folder named “public_html.”
    public_html
  4. Look for the “error_log” file.
    error log
  5. To read the contents of the “error_log” file, just perform a right-click and choose “Open.”
    Important note: You can use an FTP client like FileZilla if you don’t have cPanel.
  6. Locate the “public_html” folder by navigating to the directory where WordPress is installed. Next, look for files with the name “error_log.”
  7. Next, locate the error message along with the precise cause by opening the error log file.
  8. You can troubleshoot and resolve the mistake once you’ve identified it.

That is it! Hope you liked our article. However, if you face any difficulty, feel free to contact our support staff.

Check out our comprehensive guide: How to Create Custom Error Pages in cPanel

Spread the love