How to fix Cloudflare’s Error 524 with WordPress and W3 Total Cache (W3TC)
If you see an Error 524 generated by Cloudflare on your WordPress website and you have the W3 Total Cache (W3TC) plugin try the following first.
Disable the Opcode Cache and “Purge All Caches” in W3TC.
This worked for us in fixing the 524 error which used to happen frequently when making edits and saving pages in WordPress.