Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re excluding jquery.min.js, but the default WordPress jquery lives at js/jquery/jquery.js so maybe try that?

    Thread Starter Sanjay

    (@rsclmumbai)

    Tried adding “js/jquery/jquery.js” to Exclude scripts from Autoptimize:
    Same results in Console.

    I’m using WP Super Cache and after making any change, I clear Autoptimize cache and WP Super Cache & then test.

    What else can I try?
    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ahhhh, you’re cheating ??

    
    <script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js' defer='defer'>

    something (speed booster pack or something else) is;
    1. loading jquery from elsewhere
    2. loading it at the end of the HTML
    3. adding the defer attribute

    esp. (2) and (3) are breaking your site. fix that and all should be fine ??

    frank

    princeps

    (@princepsbruno)

    what jquery version does wordpress 4.9.5 use?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    jQuery v1.12.4 @princepsbruno

    I’m having the same problem on my site. I noticed that the calendar events were not loading the description popup on either hover OR click, and when I inspected with Google Chrome I found the same JQuery error. I wanted to know if the JQuery error was responsible for the non-functionality of the hover/click on the calendar.

    I don’t know what I need to do to fix this. I use W3 Total Cache on my site but have turned off Minify for CSS and JS as a precaution.

    Site: https://www.southwesternadventist.org/calendar/swuc

    Any help would be greatly appreciated.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    this is the Autoptimize support forum and it seems you’re not using AO 68reggie, so I’m afraid there’s not a lot I can help you with here …

    (I do see however that jQuery is loaded too late and it is not the stock WordPress version, but the one from https://code.jquery.com, so if you have a plugin or an option to do this, disable it and see if that solves anything)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.