WordPress
Popular5 min read
Troubleshooting common WordPress errors
Fix the most common WordPress issues: white screen of death, 500 errors, login loops, and database errors.
Common WordPress errors and fixes
White Screen of Death (WSOD)
A blank white page usually means a PHP error. To fix:
- Enable WordPress debug mode: in
wp-config.phpadddefine('WP_DEBUG', true); - Check the error log in Plesk → Logs
- Deactivate all plugins via FTP: rename the
/wp-content/pluginsfolder - Switch to a default theme (Twenty Twenty-Four) via FTP if needed
500 Internal Server Error
- Check Plesk error logs
- Rename
.htaccessto.htaccess_oldand visit your site — if it loads, regenerate .htaccess from WordPress → Settings → Permalinks → Save - Increase PHP memory: add
define('WP_MEMORY_LIMIT', '256M');towp-config.php
Too many redirects / login loop
Usually caused by wrong URL settings. In wp-config.php add:
define('WP_HOME', 'https://yourdomain.com');
define('WP_SITEURL', 'https://yourdomain.com');
Error establishing database connection
- Check your database credentials in
wp-config.php - In Plesk → Databases, verify the database and user exist and the user has full privileges
- Test the database connection from Plesk → Databases → Webadmin (phpMyAdmin)
Still stuck? Open a support ticket with the exact error message and we'll help.