NONCE Error in MailChimp Form
-
Hello!
This is a hard one to reproduce, and it’s just random luck that I found the error. I got a message about expired NONCE when I tried to test my MailChimp submission form on my page today. I Googled a bit and found that a WordPress NONCE is actually meant to be used multiple times, and is included in the cache of some plugins. When the NONCE expires and is still present in the cache, the error occurs.
A WordPress NONCE supposedly lasts for 12 hours, and the default LightSpeed Cache setting is 168 hours. I purged the cache and the problem disappeared, so I set my cache setting to 8 hours just in case. I would really like a longer cache, but I am not experienced enough to really deal with this problem.
Could anyone explain to me why it happened, how to avoid it and if it’s a bug with the plugin that caches things that should not be cached?
- The topic ‘NONCE Error in MailChimp Form’ is closed to new replies.