• Resolved Luis Martins

    (@lmartins)


    This widgets isn’t working anymore, returns the following stack trace:

    slideshow-shortcode.js?2d6489:75 Uncaught TypeError: Cannot read property 'msie' of undefined
    JetpackSlideshow.makeZeroWidthSpan	@	slideshow-shortcode.js?2d6489:75
    JetpackSlideshow.showLoadingImage	@	slideshow-shortcode.js?2d6489:19
    JetpackSlideshow.init	@	slideshow-shortcode.js?2d6489:28
    (anonymous function)	@	slideshow-shortcode.js?2d6489:180
    n.extend.each	@	jquery.min.js?2d6489:2
    n.fn.n.each	@	jquery.min.js?2d6489:2
    jetpack_slideshow_init	@	slideshow-shortcode.js?2d6489:171
    j	@	jquery.min.js?2d6489:2
    k.fireWith	@	jquery.min.js?2d6489:2
    n.extend.ready	@	jquery.min.js?2d6489:2
    I	@	jquery.min.js?2d6489:2

    https://www.ads-software.com/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    This error most likely happens because your theme or one of your plugins loads an old or a custom version of jQuery instead of using the version that comes bundled with WordPress.

    In general, it’s usually not recommended to load jQuery from an external source.
    As you’ve experienced first hand, it can create quite a few conflicts with plugins and themes.
    You can read more about it here:
    https://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/

    Try switching to a different theme for a few minutes, and check if that solves the issue; if it does, you’ll want to look for the function loading jQuery in your theme’s header.php file, or in the functions.php file. Once you find that function, you can remove it and enqueue the proper version of jQuery as explained here:
    https://codex.www.ads-software.com/Function_Reference/wp_enqueue_script

    If the issue is not related to your theme, please try to disable all your plugins, one at a time, until you find the one that causes the conflict. You can then enqueue jQuery using the method I linked to above.

    If you do not feel comfortable editing PHP files, you can also contact the theme or plugin author and ask them to solve the issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Slideshow widget returning JS error’ is closed to new replies.