• Resolved miikkaj

    (@miikkaj)


    Hi,
    and thank you for a great plugin! Lately I noticed my calculators have stopped working and the Chrome Console is full of javascript errors like “TypeError: n.widget is not a function” etc etc.

    I’m not sure which is causing the conflict, but I’ve tracked the reason to the Theme X I’m using. With the default theme the calculator works fine. Do you have any quick tips for this issue? I have disabled the JS cache plugin etc, just to make sure it’s not a cache issue. When trying the calculator via the direct form url it works just like it’s supposed to work.

    Regards,
    Miikka

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @miikkaj,

    Please, follow the instructions below:

    1. Go to the settings page of the plugin,
    2. Select another option for the “Script load method”,
    3. And press the “Update” button.

    But please, check the HTML source of your page. It is loading multiple instances of different versions of the jQuery library:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

    and

    <script type='text/javascript' src='https://katsastushaku.fi/wp-includes/js/jquery/jquery.min.js?ver=3.6.0' id='jquery-core-js'></script>

    The second one is the version of jQuery distributed with WordPress.

    Best regards.

    Thread Starter miikkaj

    (@miikkaj)

    Thank you, I don’t understand how I missed the extra jQuery load. I should have noticed it myself rather than bothering you. Thank you very much, you’re awesome!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CFF and Theme X conflict?’ is closed to new replies.