• Hello, after WP upgrade to 4.7.2, the plugin stopped working. I turned on the console logging and here’s some output:

    Uncaught TypeError: $(…).stickThis is not a function
    at HTMLDocument.<anonymous> (stickThis.js?ver=2.0.1:10)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)
    (anonymous) @ stickThis.js?ver=2.0.1:10
    i @ jquery.js?ver=1.12.4:2
    fireWith @ jquery.js?ver=1.12.4:2
    ready @ jquery.js?ver=1.12.4:2
    K @ jquery.js?ver=1.12.4:2

    If there a quick fix to it? Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    There are no known conflicts between the plugin and WordPress 4.7.2, so there might be something else going on. This error usually means that there are two different jQuery libraries loaded on the same page.

    Do you have a link to your site so I can take a look?

    • This reply was modified 7 years, 1 month ago by Senff - a11n.

    Same here. You can take a look at this url where I just installed the plugin. Getting the exact same message in the log.

    http://besttoys4less.com/

    @thom321 – when I look at your site, it is indeed loading jQuery twice. Once by WordPress (the correct way) and then again by Bootstrap at the end of the page.

    Actually, there are a lot of custom jQuery scripts at the bottom of the page, I would suggest to combine them into one .js file and call it using the wp_enqueue_scripts function.

    Mark,
    Thanks for your response. While I have no doubt that your solution is great, I am simply using a theme someone else created and am not really in a position to implement your suggestion, at least I don’t think so.

    While I have decent knowledge about how to use WordPress and plugins and some knowledge of php and js, I can’t say that I know nearly enough to make significant edits to the theme itself.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘It seems the plugin v2.0.1 is broken on WP 4.7.2’ is closed to new replies.