ERROR CATEGORY

WordPress Errors

Troubleshooting guidance for WordPress failures, including plugin-related 500 errors, the White Screen of Death, database connection problems, and exhausted PHP memory.

6 published guidesPractical diagnosisVerification steps
WordPress Errors category banner

About this error category

# WordPress Errors

WordPress failures can appear as a blank page, a 500 Internal Server Error, an explicit database message, or a PHP memory exhaustion notice. These symptoms do not all indicate the same problem. Start by recording exactly what visitors see, what the WordPress dashboard reports, and what changed before the failure.

Use the guides in this category to match the visible symptom to the most likely part of the WordPress stack. A failure immediately after a plugin update calls for a different first check than a database connection message or an Allowed memory size ... exhausted error. Avoid changing several components at once: controlled tests make it easier to identify the cause and avoid reintroducing it.

Common WordPress error patterns

500 error after a plugin update

A 500 Internal Server Error that begins immediately after a plugin update makes that plugin the leading suspect. The update may expose a PHP compatibility problem or a conflict with the active theme, another plugin, or the hosting environment.

The most useful confirmation is to deactivate or roll back the updated plugin using an available recovery method, then test the affected request. If the site recovers, review the PHP error details and test the plugin version with the surrounding theme and plugin combination. Do not assume that every 500 response is caused by the host.

See [WordPress 500 Error After Updating a Plugin](/wordpress-500-error-after-plugin-update) for a focused diagnosis.

WordPress White Screen of Death

The White Screen of Death is a completely blank response with no useful error displayed. It often occurs when a PHP fatal error is hidden from visitors. The blank page alone cannot identify whether the problem is a plugin, theme, PHP operation, memory limit, or damaged WordPress file.

The next step is to locate the underlying error through WordPress debugging or the hosting environment, with error display kept away from public visitors where possible. Once the message identifies a component or operation, disable, restore, or correct that specific cause and retest. A blank page should not automatically be treated as a database failure.

See [WordPress White Screen of Death](/wordpress-white-screen-of-death) for the diagnostic sequence.

Error establishing a database connection

The message Error Establishing a Database Connection means WordPress could not connect to its MySQL or MariaDB database. Check the database name, username, password, and host values in wp-config.php, while recording the original values before making any change.

If the settings appear correct, determine whether the database service is reachable from the hosting environment and whether the database user still has the required access. Corrupted tables are another possibility, but database repair should come after connection and configuration checks. Protect an available backup before making repair changes.

See [WordPress: Error Establishing a Database Connection](/wordpress-error-establishing-a-database-connection) for a step-by-step breakdown.

WordPress memory exhausted errors

An error such as Allowed memory size of X bytes exhausted means a PHP process used more memory than the configured memory_limit allows. Increasing the available limit may let the request finish, but it does not explain why memory use increased.

Check whether the error began during a plugin or theme change, import, backup, media task, or other resource-intensive operation. Review the memory setting available to the site and use the error details to identify the request or component involved. If the same operation repeatedly exhausts memory, investigate the expensive operation instead of raising the limit indefinitely.

See [WordPress Memory Exhausted Error](/wordpress-memory-exhausted-error) for immediate remediation and longer-term diagnosis.

A practical WordPress error diagnosis process

  1. Record the exact symptom. Note the message, HTTP status, affected URL or task, whether the page is blank, and whether the dashboard remains available.
  2. Establish the timing. Look for a recent plugin or theme update, WordPress or PHP change, configuration edit, migration, import, backup, or hosting event.
  3. Separate PHP, application, and database symptoms. A fatal PHP message, blank page, and 500 response suggest a different starting point from a direct database connection error.
  4. Check logs or debugging output. The component name, PHP file, operation, and full error message are more useful than a generic browser failure.
  5. Test one likely cause at a time. Deactivate or roll back the component most closely connected to the timing, then repeat the failed request.
  6. Check both public and administrative functions. A working homepage does not prove that login, publishing, forms, imports, or other affected requests are healthy.
  7. Document the successful change. Record what was reverted or adjusted before attempting another update or configuration change.

What to avoid

Start with the guide whose symptom most closely matches what visitors or administrators see. The objective is not only to restore the page, but to distinguish a bad update, hidden PHP fatal error, database access problem, and resource limit so the underlying failure can be addressed safely.

GUIDE LIBRARY

Error guides in this category

Start with the error you can see, then follow the diagnosis through to verification.

NEXT STEP

Not sure which error you have?

Run a public-host check first. It can tell you whether the site is reachable from our server before you start changing DNS, TLS, proxy, or server settings.

Run website check
SA

Site Administrator

Last reviewed: September 25, 2026

FAQ

Frequently asked questions

What should I check first when a WordPress site goes offline?

Record the exact response before changing anything. Determine whether visitors see a 500 error, a completely blank page, an explicit database connection message, or a memory exhaustion notice. Then identify the most recent relevant change and test that likely cause without changing several systems at once.

Is a WordPress 500 error always caused by the web host?

No. A plugin or theme can trigger a 500 Internal Server Error, particularly when the failure begins immediately after an update. A PHP compatibility issue or conflict is a useful first hypothesis in that situation, but logs and controlled rollback or deactivation testing are needed to confirm it.

What is the difference between a white screen and a database connection error?

A white screen is a blank response often associated with a hidden PHP fatal error. Error Establishing a Database Connection is more specific: WordPress could not connect to its MySQL or MariaDB database. The first symptom calls for PHP and application diagnostics, while the second calls for database settings, reachability, and access checks.

Will increasing WordPress memory permanently fix a memory exhausted error?

Not necessarily. Raising the PHP memory_limit may allow one request to complete, but a plugin, theme operation, import, backup, or other task may still be consuming excessive memory. If the error recurs, identify the operation and component involved instead of repeatedly increasing the limit.

How can I identify the plugin causing a WordPress error?

Use the timing, the exact error details, and a controlled test. If the failure began immediately after one plugin was updated, deactivate or roll back that plugin and repeat the affected request. A log naming the plugin, file, or PHP operation is stronger evidence than disabling all plugins at once.

What should I do when WordPress cannot connect to its database?

Check the database name, username, password, and host values in wp-config.php, preserving the original settings before editing. If they are correct, investigate database service reachability and user access from the hosting environment. Consider repair only after connection checks and after protecting an available backup.