Ouch, Cloudflare’s Speed Brain conflicting with admin functions and bricking plugins

[ad_1]

So, we had a heck of a time debugging an issue where plugins and themes would error on updating and would occasionally leave the site in maintenance mode with the plugin deleted entirely. Had this issue across 400 Plesk sites on cloudflare. Figured the issue was a plesk or vm issue, but nope, it was Cloudflare's speed brain doing a pre-fetch on delete and update actions! Where is nonce? So, it was essentially running the action twice within milliseconds of each other. Plugin updates would trip on each other getting in a bad state trying to copy the same files while locked, etc. What's really bad about this as we did not actively put any sites on Speed Brain. It's marked as Beta so Cloudflare automatically enrolled every site into it. Now we need to rewrite out cloudflare update scripts to remove it. Happy with cloudflare generally, and 16 hours of debugging is worth their free plan, but ugh!

[ad_2]
1 Comment

 

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