• Resolved pinaldave

    (@pinaldave)


    After upgrading to 2.0.1 – I am seeing error Jascript 2.0.1 – Incompatible Javascript file Loaded, probably due to caching.

    I cleared my server’s cache, local caching solutions as well as I tried in three different browsers (including incognito modes) as well as try a totally different computer. I see the same error everywhere.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Spacetime

    (@spacetime)

    What is the address of your website?

    Thread Starter pinaldave

    (@pinaldave)

    Plugin Author Spacetime

    (@spacetime)

    If you open the Ad Inserter javascript file
    https://blog.sqlauthority.com/wp-content/plugins/ad-inserter/js/ad-inserter.js
    you’ll see that it is the latest version 2.0.1

    If it is not loaded it can be only due browser serving some cached file.

    Go to Ad Inserter settings page and check source code. Look for
    /wp-content/plugins/ad-inserter/js/ad-inserter.js?ver=2.0.1

    Make sure this file is properly loaded.

    Thread Starter pinaldave

    (@pinaldave)

    Hi Igor,

    Thanks, I think I find the issue – the file is correctly loaded but to get the page cached, I am removing the ?ver=2.0.1 for all the JS files at the end of it.

    I think your page might be checking this ?ver=2.0.1 and that is why this warning. If my note is correct, I think we can consider this request resolved.

    Plugin Author Spacetime

    (@spacetime)

    The parameter ?ver=2.0.1 is added in order to prevent caching of old file versions when the plugin is updated.
    The script checks own version against this version parameter on the settings page.

    I’ll consider changing how the versions are checked (without this parameter).

    Plugin Author Spacetime

    (@spacetime)

    If you experience this javascript warning you can try the development version where this check has been fixed to work also on pages where the version parameter is not present.

    Thread Starter pinaldave

    (@pinaldave)

    Hi Igor,

    First of all – people use this plugin because it is good, but the best part is your promptness and ownership of this product.

    I will try this on another site of mine with this development version.

    Once again thanks Igor!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Imcompatible Javascript File Loaded’ is closed to new replies.