Quiz Start button not working
-
Hi Team,
After installing Autoptimize plugin, Quiz start button not working (WP Pro Quiz). It will work when you logged in as admin. Please let me know how to fix it.
The page I need help with: [log in to see the link]
-
First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be 🙂
frank
Its JS causing the issue. After disabling “Optimize JavaScript Code?” Start button working.
OK, when “optimize JS” is on, what errors do you see on the browser console?
And in the JS optimization exclusion field, can you try excluding one of below each line (while keeping an eye on the browser console) and report back?
*
wp-content/themes
* ORwp-content/plugins
* ORwp-includes/js1) When optimize JS is on: errors in browser console – https://prnt.sc/178heji
2) When I exclude wp-content/themes, plugins – error – https://prnt.sc/178i4wz
3) When I exclude only wp-includes/js – https://prnt.sc/178j5j3
3) When I exclude all themes, plugins, wp-includes/js – it works fine. But performance scores in GTMetric reduced from 98 to 54% and loading time increased 1 sec to 3 sec.
OK, I looks like you removed jQuery from the default exclusion, if so can you re-add
js/jquery/jquery.min.jsto the comma-separated exclusion list?I have included the js/jquery/jquery.min.js, but no use. https://prnt.sc/178wzym
In Mobile also when you click on menu first it will show #, in second attempt menu/ search icon will work.
Settings I have updated as per https://support.jegtheme.com/documentation/page-speed-optimization/
getting closer though … 🙂
can you also add
wp-content/plugins/wp-pro-quiz/to the comma-separated exclusion list?Yes. did it. Quiz is working fine. Thanks
But Navigation Menu/ search icon in mobile is still showing # in first attempt. In second attempt it will work fine.
ah, the quiz JS needs jquery UI to be available, so you’ll need to also exclude
js/jquery/uienggwaveExcluded js/jquery/ui
Well, the mobile menu now works for me from the first click and I don’t see JS errors regarding jquery UI any more. All is well on your end too?
In Firefox mobile browser it works fine. In Chrome and Opera it doesnot work. You need to do little scroll down and up then it works fine.
well, I still see one JS error (“Uncaught ReferenceError: ctSetCookie is not defined”) which seems to be related to
plugins/cleantalk-spam-protect/, can you also exclude that?its not working.
don’t see a JS error any more on the browser console, so afraid that in that case you’ll have to do some trial and error exclusions to find the right exclucions enggwave (or alternatively disable/ reenable plugins one at a time to try to find the culprit).
edit: I see something (wp rocket) is deferring JS, maybe disable that too for a second, it might very well be related ..
The topic ‘Quiz Start button not working’ is closed to new replies.