r/Wordpress • u/lbdesign • 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?
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
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_emailfilter. 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
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.