Plugin auto-updates fail when cache enabled
-
Hello,
I’ve been having an issue where plugin auto-updates fail and are rolled back. This occurs on any site running WordPress 6.6+ and WP Super Cache (although all are on the same server).
Disabling caching in the WP Super Cache settings fixes the issue and plugins update successfully.
Here’s an example of the error I’m seeing:
[03-Nov-2024 15:01:19 UTC] Upgrading plugin 'wordpress-seo'…
[03-Nov-2024 15:01:21 UTC] Plugin 'wordpress-seo' has been upgraded.
[03-Nov-2024 15:01:23 UTC] Scraping home page…
[03-Nov-2024 15:01:24 UTC] Loopback request failed: cURL error 18: transfer closed with outstanding read data remaining
[03-Nov-2024 15:01:25 UTC] The update for 'wordpress-seo' contained a fatal error. The previously installed version has been restored.So it appears that when WordPress checks for fatal errors after the plugin update, a CURL error occurs and the plugin is rolled back.
Here’s an example of the log after disabling caching in the WP Super Cache settings:
[03-Nov-2024 15:04:18 UTC] Upgrading plugin 'wordpress-seo'…
[03-Nov-2024 15:04:22 UTC] Plugin 'wordpress-seo' has been upgraded.
[03-Nov-2024 15:04:24 UTC] Scraping home page…
[03-Nov-2024 15:04:24 UTC] '###### wp_scraping_result_start:b56ac8883338a6987fd6de15828e2ca6 ######
true wp_scraping_result_end:b56ac8883338a6987fd6de15828e2ca6Is there a WP Super Cache setting that can be adjusted to fix this problem?
Thanks,
Tim
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.