Title: PHP Fatal error during plugins updates
Last modified: December 10, 2025

---

# PHP Fatal error during plugins updates

 *  Resolved [juventino-40](https://wordpress.org/support/users/juventino-40/)
 * (@juventino-40)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/php-fatal-error-during-plugins-updates/)
 * Hello everyone!
 * When I update **any** plugin or theme I get an error in the site logs:
 * [10-Dec-2025 18:37:25 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array():
   Argument #1 ($callback) must be a valid callback, array callback must have exactly
   two members in /var/www/user/data/www/site.com/wp-includes/class-wp-hook.php:
   324
   Stack trace:0 /var/www/user/data/www/site.com/wp-includes/class-wp-hook.php(
   348): WP_Hook->apply_filters(NULL, Array)1 /var/www/user/data/www/site.com/wp-
   includes/plugin.php(517): WP_Hook->do_action(Array)2 /var/www/user/data/www/site.
   com/wp-admin/includes/class-plugin-upgrader.php(412): do_action(‘upgrader_proces…’,
   Object(Plugin_Upgrader), Array)3 /var/www/user/data/www/site.com/wp-admin/includes/
   ajax-actions.php(4650): Plugin_Upgrader->bulk_upgrade(Array)4 /var/www/user/data/
   www/site.com/wp-includes/class-wp-hook.php(324): wp_ajax_update_plugin(”)5 /var/
   www/user/data/www/site.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”,
   Array)6 /var/www/user/data/www/site.com/wp-includes/plugin.php(517): WP_Hook-
   >do_action(Array)7 /var/www/user/data/www/site.com/wp-admin/admin-ajax.php(192):
   do_action(‘wp_ajax_update-…’)8 {main} thrown in /var/www/user/data/www/site.com/
   wp-includes/class-wp-hook.php on line 324
 * So I don’t see any information about theme or plugin that created the problem.
   I tried to switch theme to default / deactivate plugins – no luck.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/php-fatal-error-during-plugins-updates/#post-18751165)
 * In fact, one of the plugins you are using will be responsible for this. If you
   have any pending updates, deactivate all plugins and then install the update.
   If you have any Must Use Plugins, remove these as well (via FTP). I suspect the
   update will then run.
 * To find out which plugin is responsible, you could first check whether you have
   one that mentions plugin management in its description. If you don’t have one,
   you can also activate them one by one until you find the culprit. And yes, that
   can be a bit annoying 😐
 *  [Shariar Mahmud Prince](https://wordpress.org/support/users/wpexpertprince/)
 * (@wpexpertprince)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/php-fatal-error-during-plugins-updates/#post-18751227)
 * **1. Check for Plugin Conflicts**
    - Go to your `wp-content` folder.
    - Rename the **plugins** folder (example: `plugins-old`).
    - This will temporarily deactivate all plugins.
    - If the issue is fixed, then the problem is coming from a plugin.
    - Now rename the folder back to **plugins**, then activate plugins **one by 
      one**.
    - When the issue appears again, you’ve found the problematic plugin. You can
      safely remove or replace it.
 * **2. Check for Theme Conflicts**
    - If the problem still exists after disabling all plugins, go to the **themes**
      folder.
    - Rename your active theme’s folder.
    - WordPress will automatically switch to a default theme (like Twenty Twenty-
      Five).
    - If the issue disappears, then the problem is in your theme.
 * This process should help you trace the exact cause — whether it’s a plugin or
   theme conflict — and resolve the issue.
 *  Thread Starter [juventino-40](https://wordpress.org/support/users/juventino-40/)
 * (@juventino-40)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/php-fatal-error-during-plugins-updates/#post-18751302)
 * Thank you guys! I found the problematic plugin and after removing it everything
   started working correctly.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-fatal-error-during-plugins-updates%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

## Tags

 * [PHP Fatal error](https://wordpress.org/support/topic-tag/php-fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [juventino-40](https://wordpress.org/support/users/juventino-40/)
 * Last activity: [5 months, 4 weeks ago](https://wordpress.org/support/topic/php-fatal-error-during-plugins-updates/#post-18751302)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
