HD Quiz

Pagination Issue Causing Repeated Questions

Published: December 8, 2024
Support status: closed

Hi,
I am experiencing an issue with the pagination feature in the HD Quiz plugin. When I set the pagination option to display 10 questions per page, the questions start repeating endlessly across the pages. For instance, if I have a total of 15 questions, each page still displays 10 questions, but the same questions are repeated over and over. The issue causes the question numbers to keep increasing indefinitely, reaching numbers far beyond the total questions in my quiz (e.g., up to 100 and more). This disrupts the quiz experience significantly. Could you please guide me on how to resolve this?
Thank you!

thread author: Shakeel

Hi Shakeel,
I’m assuming you are using WP pagination.

Unfortunately, your symptoms mean that something on your site is hijacking either how WordPress handles Pagination, or even the Queries themselves. There is little I can do to help you on my end since the issue would be related to something on your site.

The only thing I can do is offer some advice on where to look.

  1. Make sure that the URL is updating whenever you go to the next page. The structure of the url should have page/x in it, where x represents the current page. Check this to make sure that the page number is actually updating correctly.
  2. Check for any plugins you have installed that can affect either pagination or WordPress queries. You might, for example, have a plugin that forces queries to always be in alphabetical order or something similar.
08 December 2024 — 12:29 support admin - Dylan

Thank you for your answer.
Yes, the url is updating but the questions keep repeating and I’ve disabled W3 Total Cache (which I am using) and checked but the problem still exists.

10 December 2024 — 01:32 thread author - Shakeel

W3Total cache doesn’t affect query order (not that I know of, at least). Did you check any other plugins? Feel free to reply with a list of active plugins and I can take a look and see if I think any of them could be the cause.

10 December 2024 — 14:43 support admin - Dylan

I’ve installed Kadence Pro, Kadence Blocks and Pro, and W3 Total Cache.

11 December 2024 — 03:49 thread author - Shakeel

Respond to thread

This thread has been closed / marked as resolved.
You can reply to this thread, but it might be better to start a new thread if you need help
.

You can also upload images to imgur and paste the links here. Just make sure that your images don't include any sensitive information.

Submit