• Resolved Oliver Campion

    (@domainsupport)


    Hi,

    We’ve started to see this issue on several WooCommerce sites and disabling your plugin resolves it.

    The general error is “Nonce validation failed”.

    I think that what’s happening is that the plugin is caching a nonce which is causing it to fail either for another user or because the nonce has expired.

    I’m not 100% sure but I think it may be this .js file that’s being cached that’s causing the issue /wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/wc-settings.js although we also have another site experiencing the same problem

    That file itself doesn’t have any nonces in it but the inline localisation script before it wc-settings-js-before does.

    How can we prevent your plugin from caching nonces so that we are able to re-enable the plugin on sites that use WooCommerce?

    Many thanks,

    Oliver

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi Oliver,

    Thanks for reporting this. We have identified the issue causing this and will roll an update to fix this soon.

    Plugin Author launchinteractive

    (@launchinteractive)

    Hi Oliver, I’ve just pushed out a new version of MMR that should fix your issue. Can you please try it and let me know how it goes?

    Thread Starter Oliver Campion

    (@domainsupport)

    I’m afraid not, sorry. We are still seeing “Nonce is invalid.” error when the plugin is activated and the + / – buttons are used on the cart page.

    Adding /wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/wc-settings.js to the “Ignore these files (one per line):” resolves the issue.

    Oliver

    Plugin Author launchinteractive

    (@launchinteractive)

    Could you please try removing that file from the ignore list and doing a purge? I think that might solve it in this case.

    Thread Starter Oliver Campion

    (@domainsupport)

    OK, that looks good. Thanks for the swift response.

    Oliver

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin is Caching WooCommerce Nonce’ is closed to new replies.