Support » Plugin: Comments - wpDiscuz » Conflict with cache plugins (nonce error on submit)

  • Resolved wordmax


    When using this plugin in conjunction with WP Fastest Cache plugin unable to submit comments (“nonce” error).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support gVectors Support


    Please follow the steps below:

    1․ deactivate the cache plugin,
    2․ update wpDiscuz plugin,
    3․ re-activate your cache plugin,
    4․ delete all caches (website, wpDiscuz, browser) and purge CDN / CSS /JS minifications

    Gal Baras


    Nonce values are included in the page code, which WP Fastest Cache happily saves. When they expire after 24 hours, submissions on cached pages start to fail.

    One way to avoid this is to set the cache expiration interval to 1 day, which forces pages to be re-cached with fresh nonce values.

    This is a major pain with other plugins, too, unfortunately. I’ve asked the WPFC developer to detect nonces automatically, but it’s too difficult, and on most sites, will result in all pages expiring after 1 day anyway, so not worth the effort 🙁

    Plugin Author gVectors Team


    @wordmax and @galbaras,
    The issue with WP Nonce should be fixed in the just released 7.3.5 version. Please update, delete all caches, purge CDN if you have, press Ctrl+F5 on website front-end to reset browser cache and check it during and after the 24 hours.

    Gal Baras


    Are you saying we can have cache expiry longer than 24 hours?

    If so, I’d love to know how you’ve done this (for other plugins that use nonces).

    Gal Baras


    Just checked a page that was cached more than 24 hours ago and I could post a comment, so looks good.

    I still wonder how you’ve done it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.