Support » Plugin: Autoptimize » jQuery is not defined

  • Resolved ananotheruser

    (@ananotheruser)


    Hello,

    I get this error and I already tried what is said in the FAQ (js/jquery/jquery.js exclusion and tick”also aggregate inline JS”) but it doesn’t work, what should I do ?

    Thanks

    • This topic was modified 5 months, 3 weeks ago by ananotheruser.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Frank Goossens

    (@futtta)

    hard (impossible) to say without seeing what is happening @anaotheruser, can you share your URL?

    frank

    Hi Frank,

    Thank you for your quick reply. The URL is: http://www.blijffitmassage.nl

    Desiree

    Plugin Author Frank Goossens

    (@futtta)

    avond desiree ๐Ÿ™‚

    1. Can you copy/paste the contents of the “Exclude scripts from Autoptimize:” field here?
    2. It’s better not to aggregate inline JS in general ๐Ÿ™‚

    groeten uit Belgiรซ,
    frank

    Here is my website. ๐Ÿ™‚

    1. seal.js, js/jquery/jquery.js
    2. It’s not actually ticked

    These both options were already set like this by default. ๐Ÿ™‚

    Full error from Chrom Web Dev Tools :

    Uncaught ReferenceError: jQuery is not defined
    at /wp-content/cache/autoptimize/js/autoptimize_044ab9b885f644eff8a157738fe49753.js

    • This reply was modified 5 months, 3 weeks ago by ananotheruser.
    Plugin Author Frank Goossens

    (@futtta)

    ah, confusion galore ๐Ÿ™‚

    you have the same error with AO disabled (add ?ao_noptimize=1 to the URL), so this is not due to autoptimize.

    bon weekend,
    frank

    You’re right, I’ve the same error if I deactivate your plugin.
    Pardon me. And thank you for your fast and efficient support ! ๐Ÿ™‚

    Hi Frank!

    I’ve the same issue. This errors appears in my console:

    Uncaught Error: No handler option passed to Waypoint constructor
    at new t (autoptimize_35857a0โ€ฆ.js:312)
    at HTMLDivElement.<anonymous> (autoptimize_35857a0โ€ฆ.js:312)
    at Function.each (jquery.js:2)
    at a.fn.init.each (jquery.js:2)
    at a.fn.init.waypoint (autoptimize_35857a0โ€ฆ.js:312)
    at t.$el.waypoint.offset [as callback] (autoptimize_35857a0โ€ฆ.js:185)
    at t.trigger (autoptimize_35857a0โ€ฆ.js:312)
    at i.flushTriggers (autoptimize_35857a0โ€ฆ.js:312)
    at autoptimize_35857a0โ€ฆ.js:312

    Site URL es http://www.chinarodriguez.com and I tried with ?ao_noptimize=1 and error disappear. “aggregate inline JS” isn’t ticked.

    Exclude scripts from Autoptimize: s_sid,smowtion_size,sc_project,WAU_,wau_add,comment-form-quicktags,edToolbar,ch_client,seal.js, js/jquery/jquery.js

    Could you help me to solve it? Thanks in advance.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    waypoints? so have you tried excluding divi-builder/includes/builder/scripts/waypoints.min.js or even bluntly divi-builder/includes/builder/scripts?

    Excellent! It works!

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.