• Resolved russweb

    (@russweb)


    I get a message

    HD QUIZ – WARNING: There is more than one quiz on this page. Due to the complexity of HD Quiz, only one quiz should on a page at a time.

    I only have the one quiz on the page, this may be linked to the second problem – that it marks the 10 question quiz out of 30

    It also repeats my introduction to the quiz with the results.

    I don’t know how to link to the page as I don’t want to publish a non-functioning quiz to my site.

    Apologies for being a dunderhead.

    I’ve used the quiz before several times with no problems

    Thanks for your time

    Russell

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi russweb,
    without being able to see a link, there is little I can do to help you diagnose this.

    All I can do is let you know that this is almost certainly completely unrelated to HD Quiz. There is something else on your site that is fundamentally breaking things.

    So first, if you are seeing that warning it means that there is absolutely more than one quiz being rendered on the page. This is 100% certain.

    That warning text does not actually exist on the page and is instead rendered client-side (after the page loads) if it detects that you have more than one instance of a class hdq_quiz on the page. Combine this with “also repeats my introduction to the quiz with the results” (which is not part of HD Quiz) and we seem to have narrowed this issue down to some form of duplication issue on your site where content is being printed out or otherwise rendered twice.

    As I said, it is impossible for me to be specific or give any real solutions with the information I have on this, but I think there are three places to look at.

    1) Did you only preview the page, or did you publish first?
    If you only ever previewed, then it’s possible that this issue is only when you preview and the published page might be fine. This would likely be caused by a bug with whatever page builder you are using and if so, should be taken up with them. Either way, I recommend temporarily publishing if you have not already to verify.

    2) Page builder bugs!
    Try creating a new page and adding a quiz to that page to see if the behavior still happens. If it works, then we know that the issue was either a bug with your page builder or perhaps a human error (you accidentally did something bad without realizing it. Perhaps some duplication block/widget or something)

    3) Cache
    I also recommend clearing out your site cache (if you are using a cache plugin) as well as your browser cache to make sure that it isn’t just a corrupted script file or something like that. Sometimes a cache plugin will combine files but do a poor job of it. Clearing the cache will force it to rebuild – hopefully unbroken!

    Other than that the only advice I have is to load up the preview and take a look at both the rendered source code as well as the browser console (press f12 and make sure the “console” tab is selected) for any relevant messages or errors.

    I’m marking this as resolved because A) pretty sure this is not a bug or issue with HD Quiz, and B) I don’t think there is anything more I can offer to help – but please – if you uncover any new information or have any further questions please do not hesitate to respond to this thread and I’ll open back up!

    Thread Starter russweb

    (@russweb)

    Thanks for such a brilliant and fast answer. It was the page builder bug, I used a post template with less formatting and all sorted.

    Very much appreciated.

    Patreon tip incoming…

    Russell

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems’ is closed to new replies.