Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bradvin

    (@bradvin)

    Hi Mike

    I had a look at your site. The reason you are getting the JS error is because one of your plugins (or theme) is loading it’s own version of jquery from a CDN:

    https://code.jquery.com/jquery-1.10.1.min.js

    jQuery is bundled with WP, so including this script for a second time is the incorrect thing to do. To find out which plugin is including this file, disable any plugins you have installed recently, one at a time, until the page starts working again. It could also be your theme that is including the script, so if you cant find it by deactivating plugins, then you can try one of the default WP themes

    Plugin Author bradvin

    (@bradvin)

    Mike, digging deeper I found that there is a script on your page:

    https://images.shrinktheweb.com/plugins/wp/wppopup.php?stwaccesskeyid=75ce25da86d1568&stwembed=1&stwsize=lg

    That is including the 2nd jQuery script.

    So this shrinktheweb script is the culprit. I would disable that plugin

    @bradvin
    Hello!

    I maintain the ShrinkTheWeb code, modules, and plugins. I saw your comment here and was curious if this jquery issue was due to a recent change. We have never had any conflicts reported before (in several years of being available). Was there a change in behavior of a recent WP version that caused this to be a problem (i.e. perhaps jquery is now included in core after version X.y)??

    If so, we will need to fork the plugin for older versions to have jquery loaded on our end and newer versions to skip jquery loading to avoid conflicts.

    Any insight you may have would be greatly appreciated! I have not yet had time to investigate all the changes in v4.0+, so this could be one of the changes we will have to make.

    Cheers,

    Brandon

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘VERY URGENT PLEASE – getting .js error on front home page’ is closed to new replies.