-
ComBron
Hi,
I am experiencing a ReferenceError: jQuery is not defined coming from the Gravity Forms script jquery.json.min.js. I have already tried forcing Gravity Forms to the footer (and head) using the gform_init_scripts_footer filters, and I tried enqueuing jQuery with priority 1 in the head, but the error persists. Does GeneratePress change how core jQuery or deferred/async scripts are handled that could cause this Gravity Forms asset to execute too early?
Cheers!
Edo
-
Alvind
Hi Edo,
GeneratePress does not modify the core jQuery scripts or globally add
deferorasyncattributes, so it is unlikely to be the source of this error.Do you happen to have any script optimization or performance plugins active on the site? If so, I would check their JavaScript optimization settings first, as they may be altering the script loading behavior.
-
ComBron
Wow Alvind you’re quick!
LiteSpeed Cache handles jQuery etc. I should have known better.
Most sorry for the disturbance. Happy customer for many years. First time asking for support. I wish I had thought it over a bit longer.
Thank you!
-
Alvind
No problem, glad to hear that! 🙂
- You must be logged in to reply to this topic.