Common WordPress Errors on Shared Hosting and How to Fix Them
A support-focused guide to common WordPress errors on shared hosting, including white screen, database connection errors, 500 errors, plugin conflicts, and memory limits.
On this page
WordPress is flexible, but on shared hosting it can fail in familiar ways: plugin conflicts, PHP version issues, database connection problems, memory limits, file permission problems, and broken .htaccess rules.
This guide explains the most common WordPress errors on shared hosting and gives a practical support workflow for fixing them safely.
Before making changes, create a backup
Before troubleshooting WordPress, create a backup of the website files and database. Even a small change such as disabling a plugin or editing .htaccess can affect the site if the original state is not preserved.
If your hosting panel provides backup tools, use them first. If not, download the WordPress files and export the database from phpMyAdmin before making deeper changes.
White screen of death
A blank white screen usually means PHP encountered a fatal error but error display is disabled. The most common causes are plugin conflicts, theme errors, exhausted memory, or incompatible PHP versions.
Start by checking the error log in your hosting panel. If the error points to a plugin, rename that plugin folder inside wp-content/plugins to disable it. If the error points to the active theme, temporarily switch to a default WordPress theme.
- Check error logs first.
- Disable the suspected plugin by renaming its folder.
- Switch to a default theme if the theme is causing the error.
- Confirm the PHP version is compatible with the site.
- Increase memory limit only after identifying the likely cause.
Error establishing a database connection
This error means WordPress cannot connect to the database. The cause is often incorrect database credentials in wp-config.php, a missing database user privilege, a changed database password, or a temporary database service issue.
Open wp-config.php and compare DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST with the database details in your hosting control panel. Also confirm that the database user is assigned to the database with the required privileges.
- Check DB_NAME in wp-config.php.
- Check DB_USER and DB_PASSWORD.
- Confirm DB_HOST is correct for the hosting environment.
- Verify the database user has privileges.
- Ask hosting support to check database service status if credentials are correct.
500 internal server error
A 500 error means the server encountered a condition that prevented the request from completing. On WordPress shared hosting, common causes include broken .htaccess rules, plugin errors, PHP fatal errors, file permission problems, or resource limits.
Rename .htaccess to .htaccess-old and reload the site. If the site loads, go to WordPress permalinks and save settings to regenerate clean rewrite rules. If the error remains, check error logs and disable recent plugins.
Plugin conflict after update
Plugin conflicts often appear after updates because a plugin may not be compatible with the current WordPress version, PHP version, theme, or another plugin.
If the admin dashboard is accessible, disable plugins one by one. If the dashboard is not accessible, use the file manager or SSH to rename the plugin folder. Start with the plugin that was updated most recently.
- Disable the most recently updated plugin first.
- Check whether the issue affects only the admin area or the whole website.
- Review the plugin changelog and PHP requirements.
- Avoid enabling all plugins again at once.
Memory limit exhausted
A memory limit error means PHP ran out of memory while processing the request. This can happen because of heavy plugins, large imports, page builders, backup plugins, or inefficient code.
Increasing memory can help, but it should not hide a deeper issue. If the problem started after installing a plugin, disable that plugin and test again. On shared hosting, there may also be account-level limits that cannot be bypassed from WordPress.
Too many redirects
Redirect loops usually happen when WordPress URL settings, SSL settings, CDN settings, and .htaccess rules disagree. For example, WordPress may force HTTPS while another layer redirects back to HTTP.
Check the WordPress Address and Site Address values. Confirm the SSL certificate is valid. Then review .htaccess and any security or SSL plugin that manages redirects.
A practical troubleshooting order
The safest support workflow is to move from observation to small reversible changes. Check logs, identify the error type, create a backup, disable the likely cause, test, and document what changed.
Avoid random changes. A calm sequence helps fix the issue faster and makes it easier to roll back if a step does not help.
Quick troubleshooting checklist
- Create a backup before troubleshooting.
- Check hosting error logs.
- Disable recently updated plugins first.
- Rename .htaccess and regenerate permalinks if needed.
- Verify database credentials in wp-config.php.
- Confirm PHP version compatibility.
- Check SSL and redirect settings.
- Document every change before testing the next step.
FAQ
What is the safest first step when WordPress is broken?
Create a backup and check the error log. The log usually points to the plugin, theme, PHP setting, or file causing the issue, which is safer than guessing.
How do I disable a WordPress plugin without dashboard access?
Use the hosting file manager or SSH, open wp-content/plugins, and rename the plugin folder. WordPress will treat that plugin as disabled.
Why does WordPress show a database connection error?
WordPress cannot connect to the database. Check the database name, username, password, host, and user privileges in wp-config.php and your hosting control panel.
Related articles
- Developer SecurityAI Agent Sandboxing: A Practical Safety Checklist for Developer LaptopsProtect repositories, credentials, network access, and local tools when running AI coding agents on developer machines.
- Developer ToolsApple Container vs Docker Desktop, Colima, and OrbStack for Mac DevelopersCompare Apple container with Docker Desktop, Colima, and OrbStack for Mac Apple Silicon development workflows.
- DNS ManagementDNS Propagation Explained for Non-Technical UsersA simple explanation of DNS propagation, why website or email changes take time, and what domain owners can check after updating DNS records.
- Container SecurityDocker Hardened Images and VEX: How to Reduce CVE Noise in Container ScansA practical explanation of Docker Hardened Images, VEX, and how hosting teams can prioritize real container security risk.
- Linux Server AdministrationDocker Hardening Checklist for Small VPS Hosting EnvironmentsA practical Docker hardening checklist for VPS owners and hosting support teams who run containers on production-like servers.
- SSL ManagementFree SSL Certificate Alternatives for Hosting Users: What to Check Before SwitchingCompare free SSL certificate options and learn what hosting users should verify before switching from their current SSL provider.