Most WordPress errors come from a plugin, a theme or a setting. Take a backup before you change anything (see Back up your website and restore a backup).

"There has been a critical error on this website" or a blank white page

This is usually a plugin or theme that does not work with your PHP version or another plugin.

  1. Check the email WordPress sends to the admin address: it often names the plugin and gives a recovery-mode link.
  2. No email? In cPanel's File Manager, open public_html/wp-content/ and rename the plugins folder to plugins-off. If the site comes back, rename it back and turn plugins off one by one in Plugins until you find the one causing it.
  3. If you changed the PHP version recently, switch it back (see Change your PHP version).

"Error establishing a database connection"

WordPress cannot reach its database.

  • Check DB_NAME, DB_USER, DB_PASSWORD and DB_HOST (localhost) in wp-config.php match your database (see Create a MySQL database and user).
  • If you recently moved the site, the database user may not have been given access to the database. Add it again in cPanel under MySQL Databases.

"500 Internal Server Error"

Often a broken .htaccess file. Rename it to .htaccess-old in File Manager, then in WordPress go to Settings › Permalinks and click Save to create a fresh one.

Can't log in to wp-admin

Use Lost your password? on the login page. If the email does not arrive, reset the password with WordPress Toolkit (the WordPress button among your hosting's cPanel links), or ask us in a ticket.

Still broken?

Open a ticket in Technical Support with your domain, what you changed last and the exact error. We can also restore a backup if your plan includes backups.