Title: Plugin auto-updates fail when cache enabled
Last modified: November 3, 2024

---

# Plugin auto-updates fail when cache enabled

 *  Resolved [Tim](https://wordpress.org/support/users/timstl/)
 * (@timstl)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/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:
 *     ```wp-block-code
       [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:
 *     ```wp-block-code
       [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:b56ac8883338a6987fd6de15828e2ca6
       ```
   
 * Is 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)

 *  Thread Starter [Tim](https://wordpress.org/support/users/timstl/)
 * (@timstl)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-auto-updates-fail-when-cache-enabled/#post-18113250)
 * In case anyone else encounters this problem, I found two solutions that both 
   worked for me:
    - Disable the “Compress pages so they’re served more quickly to visitors” setting
    - Alternatively, add _wp\_scrape\_key=_ to the rejected URL strings. This seems
      like a better solution to me.
 * I suppose disabling caching of URLs with GET parameters would also work, but 
   I didn’t verify that.
    -  This reply was modified 1 year, 7 months ago by [Tim](https://wordpress.org/support/users/timstl/).
 *  [Chatoxz (a11n)](https://wordpress.org/support/users/chatoxz/)
 * (@chatoxz)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-auto-updates-fail-when-cache-enabled/#post-18121018)
 * Hi Tim, could you share your site URL, so we can take a look.
 *  [wildoperation](https://wordpress.org/support/users/wildoperation/)
 * (@wildoperation)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-auto-updates-fail-when-cache-enabled/#post-18121052)
 * Hello,
 * One example is [https://wildoperation.com](https://wildoperation.com)
 * But I’ve already implemented the _wp\_scrape\_key=_ fix mentioned above on all
   sites that I was having this problem with, including this one. Since then, no
   updates have failed.
 * Thanks,
 * Tim
 * _edit: Replied from the wrong account, so just wanted to note that I am the original
   creator of this thread. _

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

The topic ‘Plugin auto-updates fail when cache enabled’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

 * [curl](https://wordpress.org/support/topic-tag/curl/)
 * [Updates](https://wordpress.org/support/topic-tag/updates/)

 * 3 replies
 * 3 participants
 * Last reply from: [wildoperation](https://wordpress.org/support/users/wildoperation/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-auto-updates-fail-when-cache-enabled/#post-18121052)
 * Status: resolved