Skip to Content
Shared hosting (cPanel)Troubleshooting

Fixing common website errors

This page collects the errors that most often appear on websites, their causes, and how to fix them yourself from cPanel. Always start by asking: what changed before the error appeared? A plugin update, a file edit, or a PHP version change? That is usually the cause.

Where can I find error details?

  • The error log in cPanel: in the Metrics section, click Errors to view the latest web server errors for your account, with the file name and the reason the request was refused.
  • The error_log file: PHP writes its errors to a file named error_log inside the site's own folder. Open it from File Manager and read the last lines.
  • WordPress debug mode: temporarily add the following two lines to wp-config.php, and errors will be written to the wp-content/debug.log file:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );

Set the value back to false once you have finished the fix.

Common errors

When should I contact technical support?

If you can't solve the problem yourself, send a ticket linked to your hosting service using the Question button, and include:

  • The URL of the page where the error appears, and the error text as shown or a screenshot of it.
  • Roughly when it appeared, and what changed before it.
  • Which of the fixes above you have tried.

How is this guide?

On this page