How to Fix a White Screen or 500 Internal Server Error Stampa

  • 500 error, cpanel, wordpress, troubleshooting, plugin, error, php, white screen
  • 0

A white screen (sometimes called the “White Screen of Death”) or a 500 Internal Server Error usually means something went wrong on the server while loading your website. The most common causes are a plugin or theme conflict, a PHP error, or a problem with the .htaccess file.

Quick Checks

  1. Clear your browser cache and try again, or test in a private/incognito window.
  2. Check if the site loads on a different device or network.

Common Fixes

1. Disable all plugins (WordPress)

  1. Log in to cPanel → File Manager.
  2. Go to public_html/wp-content.
  3. Rename the plugins folder to plugins_old.
  4. Refresh your website.
    • If the site loads, the problem is a plugin.
    • Rename the folder back to plugins, then rename plugins one by one (or in small groups) until you find the one causing the issue.

2. Switch to a default theme

  1. In File Manager, go to public_html/wp-content/themes.
  2. Rename your active theme folder (for example, yourtheme to yourtheme_old).
  3. WordPress will fall back to a default theme.
  4. If the site loads, the problem is related to your theme.

3. Check or reset the .htaccess file

  1. In File Manager, go to public_html.
  2. Look for the .htaccess file (enable “Show Hidden Files” if you don’t see it).
  3. Rename it to .htaccess_old.
  4. Refresh your site.
    • If it loads, go to WordPress admin → Settings → Permalinks and click Save Changes to generate a fresh .htaccess.

4. Check error logs

  1. In cPanel, go to Metrics → Errors.
  2. Look for recent PHP errors. These often point to the exact file or plugin causing the problem.

5. Increase PHP memory limit (if you see memory errors)
In cPanel → Software → MultiPHP INI Editor (or Select PHP Version), raise memory_limit to 256M or 512M, then save.

When to Contact Support

Open a ticket if:

  • The error continues after trying the steps above
  • You see repeated errors in the error log
  • The site was working and suddenly stopped after an update

Include your domain name and the approximate time the error started.


Hai trovato utile questa risposta?

« Indietro