WordPress Error Solutions
"Error Establishing Database Connection"
Fix:
- Check wp-config.php database credentials
- Verify database exists in cPanel
- Ensure user is assigned to database
- Check if database server is running
"Briefly Unavailable for Maintenance"
Fix:
- Connect via FTP/File Manager
- Delete the
.maintenance file
- Clear browser cache
"Memory Exhausted" Error
Fix: Add to wp-config.php:
define('WP_MEMORY_LIMIT', '256M');
"Maximum Execution Time Exceeded"
Fix: Add to .htaccess:
php_value max_execution_time 300
Blank White Page
Fix:
- Enable debug mode in wp-config.php
- Check for plugin conflicts (rename plugins folder)
- Switch to default theme
404 Errors on Posts/Pages
Fix:
- Go to Settings → Permalinks
- Click Save Changes (without changing anything)
- This regenerates .htaccess rules
"Sorry, This File Type Is Not Permitted"
Fix: Install "WP Add Mime Types" plugin or add to functions.php.