How to fix common WordPress errors
Most WordPress errors have a known cause and a quick fix. Here is how to tackle the usual suspects with CHPanel's File Manager and Backups.
White screen or "memory exhausted"
PHP has run out of memory. In Files → File Manager, go into public_html, click + File, name it .user.ini, then Edit it and add memory_limit = 256M. Give it a few minutes. If the screen stays white, it is usually a plugin — see below.
500 internal server error
Usually a broken .htaccess. In File Manager, Rename it to .htaccess-old and reload the site. If that fixes it, log in to WordPress, open Settings → Permalinks and click Save to write a fresh one.
Error establishing a database connection
Open wp-config.php with Edit in File Manager. DB_NAME and DB_USER must match a database and user listed under Databases → Manage Databases (both carry your account username as a prefix, e.g. sunrise_wp), and DB_HOST must be localhost. If you have lost the database password, open a support ticket and we will reset it for you.
Plugin or theme conflict
In File Manager, rename wp-content/plugins to plugins-off. If the site comes back, rename it back and then rename the plugins inside it one at a time until you find the culprit; delete or replace that one.
Still broken? Roll back
Open the Backups tab, pick last night's restore point (or an earlier one from the last seven days) and restore the site's public_html folder and its database. If anything is still wrong, open a support ticket with the exact error text.
