Title: CF7, WP nonce, Cache problems
Last modified: April 7, 2021

---

# CF7, WP nonce, Cache problems

 *  Resolved [edvardspektar](https://wordpress.org/support/users/edvardspektar/)
 * (@edvardspektar)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/)
 * Hello,
    Takayuki Miyoshi, please try to fix the newest plugin version problem.
   It is all over the forum. Forms not submitting after a while, ajax error, spinning
   wheel without step forward. Rolling back to the previous version fixes the problem.
   It has something to do with plugin and WP nonces in correlation with the cache
   plugins. Even when cache purging set below 8 hours. Should every one of us contact
   numerous cache plugin authors or you can do the trick within your plugin? Thanks
   in advance, regards.

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/#post-14288334)
 * Where can we see the website in question?
 *  Thread Starter [edvardspektar](https://wordpress.org/support/users/edvardspektar/)
 * (@edvardspektar)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/#post-14288413)
 * F.e. kanpak.hr
    On every product there is a CF7 quick query. So excluding the
   pages with CF7 from caching will be 99% of the website and not possible. Just
   to note, all my websites with CF7 have the same problem no matter the plugins
   installed. It is not other plugins problem. Just plane cache and nonce and CF7.
   Maybe minifying, HTML, JS, CSS? Purging the cache makes it work for a day then
   submitting the form becomes unresponsible again. With CF7 5.3.2 there is no problem.
   Thanks
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/#post-14291209)
 * On which page on kanpak.hr do you have the form having the issue?
 *  Thread Starter [edvardspektar](https://wordpress.org/support/users/edvardspektar/)
 * (@edvardspektar)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/#post-14291750)
 * On every page with single product.
    F.e. [http://www.kanpak.hr/product-details/pamucne-vrecice-sa-dugom-ruckom-crne/](http://www.kanpak.hr/product-details/pamucne-vrecice-sa-dugom-ruckom-crne/)
   Under the product image are tabs with forms Brzi upit, Online narudžba But now
   there are no problems because CF7 is rolled back to 5.3.2 Nonce Cache problem.
   Something is different in 5.4 and it is making problems to everyone that is using
   CF7 and cache. Thanks
 *  [salviof](https://wordpress.org/support/users/salviof/)
 * (@salviof)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/#post-14363151)
 * Same in 30 sites
    {“code”:”rest_cookie_invalid_nonce”,”message”:”\”Nonce\” de
   cookie inv\u00e1lido”,”data”:{“status”:403}} when request a POST /wp-json/contact-
   form-7/v1/contact-forms/1852/feedback?_locale=user
 * and
    fail with a 400 code, returning a simple 0 when request a GET on /wp-admin/
   admin-ajax.php?action=rest-nonce
 * If I ignore cache in the page with the form, they pass,in other pages no, my 
   cache configure to 7 days of live Please Help.
    Thank you for the great job on
   CF7 plugin.the wordopress ecosystem are more strong with this solution. Exist
   a fast solution when I debugin this in a docker lab? Witch version has no problem?
   Thanks
 *  [salviof](https://wordpress.org/support/users/salviof/)
 * (@salviof)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/#post-14363169)
 * This make sence? [https://docs.wp-rocket.me/article/1495-contact-form-7-is-not-working](https://docs.wp-rocket.me/article/1495-contact-form-7-is-not-working)

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

The topic ‘CF7, WP nonce, Cache problems’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [salviof](https://wordpress.org/support/users/salviof/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/cf7-wp-nonce-cache-problems/#post-14363169)
 * Status: resolved