When i optimized admin-bar.js not working
-
My website get more loading time. when I add all the javascript it get loading time.
biodashofficial.com
-
not sure I understand mfayaz7, but
wp-includes/js/admin-bar.min.jsis only loaded for logged in users.hope this helps,
frankI added optimization js except admin-bar.js and admin-bar.min.js. this also not solved of my website. Still it takes more loading time. It doesn’t optimized. Is there any solution for this
can you share a screenshot of your current JS optimization settings?
Failed to load resource: the server responded with a status of 404 ()
notes-common-v2.js:158 Uncaught ReferenceError: jQuery is not defined
at notes-common-v2.js:158
admin-bar-v2.js:2 Uncaught ReferenceError: _ is not defined
at admin-bar-v2.js:2
judgeme_widget_v2.js:5 Uncaught ReferenceError: jdgmSettings is not defined
at Object.jdgm.removeIfUninstaled (judgeme_widget_v2.js:5)
at HTMLDocument.<anonymous> (judgeme_widget_v2.js:5)
at u (judgeme_widget_v2.js:2)
at Object.fireWith [as resolveWith] (judgeme_widget_v2.js:2)
at Function.ready (judgeme_widget_v2.js:2)
at HTMLDocument.o (judgeme_widget_v2.js:1)
admin-bar.min.js:2 Uncaught TypeError: f.hoverintent is not a function
at HTMLDocument.<anonymous> (admin-bar.min.js:2)
judgeme_widget_v2.js:7 Uncaught ReferenceError: jdgmSettings is not defined
at judgeme_widget_v2.js:7
at dispatch (judgeme_widget_v2.js:2)
at g.handle (judgeme_widget_v2.js:2)OK, make sure
js/jquery/jquery.jsis still in the JS optimization exclusions and addwp-includes/jsto that comma-separated list?I will send screenshot. How can i send
upload to e.g. imgur.com and share the URL here?
OK, can you untick “force in head”, “also aggregate inline JS” and “try/catch error wrapping” and re-test?
it shows error still
a 404 on the autoptimized JS -> clear (all) your page cache(s) + tick the “404 fallback” option?
still error shows
what error mfayaz7? you really need to be specific I’m afraid ..
I have sent the console image what shows error
The topic ‘When i optimized admin-bar.js not working’ is closed to new replies.