• presswp

    (@presswp)


    I upgraded to WP v4.82 and noticed that animated images aren’t displaying and the video overlays don’t play anymore. My guess is that there’s an issue with the jQuery running on my site but I’m not jQuery savvy enough to identify it.
    The error I’m seeing is:
    Uncaught Error: Syntax error, unrecognized expression: [href=#undefined]
    at Function.fa.error (jquery.js:2)
    at fa.tokenize (jquery.js:2)
    at fa.compile (jquery.js:2)
    at fa.select (jquery.js:2)
    at fa (jquery.js:2)
    at Function.fa.matches (jquery.js:2)
    at Function.n.filter (jquery.js:2)
    at z (jquery.js:2)
    at jQuery.fn.init.filter (jquery.js:2)
    at Object.currentScrollIndication (functions.js:1021)

    All plugins and theme have been updated. Any help is very appreciated.
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Amit Singh

    (@apprimit)

    open your theme function.php file and add

    add_action( 'wp_enqueue_scripts', 'load_old_jquery_fix', 100 );
    
    function load_old_jquery_fix() {
        if ( ! is_admin() ) {
            wp_deregister_script( 'jquery' );
            wp_register_script( 'jquery', ( "//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" ), false, '1.11.3' );
            wp_enqueue_script( 'jquery' );
        }
    }

    If it will not help you, contact your developer.

    Best!

    ThemesGrove

    (@themesgrove)

    Nice @apprimit. Well Said.
    Hello,
    You can host your video play and animated image code part that was written with jQuery in the github gist. So that we can debug your code and help you to solve this.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JQuery Issue’ is closed to new replies.