WordPress 500 Error After Updating a Plugin

WordPress 500 Error After Updating a Plugin error guide banner

DIRECT ANSWER

If a WordPress 500 error began immediately after a plugin update, disable the updated plugin by renaming its folder in `wp-content/plugins/` through SFTP or your hosting file manager. If the site recovers, inspect the PHP and WordPress logs, then roll back the plugin or resolve the reported compatibility issue. Test both the public site and `/wp-admin/` before re-enabling it.

Key takeaways

  • A 500 error that starts immediately after one plugin update strongly implicates that plugin, its files or a compatibility issue.
  • Renaming the plugin folder is a practical way to disable it when /wp-admin/ is unavailable.
  • The PHP fatal error in wp-content/debug.log or the hosting error log can distinguish a PHP requirement, conflict, incomplete update or plugin regression.
  • Rolling back to the last known-good version is a recovery step, not necessarily a permanent fix.
  • Check the public site, /wp-admin/ and the plugin’s affected features after each change.
Updated 2026-09-24 · Editorial review pending WordPress Errors
SA

Site Administrator

What this error means & how to recognize it

  • The site worked before a plugin was updated, then the front end, WordPress dashboard or both began returning HTTP 500 errors.
  • The failure may follow a manual or automatic plugin update.
  • The public site may load while /wp-admin/ fails, or only pages and requests using the updated plugin may fail.
  • The browser may show a generic “500 Internal Server Error,” a blank page or a WordPress critical-error message instead of the underlying cause.
  • Renaming the recently updated plugin directory may make the site load again.
  • The server or WordPress debug log may contain a PHP fatal error, parse error, missing-file error or message naming the updated plugin.

Root causes, ordered by likelihood

  1. PHP incompatibility: The new plugin version may require a PHP feature or version that the server does not provide.
  2. Plugin, theme or WordPress conflict: The update may interact badly with another extension, the active theme or the installed WordPress core version. Duplicate function or class declarations are common clues.
  3. Incomplete or corrupted update: A timeout, interrupted connection or failed file transfer may leave missing or damaged plugin files.
  4. Plugin regression: The new release may contain a defect that affects this site’s configuration even when the stated PHP and WordPress requirements are met.
  5. A separate or broader hosting problem: If disabling the updated plugin changes nothing, the 500 response may be related to another recent change, PHP configuration, permissions, resource limits or a server-level failure.

How to fix it

1Did the 500 error begin immediately after a pluginupdate?2Does renaming the updated plugin folder restore thesite?3Does the log mention a PHP or WordPress requirement?4Does it identify two plugins or a theme with a duplicatefunction/class error?
Diagnostic flow at a glance — full detail in the steps below.

1. Confirm the timing and scope

Identify the plugin updated immediately before the error appeared. If several plugins were updated together, record all of them. Check the public site, /wp-admin/ and any plugin-specific feature that is failing. Avoid unrelated updates until the suspected cause has been tested.

2. Disable the updated plugin without using the dashboard

Before changing files, make sure you have authorized access to the site through SFTP or the hosting file manager and, where possible, a current backup. Open wp-content/plugins/ and rename the suspected plugin directory by adding a suffix such as -disabled.

Reload the front end and /wp-admin/:

  • If the site recovers, keep the plugin disabled while you inspect the logs and choose a rollback or compatibility fix.
  • If nothing changes, restore the original directory name and test the next plugin updated at the same time.
  • If the error remains after all recently updated plugins are disabled, inspect the server and PHP logs and review other recent hosting or configuration changes.

Renaming a directory changes which plugins WordPress loads, so do not use it as a substitute for identifying and correcting the underlying problem.

3. Capture the underlying PHP error

A 500 response is only the outward symptom. If you have authorization to edit wp-config.php, temporarily enable logging above the line indicating that editing has stopped:

php
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

With the suspected plugin still disabled, preserve the current log if needed. Re-enable the plugin only when you are ready to reproduce the failure, then reproduce it once and review wp-content/debug.log and the hosting panel’s PHP or server error log. Look for the plugin name, a PHP-version message, a missing file, a parse error, Cannot redeclare function or Cannot declare class.

Debug logging can record sensitive implementation details and should be temporary. Disable the settings after testing, particularly on a public production site, and remove or secure any exposed log data according to your hosting procedures.

4. Match the log message to the likely cause

  • An unsupported PHP feature or required PHP version points to PHP compatibility.
  • A message naming two extensions or a theme with Cannot redeclare function or Cannot declare class points to a compatibility conflict.
  • A missing file, parse error or error within the recently updated plugin directory suggests an incomplete or corrupted update.
  • An error naming WordPress core or another extension may indicate that the update exposed a broader compatibility issue.
  • If the log names neither the plugin nor a related component, check hosting-level errors before assuming the update is responsible.

5. Roll back to the last known-good plugin version

If the site must be restored quickly, preserve a copy of the current plugin files and use a verified backup or an older package from the plugin’s established distribution source. Upload or restore it through SFTP or the hosting file manager, then test the site before re-enabling the plugin.

Do not overwrite the only copy of a working backup. Keep automatic updates disabled or under review for this plugin until the cause is understood and a compatible release is available.

6. Check PHP and WordPress requirements

Compare the updated plugin release’s stated minimum PHP and WordPress versions with the site’s actual versions. When the dashboard is available, PHP information is commonly shown under Tools → Site Health → Info; the hosting control panel may also show the active PHP version.

If PHP or WordPress is below the plugin’s requirement, create a backup and confirm compatibility with the theme, other plugins and hosting environment before upgrading. If the host controls PHP, ask the host about the supported upgrade path. Do not change the production PHP version blindly because it can affect the rest of the site.

7. Escalate a confirmed conflict or regression

Keep the incompatible update disabled or restore the last known-good version while reporting the exact fatal error, plugin versions, PHP version, WordPress version and reproduction steps to the relevant plugin or theme developers. Avoid permanently editing plugin files: a future update can overwrite those changes and leave the site unsupported.

Prevention & how to verify the fix

  • Create and verify a backup of both the database and site files before updating plugins.
  • Update plugins individually when practical so a failure can be linked to a specific change.
  • Test significant plugin, WordPress and PHP changes on a staging copy before applying them to production.
  • Keep PHP and WordPress within the supported ranges stated by the plugins and theme.
  • After each update, test the public site, /wp-admin/, login, forms and the features provided by the updated plugin.
  • Review automatic updates for business-critical plugins or plugins with a history of compatibility problems.
  • Keep a documented last-known-good plugin version and a recovery method available.
  • Disable temporary debug display and logging settings after troubleshooting, and protect or remove logs that contain internal error details.

When to get outside help

Contact the hosting provider when the logs point to PHP configuration, file permissions, resource limits or a server-level failure, or when you cannot access the site files. Contact the plugin developer when the site meets the plugin’s stated requirements, the failure is reproducible with the plugin enabled and the log indicates a regression or conflict. Provide the exact fatal error, affected file paths, plugin and version details, PHP version, WordPress version and reproduction steps. If the site remains unavailable after disabling the suspected plugin, use a verified backup or ask a WordPress professional to recover it before making further production changes.

Run a website check

Frequently asked questions

Can I fix a WordPress 500 error after a plugin update without logging in to wp-admin?

Yes. Use SFTP or your hosting file manager to rename the suspected plugin directory under wp-content/plugins/. WordPress will stop loading that plugin, which can restore access if it caused the failure.

How can I tell whether the plugin update caused the 500 error?

Disable the recently updated plugin and reload both the front end and /wp-admin/. Recovery is strong evidence that the plugin or its update is involved, but the PHP or server log is needed to identify the precise cause.

Should I update PHP when a plugin update causes a 500 error?

Only after checking the plugin’s stated PHP requirement, creating a backup and confirming that the theme and other plugins support the newer PHP version. If the host manages PHP, ask about the supported upgrade path rather than changing it blindly.

What does Cannot redeclare function mean after a plugin update?

It usually means that two loaded components define the same function or class, or that the updated plugin introduced a compatibility problem. The fatal error should identify relevant files; keep the update disabled and share those details with the developers.

Is rolling back the plugin a permanent fix?

Usually not. A rollback restores the last known-good code while you investigate PHP, WordPress, theme or plugin compatibility and wait for a compatible release if necessary.

What if renaming the updated plugin folder does not fix the error?

Restore the folder name and test other plugins updated at the same time. Then review the hosting PHP/server log for permissions, resource limits, incomplete files or a separate recent configuration change.

Further documentation

For authoritative follow-up, consult the WordPress documentation for debugging and recovery procedures, the plugin developer’s release notes and stated PHP/WordPress requirements, and your hosting provider’s documentation for PHP version changes and server error logs. Use the documentation that matches the installed plugin release and hosting environment; requirements and recovery interfaces can vary by version.