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.
- Check the email WordPress sends to the admin address: it often names the plugin and gives a recovery-mode link.
- No email? In cPanel's File Manager, open
public_html/wp-content/and rename thepluginsfolder toplugins-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. - 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_PASSWORDandDB_HOST(localhost) inwp-config.phpmatch 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.