Your site was working fine an hour ago. Now visitors are staring at a blank screen, a cryptic error message, or a broken dashboard. Sound familiar? You’re not alone. WordPress errors occur when something breaks the connection between your files, database, or server — and the most common triggers are plugin and theme conflicts or server resource limits like low PHP memory.
The good news: most WordPress errors follow predictable patterns, making them surprisingly straightforward to diagnose and fix once you know what to look for. This guide walks through the errors site owners hit most often and gives you the exact steps to resolve each one — no developer on speed dial required.
Before you touch anything: take a full backup of your site. Most hosting control panels offer one-click backups, and many WordPress hosting plans include automated daily backups. A backup means you can always roll back if a fix attempt goes sideways.
1. White Screen of Death (WSOD)
Both PHP errors and database errors can manifest as a white screen — a blank screen with no information — commonly known in the WordPress community as the WordPress White Screen of Death (WSOD). It’s one of the most alarming errors because it gives you nothing to go on.
Common causes
- Plugin or theme conflicts are a common cause of the White Screen of Death. Other issues can also trigger it, including exhausting your PHP memory limit, failed or interrupted plugin or theme updates, and corrupted WordPress core files.
How to fix it
- Enable debug mode. Add
define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);to yourwp-config.phpfile just above “Happy blogging.” This turns on safe debug logging without showing errors to visitors. - Deactivate all plugins via FTP. Go to your site’s root directory at
/public_html/and open/wp-content/. Find the/plugins/folder and rename it — for example,/plugins-deactivated/. All plugins will deactivate immediately. If the error clears, log back into your dashboard and activate each plugin one by one until you identify the culprit. - Switch to a default theme. Temporarily activate a default theme. If the site stabilizes, your previous theme is the likely cause.
- Increase PHP memory. Open
wp-config.phpand add:define('WP_MEMORY_LIMIT', '256M');Save the file and reload your site.
2. Error Establishing a Database Connection
This error means your website is no longer communicating with or has access to your WordPress database — your entire website goes down. You should resolve it immediately, as it can directly affect your sales, traffic, and analytics.
This error typically takes down your entire site. Both the front end (what visitors see) and the back end (your WordPress admin dashboard at /wp-admin) become inaccessible.
Common causes
- The most common causes for this issue are incorrect login credentials and database corruption.
- Your database server itself might be having issues. If it’s overloaded or temporarily down, WordPress can’t connect to it.
- PHP version mismatches can also cause this error. If your hosting provider updates PHP but your WordPress version isn’t compatible, it can lead to connection problems.
How to fix it
- Check your credentials in
wp-config.php. Your WordPress database credentials are stored in thewp-config.phpfile — the WordPress configuration file that contains important settings, including database information. Verify thatDB_NAME,DB_USER,DB_PASSWORD, andDB_HOSTare all correct. When in doubt, cross-reference them against your hosting control panel. - Run WordPress’s built-in repair tool. If your database is corrupt, ideally you’ll want to restore a backup to replace the corrupt version. If that’s not possible, you can also fix this error by adding the
define('WP_ALLOW_REPAIR', true)function to yourwp-config.phpfile. Then visityourdomain.com/wp-admin/maint/repair.php. Remove that line once the repair is complete. - Contact your host. Your database may have met its quota and been shut down, or the server may be down. Contact your hosting provider to see if either of these issues is causing your problem.
3. 500 Internal Server Error
A 500 Internal Server Error doesn’t tell you what went wrong. It just means that the server tried to load your page and failed. No clues, no line numbers — just a generic error screen.
Common causes
This error is most often triggered by a corrupted .htaccess file (especially after permalink or plugin updates), an incompatible PHP version, a plugin or theme conflict, or exhausted PHP memory or execution limits.
How to fix it
- Regenerate your
.htaccessfile. Find the.htaccessfile in the root folder (same place aswp-config.php). Rename it to something like.htaccess-old. Then go to your WordPress dashboard → Settings → Permalinks → and click “Save Changes.” This creates a fresh.htaccessfile. - Deactivate plugins. Follow the same plugin-deactivation process described for the WSOD above.
- Increase PHP memory limit. Add
define('WP_MEMORY_LIMIT', '256M');towp-config.php. If you are unsure of how to make these changes, or if you are on shared hosting that prevents you from doing so yourself, contact your hosting provider and ask them to increase your maximum execution time.
4. 404 Page Not Found
The 404 Page Not Found error is one of the most common WordPress errors. It occurs when a user tries to visit a page on your website that either does not exist or has been moved — and if left unaddressed, it can negatively impact your site’s SEO.
Common causes
The most common cause is deleting or moving content without setting up a redirect for that URL. It can also occur due to changes in your site’s URL structure or simple typos in the URL. Sometimes, it’s caused by a corrupted .htaccess file, incorrect file permissions, a misconfigured server, or plugin conflicts.
How to fix it
- Refresh permalink settings. Log in to your WordPress Administration Screens, navigate to Settings > Permalinks. Select the default permalinks. Save. Then reselect your preferred permalinks. This will flush the rewrite rules and should solve your problem.
- Set up redirects. For deleted or moved pages, install a redirect plugin (Redirection is a popular free option) and create 301 redirects from the old URLs to the new ones.
- Check your
.htaccessfile for missing or corrupted mod_rewrite rules, particularly if you’re on an Apache server.
5. Parse Error / Syntax Error
A syntax error means that you have made a mistake while creating your PHP structure. This most often happens after pasting custom code into functions.php or a plugin file.
Common causes
When this error appears it will tell you which file the error appears in (for example, functions.php) and approximately which line. If you are receiving an error which says “parse error: unexpected” this usually means that you have forgotten to include a character. Common culprits: a missing semicolon, a missing curly bracket, or curly quotation marks copied from a word processor.
How to fix it
- Note the file and line number in the error message, then access that file via FTP or your hosting file manager and correct the offending code.
- Disable recently added plugins or themes via FTP by navigating to
/public_html/wp-content/plugins/or/public_html/wp-content/themes/and renaming them to see if the error resolves. - Use a code snippet plugin going forward. To avoid syntax errors in the future, use a plugin like WPCode, which validates your code before saving it and prevents errors from breaking your site.
6. WordPress Stuck in Maintenance Mode
After updating a plugin or WordPress itself, your site may show a message saying it’s “Briefly unavailable for scheduled maintenance.” Sometimes, the update process gets interrupted and WordPress gets stuck in maintenance mode.
How to fix it
This one is genuinely simple. Log into your hosting file manager and look for a file named .maintenance. Delete that file. Reload your site — it should now be back to normal.
7. WordPress Not Sending Emails
WordPress not sending emails is a common problem faced by many users who rely on WordPress to send automated, action-triggered messages to site visitors. Emails may never arrive or end up in the recipient’s spam folder. The main reason for this issue is that the email setup is incorrect.
How to fix it
- Confirm with your hosting provider that the PHP
mail()function is enabled on your server. - Switch to SMTP. SMTP allows you to use a dedicated email server, which is more reliable than the built-in
mail()function. Plugins like WP Mail SMTP make this straightforward — connect your site to Gmail, SendGrid, Mailgun, or a similar service.
8. Too Many Redirects (ERR_TOO_MANY_REDIRECTS)
The WordPress admin login redirect loop — where you try logging in but get redirected endlessly — is usually caused by wrong site URLs, cookies, or caching issues.
How to fix it
- Clear your browser cookies and cache, then try again in an incognito window.
- Remove conflicting redirects, ensure WordPress and Site Address URLs match, and clear caches. Temporarily disable your CDN or WAF. Check that HTTPS enforcement isn’t looping — for example, both a plugin and server rules forcing redirects simultaneously.
- Verify your WordPress Address and Site Address in Settings > General are identical and use the correct protocol (http vs https).
Prevention: The Golden Rules
Most WordPress errors are avoidable. Build these habits and you’ll spend far less time troubleshooting:
- Keep everything updated. Keeping WordPress, themes, and plugins updated and backing up your site regularly can help prevent many issues from occurring.
- Back up before every update. Having a backup means you can always roll back to a working version of your site if your attempt at a fix creates new issues.
- Use quality plugins and themes. Install only well-maintained plugins and themes from reputable sources. Many error codes have to do with themes and plugins being outdated and not being handled appropriately.
- Secure your site. Using strong passwords, two-factor authentication, and a firewall can reduce the risk of future errors and attacks.
- Scale your hosting as you grow. If your traffic is increasing, consider moving from shared hosting to VPS or dedicated hosting for better stability.
- Use a staging environment. Test plugin and theme updates on a staging site before pushing them live. Many managed hosting plans include staging as a standard feature.
When to Call in Backup
Most of the errors above are genuinely solvable without a developer. But some situations — a hacked site, a corrupted database with no backup, a complex server misconfiguration — warrant professional help. Leaving an error lingering on your site for too long can cost you valuable business, ruin the experience for your site visitors, and even harm your SEO. If you’ve worked through the steps above and your site is still down, that’s the point to escalate.
Our managed WordPress hosting plans include proactive monitoring, daily backups, and staging environments that catch most of these problems before they hit your live site. If you’re already in the weeds with a broken WordPress installation and need a second set of eyes, contact us — we’ll diagnose the issue and get your site back online fast.