• 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]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    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

    Thread Starter enggwave

    (@enggwave)

    Its JS causing the issue. After disabling “Optimize JavaScript Code?” Start button working.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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
    * OR wp-content/plugins
    * OR wp-includes/js

    Thread Starter enggwave

    (@enggwave)

    1) 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.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, I looks like you removed jQuery from the default exclusion, if so can you re-add js/jquery/jquery.min.js to the comma-separated exclusion list?

    Thread Starter enggwave

    (@enggwave)

    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/

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    getting closer though … 🙂

    can you also add wp-content/plugins/wp-pro-quiz/ to the comma-separated exclusion list?

    Thread Starter enggwave

    (@enggwave)

    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.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, the quiz JS needs jquery UI to be available, so you’ll need to also exclude js/jquery/ui enggwave

    Thread Starter enggwave

    (@enggwave)

    Excluded js/jquery/ui

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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?

    Thread Starter enggwave

    (@enggwave)

    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.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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?

    Thread Starter enggwave

    (@enggwave)

    its not working.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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 ..

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Quiz Start button not working’ is closed to new replies.