HD Quiz

Need to send invoices?
Check out my new WordPress plugin HDInvoice
Limited time launch sale

Timer for per question works but for entire quiz timer do…

Published: January 23, 2021
Support status: closed

Timer for per question works but for entire quiz timer doesn’t work(After ending time nothing happen. After ending time I can answer questions of the quiz.). (HD QUIZ version 1.8.1). Please give solution.

This thread has been imported from harmonicdesign.ca/hd-quiz/

thread author: Rasel Mia

Hi Rasel, can you please post a link to a quiz so I can take a look?

23 January 2021 — 14:11 support admin - Dylan
26 January 2021 — 13:02 thread author - Rasel Mia

Thanks for sending.

The error is Uncaught TypeError: Cannot read property 'target' of undefined which is being generated from the file main.min.js. This file is NOT from HD Quiz and is instead from your theme.

It looks like your theme is doing something special to detect when any button is clicked – except it was coded in a way that it doesn’t take into account that click events don’t always come from a user…

In short, your theme is actively preventing HD Quiz from running the function needed to trigger the “finish” button. This means that there is nothing I can do on my end to fix this for you as the issue is not with HD Quiz.

So what can you do? You only have two options. A) Change your theme to something else. B) edit your theme to fix the error with that script it’s running.

Let me know if you want option B and I can do my best to guide you in updating your theme to fix this

26 January 2021 — 13:16 support admin - Dylan

Many many thanks. The problem was main.min.js file. Now timer works. Again thanks.

26 January 2021 — 13:41 thread author - Rasel Mia

If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.

This thread has either been marked as complete or has been automatically closed due to inactivity.