Fix WordPress errors

Fix WordPress errors

Critical error, white screen, 403 Forbidden, or nothing works after an update? Most WordPress errors are fixed in minutes once you know where to look. Here are the most common cases with cause and solution.

In short

Most WordPress errors such as the White Screen of Death, a critical error (500) or "Error establishing a database connection" trace back to plugin/theme conflicts, PHP or database problems. First steps: enable WP_DEBUG and read the debug.log, deactivate all plugins, restore a backup. Forge12 handles the fix as part of WordPress maintenance and emergency support at a fixed price.

0%
of critical errors come from plugin or theme conflicts
0
most common WordPress errors solved step by step in this guide
0 h
response time if you want us to fix the error for you

First diagnosis – the same in almost every case

Before going into detail: these steps narrow down almost any WordPress error and already fix most of them.

Take a backup first (files + database) – before you change anything.
Enable WP_DEBUG in wp-config.php and read the debug.log – the message often points straight to the offending file.
Deactivate all plugins (rename /wp-content/plugins via FTP if there's no backend), then re-enable them one by one.
Briefly switch to a default theme (Twenty Twenty-…) to rule out a theme issue.
Clear all caches – caching plugin, server, CDN and browser.
Check the PHP version and the server error logs at your host.

The most common WordPress errors

01There has been a critical error on this website

Symptom: A blank page with exactly this message; usually WordPress also sends an email with a recovery link.

Cause: A PHP fatal error – almost always a plugin/theme conflict, an incompatible update or too little memory.

Fix:

  1. Open the recovery-mode email from WordPress – the link leads to a protected backend.
  2. Deactivate the last activated or updated plugin (rename the plugin folder via FTP if no backend is reachable).
  3. Increase the PHP memory limit (WP_MEMORY_LIMIT in wp-config.php).
  4. Enable WP_DEBUG and read the exact file/line from debug.log.
02White Screen of Death (blank page)

Symptom: A completely blank white page – with no error message at all.

Cause: A PHP error or a reached memory limit while error display is switched off.

Fix:

  1. Turn on WP_DEBUG in wp-config.php so the message becomes visible.
  2. Deactivate all plugins (rename /wp-content/plugins via FTP).
  3. Switch to a default theme.
  4. Increase the memory limit and clear the server/object cache.
03403 Forbidden

Symptom: "403 Forbidden – You don't have permission to access…" instead of your page.

Cause: Wrong file permissions, a broken or blocking .htaccess, a security plugin or firewall (mod_security) – or an accidental IP block.

Fix:

  1. Check file permissions: folders 755, files 644.
  2. Back up and regenerate .htaccess (just save under Settings → Permalinks in WordPress).
  3. Temporarily deactivate the security plugin or firewall.
  4. Ask your host to check mod_security/WAF rules and make sure your own IP isn't blocked.
04WordPress stopped working after an update

Symptom: Broken layout, missing features or errors right after a core, plugin or theme update.

Cause: An incompatibility between the update and another plugin, the theme or the PHP version.

Fix:

  1. Clear all caches (server, plugin, CDN, browser).
  2. Roll the offending plugin/theme back to the previous version.
  3. Check and align the PHP version.
  4. For future updates: use a staging environment and take a backup first.
05Error establishing a database connection

Symptom: "Error establishing a database connection" instead of the website.

Cause: Wrong database credentials, an overloaded or down DB server, or corrupted tables.

Fix:

  1. Check the DB credentials in wp-config.php (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST).
  2. Check with your host whether the database server is running and not at its connection limit.
  3. Repair the database (define('WP_ALLOW_REPAIR', true) and open /wp-admin/maint/repair.php).

Seeing strange redirects or spam too?

If the error comes with unknown redirects, foreign spam pages or a Google warning, it's not a normal error – it's a hack.

Go to WordPress emergency help →Secure WordPress

Rather have it handled?

No time or desire to dig through code yourself? We find and fix WordPress errors at a fixed price – and with ongoing maintenance we make sure they don't happen in the first place.

See WordPress maintenanceGet in touch
Glossary

Error terms — in brief

The terms that keep coming up with WordPress errors — explained in one sentence.

Error 500 (Internal Server Error)

A catch-all server error: something aborts without details. Common causes: a broken .htaccess, PHP errors, exhausted memory.

WP_DEBUG (debug mode)

A switch in wp-config.php that makes hidden errors visible with file and line — the single most important tool for finding the cause.

.htaccess

Server config file in the WordPress root. Controls permalinks, redirects and access protection — one typo can take the whole site down.

PHP memory limit

Maximum memory per page load. If it's too low you get »Allowed memory size exhausted« or a white screen.

Staging environment

A private copy of the site for safely testing updates and changes before they go live.

Error log

The server/WordPress record of all error messages. The first place to look when an error is unclear.

FAQ

Frequently asked questions about WordPress errors

01"There has been a critical error on this website" – what should I do?

It's a PHP fatal error, usually from a plugin or theme update. Use the WordPress recovery-mode email, deactivate the last changed plugin (via FTP if needed), raise the PHP memory limit, and read the exact cause from debug.log with WP_DEBUG enabled.

02How do I fix the White Screen of Death (blank page)?

Enable WP_DEBUG in wp-config.php to reveal the hidden error message. Then deactivate all plugins via FTP, switch to a default theme and raise the memory limit. In most cases a single plugin or the theme is the cause.

03How do I fix a 403 Forbidden error in WordPress?

Check file permissions (folders 755, files 644), regenerate .htaccess via Settings → Permalinks, temporarily deactivate security plugins, and have your host check mod_security/firewall rules. Often an overly strict security rule blocks access.

04WordPress stopped working after an update – now what?

Clear all caches first. If the error persists, roll the offending plugin or theme back to the previous version and check the PHP version. For future updates a staging environment plus backup ensures a faulty update never hits the live site.

05When should I get a professional involved?

When the error message is unclear, several causes combine, it's a store with revenue on the line, or you're not comfortable editing code/database. We fix WordPress errors at a fixed price and prevent them with ongoing maintenance.

06How do I enable WordPress debug mode (WP_DEBUG)?

In wp-config.php set define('WP_DEBUG', true); plus define('WP_DEBUG_LOG', true); — WordPress then writes all errors with file and line to wp-content/debug.log. That reveals the exact cause. On live sites suppress the display (WP_DEBUG_DISPLAY false) and turn debug mode off again afterwards.

07I'm locked out of the WordPress backend — how do I get back in?

Via FTP or the host's file manager: rename the plugins folder (deactivates all plugins at once), reset the active theme to a default theme, or set a new password directly in the database (phpMyAdmin). Usually a plugin or theme conflict is blocking the login.

08How do I deactivate all plugins without backend access?

Via FTP, rename wp-content/plugins to e.g. plugins_off — WordPress then deactivates all plugins. Once you're back in, rename it back and reactivate one by one until the error returns: that's the culprit. The fastest way to isolate a plugin conflict.

09Is this an error or a hack — how do I tell?

An error is usually a technical problem: after an update, a plugin conflict, too little memory. A hack shows up through foreign content, unknown redirects, spam pages or a Google warning. If anything points to an attack, it's not about repairing but cleaning — then our WordPress emergency help is the right call.

10How do I increase the PHP memory limit in WordPress?

In wp-config.php with define('WP_MEMORY_LIMIT', '256M'); — alternatively in php.ini or .htaccess. This fixes the »Allowed memory size exhausted« message. On shared hosting a hard server limit often applies; then the host has to raise it.

11Should I fix errors on the live site or in a staging environment?

Always test bigger changes (code, database, risky updates) on a staging copy and only then push live. For quick fixes, maintenance mode plus a current, tested backup is enough — so a failed attempt never damages the live site.

Offer

WordPress errors fixed fast.

A bug, a glitch, a white screen or an error message? We analyze, fix and document it — at a predictable entry price.

Fix an error
from €190up to 2 h
Included
  • Analysis & diagnosis
  • Fixing bugs / issues
  • Short documentation of the cause
Not included
  • Larger development / new features
  • Restore without an available backup
  • External costs (hosting, licenses)

Beyond the first 2 hours we bill €130/hr (maintenance clients €102/hr) — only after prior approval, never a surprise invoice.

Get an error fixedAll prices net, plus VAT.
WORDPRESS SUPPORT

WordPress errors gone fast.