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

    (@jeherve)

    Jetpack Mechanic ??

    Your site, either via your theme or via one of your plugins, appears to be loading the jQuery library more than once:

    1. from Google, version 3.5.1
    2. from jQuery.com, version 3.3.1, unminified
    3. from jQuery.com, version 3.3.1, minified
    4. from WordPress itself, version 1.12.4-wp
    5. from your theme, version 3.3.1, minified

    This is quite problematic for a few reasons:

    1. It impacts your site’s performance since you’re loading way more files than you would need.
    2. Those multiple, conflicting versions of jQuery can conflict with each other and cause issues with features on your site that rely on jQuery, like Jetpack’s Likes.

    I would recommend that you review the different plugins active on your site, and contact your theme author about this. Ideally, you want to go back to having only one copy of jQuery enqueued on your site, from WordPress.

    You can find out more information about this here:
    https://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/
    https://developer.www.ads-software.com/themes/basics/including-css-javascript/#default-scripts-included-and-registered-by-wordpress

    Thread Starter adminlibreriaurano

    (@adminlibreriaurano)

    Ok Thank you.
    I try to check this, to erase the links of JS in my header.
    Thank you. ?? is a Free Theme, from themepacific (India). And them no want make nothing in this theme. ??

    Thread Starter adminlibreriaurano

    (@adminlibreriaurano)

    Hello

    FIXED THE PROBLEM. SOLVED. ??
    Check my website. (Use Jquery-3.3.1.min.js – news ticker version
    https://www.masquesaber.es

    STEP TO FIXED the message to Firefox( load not is a function).:-D

    wp-content / plugins / jetpack / modules/ likes / queuehandler.js
    1 step
    change the code to this.
    $wrapper.find( ‘iframe’ ).on(‘load’, function ( e ) {
    var $iframe = jQuery( e.target );
    2 step
    change the WraperID to WraperId
    ( wrapperId ) all results.

    3 step
    change in the queuehandler.min.js
    wp-content / plugins / jetpack / _inc / build / likes / queuehandler.min.js
    find the line – t.find(“iframe”).load(function)
    And change to this
    t.find(“iframe”).on(‘load’, function
    And save.
    Reload the website. ?? and enjoy.

    NOTE: Using Jquery-3.3.1-min.js version with news ticker. And it no longer gives conflict. Because this is what firefox tells you. How to fix it. And works.
    WEBSITE TO CHECK
    https://www.masquesaber.es (Spain)
    Example: https://imgur.com/W9cmRpU

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught TypeError: e.indexOf is not a function’ is closed to new replies.