• Resolved Jamie Burchell

    (@jamieburchell)


    On the main WordPress dashboard, after clicking Performance > Purge All Caches from the top bar, this message is shown:

    The setting change(s) made either invalidate the cached data or modify the behavior of the site. now to provide a consistent user experience.

    Clicking either button results in this error in the console and no action taken:

    ?w3tc_note=flush_all:653 Uncaught ReferenceError: w3tc_beforeupload_unbind is not defined
        at HTMLInputElement.onclick (?w3tc_note=flush_all:653:467)
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jamieburchell

    Thank you for reaching out.
    Can you please share which caching method you are using and if you are using multisite?
    Can you please share the website URL?
    Thanks!

    Thread Starter Jamie Burchell

    (@jamieburchell)

    Not multisite, disk enhanced cache.

    To reproduce:

    • Go to the main WordPress Dashboard > Home
    • Click “Performance” > “Purge Modules” > “Browser Cache: Update Media Query String”

    You will see:

    The setting change(s) made either invalidate the cached data or modify the behaviour of the site. now to provide a consistent user experience.

    • Click either of the buttons to clear the cache
    • Nothing happens except for a JS error in the console.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jamieburchell

    Thank you for your feedback.
    I am unable to replicate the problem and I believe the reason for this is the way your environment is structured.
    Are the rules in Performance>Install for rewrite added accordingly?
    Thanks!

    Thread Starter Jamie Burchell

    (@jamieburchell)

    @vmarko Yes, the rules are added in the Apache configuration. To be clear, the disk caching is working as are the rewrite rules.

    If I go in to the Page Cache section and clear the caches from there, or from the top black bar, both work. It’s only when clicking them from the prompt on the dashboard (WordPress dashboard, not W3TC dashboard).

    If you are unable to reproduce should I send a screencast?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hey @jamieburchell

    Thank you for your feedback.
    Sure, please sent the screencast as we are not able to replicate this.
    Thanks!

    Thread Starter Jamie Burchell

    (@jamieburchell)

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jamieburchell

    Thank you for providing the steps to reproduce the problem.
    Yes, I was able to reproduce the issue. Checking the code with the team now.
    So, for the time being, make sure to purge the cache via the Plugin Dashboard or via the Top admin bar.
    Thanks!

    Thread Starter Jamie Burchell

    (@jamieburchell)

    Excellent. No problem. Thanks @vmarko

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jamieburchell

    I’ve opened a GitHub issue on your behalf in our Repository.
    Please make sure to check the progress of the issue regularly.
    Thanks!

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

The topic ‘JavaScript error when clicking empty page cache / hide this message on dashboard’ is closed to new replies.