Many errors in unrelated plugins with Jetpack Protect 3.0.0

It seems like I am stuck on Jetpack Protect version 3.0.0 and it has broken all plugin updates on my site.

I think I manually upgraded Jetpack Protect to version 3.0.0 on September 3rd. So this was before 3.0.1 and 3.0.2 were released. The plugin seemed fine after upgrading to 3.0.0.

I don’t have automatic upgrades enabled.

Now, when I’m trying to update the plugins on my site, I’m getting tons of errors – not just Jetpack Protect, but for seemingly every plugin. I try to update a plugin, I get an error, and then the plugin just disappears from my plugin list.

Fortunately I have backups with Updraft, and that is letting me revert to before these errors.

But I can’t seem to remove Jetpack Protect to fix this issue. If I rename the plugin folder, then delete the plugin, I still get errors when updating other plugins.

This seems to be the error I get when updating the plugin to 3.0.2:
[10-Oct-2024 11:34:46 UTC] Caught error while attempting to refresh plugin update status: Failed opening required ‘/var/www/html/example-com/wp-content/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php’ (include_path=’.:/usr/share/pear:/usr/share/php’)

I was able to update to 3.0.2 after another revert, but the plugin seems to instantly deactivate itself. I then get these upgrade errors on unrelated plugins:
Update failed: The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file ‘/tmp/all-in-one-wp-security-and-firewall.5.3.3.zip’

This is the error after trying to update an unrelated plugin:
[10-Oct-2024 11:56:33 UTC] PHP Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, bool given in /var/www/html/example-com/wp-admin/includes/class-wp-upgrader.php:560
Stack trace: 0 /var/www/html/example-com/wp-admin/includes/class-wp-upgrader.php(560): array_keys(false) 1 /var/www/html/example-com/wp-admin/includes/class-wp-upgrader.php(887): WP_Upgrader->install_package(Array) 2 /var/www/html/example-com/wp-admin/includes/class-plugin-upgrader.php(237): WP_Upgrader->run(Array) 3 /var/www/html/example-com/wp-admin/update.php(74): Plugin_Upgrader->upgrade(‘all-in-one-wp-s…’) 4 {main}

thrown in /var/www/html/example-com/wp-admin/includes/class-wp-upgrader.php on line 560

I’ve never seen something like this. How can I fix this?

  • This topic was modified 2 hours, 46 minutes ago by da5f656f.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer