23349876543
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Yes that was it, thank you!
Thanks 🙂
seal.js, js/jquery/jquery.js, wp-spamshield,jquery.js, jquery-migrate.min.js, cookielawinfo.jsThese are the scripts currently excluded, so it should already be doing that right?
With and without exclusion I get the same error:
Uncaught ReferenceError: jQuery is not defined at (index):39With line 39 being:
39 jQuery(document).ready(function() { 40 cli_show_cookiebar({ 41 settings: '{...}' 42 }); 43 });- This reply was modified 7 years, 11 months ago by 23349876543.
- This reply was modified 7 years, 11 months ago by 23349876543.
Hi @markwt
unfortunately excluding cookielawinfo.js from being optimized in Autoptimize does not solve the problem. Enabling ‘Force Javascript in <head>’ did fix it, but it makes all JS render blocking so that is not a good solution.
I switched the JS optimization from Autoptimize to WP Rocket and that does seem to fix the problem with the cookie bar.
Viewing 5 replies - 1 through 5 (of 5 total)