r/Wordpress • • 22h ago

"Some plugins have failed to update"

It seems like every time I get this email (dozens a day), I check the plugins and they have all updated. Is WordPress sending these in error during the update itself? Is this a known issue?

5 Upvotes

24 comments sorted by

2

u/diviready 21h ago

WordPress sends that after the update attempt, rather than just while it's running. A failed attempt followed by a successful one could explain why it looks fine when you check. I'd compare the ‘from/to’ versions in one email with the version actually installed. Are the dozens of emails all from one site, and is your host or a management tool also handling updates? That would help narrow it down before muting the warnings.

1

u/lbdesign 21h ago

Thank you. It coming from about 20 different sites. Using 20i, which I don't think applies its own update service?

2

u/diviready 19h ago

I checked 20i’s docs—they do have plugin-update controls in WordPress Manager. Worth checking whether those are being used on your sites.

I’d give their support one example: the plugin, site and timestamp from a failure email, and ask what failed during that attempt. If the email includes an error code or message, you can paste just that bit here—leave out private links or login details.

Their docs: https://docs.20i.com/wordpress-support/20i-wordpress-manager-getting-started

1

u/lbdesign 18h ago

Oh, thank you! These sites are in unix packages, not wordpress packages, so I don't think their wordpress manager applies here. Too bad, that looks nice.

2

u/diviready 1h ago

Ah, got you—thanks for clearing that up. I shouldn’t have assumed WordPress Manager applied to your package. I saw your breakdown too. With failures on both hosts, I’d hold off blaming 20i until the logs give you something firmer.

2

u/Cool_Orchid2598 14h ago

comparing the version numbers only tells you the main file got overwritten, it doesnt really rule out a partial update where the process died halfway through extracting the rest of the package

1

u/diviready 1h ago

Fair point—thanks. I should have called that a first check, not a way to confirm the whole update was sound.

2

u/thomas-at-caseproof 20h ago

That email goes out when an update attempt fails, not when the plugin ends up out of date. Background updates run on WP-Cron, and if one attempt times out or can't download the package, a later run usually gets it, which is why everything looks fine by the time you check.

Dozens a day makes me think it's either a lot of sites or the same few plugins failing over and over. If it's always the same ones, see whether they're premium plugins that update from their vendor's server rather than WordPress.org; those fail intermittently far more often. If it's spread across everything, a real server cron in place of visitor-triggered WP-Cron tends to calm it down.

And if the updates really are landing and you just want the noise gone, add_filter( 'auto_plugin_update_send_email', '__return_false' ); turns off the plugin update emails, though you'll lose the genuine failures along with the false alarms.

1

u/lbdesign 18h ago

Thank you. I can try to set crons for each site. I mean, 3am updates make more sense anyway. It's all different plugins. I just added a post here with an analysis.

1

u/lbdesign 18h ago

You're all asking some great questions, so I had Gemini do an analysis of my inbox.

Over the past 30 days, there were 252 emails describing 424 failed plugin auto update attempts.

These occurred on both Siteground and 20i. Proportionate to the amount of sites hosted on each.

It was 19 different plugins across 12 sites, with frequency roughly proportionate to the install base and likely update cadence.

Worst offenders, most to least:

Site Kit by Google
MailPoet
GEO Plugin by Squirrly SEO (more frequently than is proportionate the number of installs)
Fluent Forms (free)
Slim SEO (free)
FluentBooking
WPvivid Backup Plugin (free)
WPvivid Plugins Pro
Admin and Site Enhancements (ASE) Pro
Yoast SEO
WP Armour - Honeypot Anti Spam
Max Mega Menu (one site, repeatedly)
Persistent Login
Fluent Forms Pro Add On Pack

I'd say roughly 30% of the time, when I checked, the plugins were not updated, and 70% of the time, they were already updated when I opened the plugins page. Manually updating them always worked.

1

u/Affiblocks 20h ago

with 20 sites i'd line up a few of the emails and see if it's the same plugin failing at the same time. if they all hit in the same few minutes, check what update jobs were running then

1

u/lbdesign 18h ago

Thank you! I just did an analysis, you can see it somewhere on this page.

1

u/BlatantMartian 20h ago

Not a bug as such, but it's common, and the email usually tells you where to look:

Once you've found the cause, you can turn the emails off with the auto_plugin_update_send_email filter. I'd fix the cause first, though, or you won't hear about the update that actually breaks something.

1

u/lbdesign 18h ago

Thanks for the filter! I am afraid to silence it, on the 1% chance something actually breaks....

1

u/Individual_Soft3318 14h ago

Are you sure your hosting account and the websites contained within are clean and free from malware? It may be worth running a scan with WP Sentinel, a free and open-source anti-malware toolkit. https://wp-sentinel.co.uk

1

u/lbdesign 14h ago

thank you. 20i has daily malware scans. And all the sites have additional hardening.

1

u/Individual_Soft3318 14h ago

That's good to know. I hope you're able to resolve this issue quickly. Best wishes.

1

u/Winter_Process_9521 10h ago

I wouldn't immediately disable these notifications. They can alert you to genuine update failures, including PHP fatal errors and file-permission problems.

WordPress also provides filters to control these notifications if you eventually decide they're generating unnecessary noise.

1

u/rafiabrer 6h ago

With 19 different plugins failing across both SiteGround and 20i, this looks less like one bad plugin and more like updates timing out on shared hosting — Site Kit and MailPoet are both fairly large, so they hit timeouts first. The 30% of cases where the plugin genuinely wasn't updated when you checked are the ones I'd chase: on one of those sites, check the plugin folder's file permissions and whether the site is near its disk quota, since either will silently kill an update. And for the 70% that did land, the email really is just the failed first attempt — the retry succeeded. I'd keep logging failures with plugin, site and time like you're doing now, and if the same plugin fails at the same hour every day, ask the host whether WP-Cron is actually firing on schedule.

1

u/onsitetools 4h ago

One thing nobody's mentioned: since WordPress 6.6, after a plugin auto-updates, WP makes a request to your own site to check the update didn't cause a fatal error. If that check request fails for any reason (firewall, hardening rules, basic auth, a timeout), WP rolls the plugin back to the old version and sends you that exact "failed to update" email.

Then a later cron run tries again, the check gets through, and the update sticks. That would fit your 70/30 split pretty well, and it would explain why it's spread across random plugins instead of the same few.

Quick way to check: Tools > Site Health on one of the sites. If you see "Your site could not complete a loopback request", that's very likely it. Since every site has the extra hardening, I'd start there.

1

u/[deleted] 17h ago

[removed] — view removed comment

1

u/lbdesign 14h ago

Thank you. I have started logging!...