• Resolved acqua

    (@acqua)


    AFTER upgrading (also questions and answers) I get these errors

    
    Warning: in_array() expects parameter 2 to be array, null given in /home/interfan/public_html/wp-content/plugins/hd-quiz/includes/meta.php on line 515
    

    (in the column “correct”

    while on the quizzes tab

    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/interfan/public_html/wp-content/plugins/hd-quiz/includes/meta.php on line 534
    
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi acqua,
    can you confirm that you DID perform the data upgrade? This tool can be found under the new tools submenu page for HD Quiz.

    The first error means that no answer has been marked as correct. The second error means that the question has not been attached to a quiz.

    Both of these issues would only occur if there was an issue upgrading your data.

    WHAT I RECOMMEND.

    First, downgrade HD Quiz so that you can get back up and running. Deactivate, then delete HD Quiz, then download the previous 1.7 version from here. Now on the add plugins page, upload the 1.7 version and you’ll be back up and running like nothing happened.

    Next, please contact me at harmonicdesign.ca so I can help figure out what it is about your site or server that is preventing the data upgrade. I’m sure we can get to the bottom of this

    Thread Starter acqua

    (@acqua)

    Yes, data upgrade was done. I even run it again after the upgrade.
    I still get the error message, strange when I create a brand new quiz and brand new question, here’s what I see

    https://prnt.sc/sm902g

    Plugin Author Harmonic Design

    (@harmonic_design)

    So the old questions work, but new ones don’t? That is even stranger!

    It’s like when you create a new question, your site is trying to grab data that doesn’t exist.

    If its OK with you, can you please contact me at harmonicdesign.ca

    I may need to ask you some questions about your site/server that are best not answered on a public forum – I’m sure we can figure this out!

    Plugin Author Harmonic Design

    (@harmonic_design)

    Hi acqua,
    I have some good news!

    Another user had the exact same problem, so I was able to track down this issue and fix.

    Please reinstall HD Quiz fresh from the repository. To do this, first deactivate, then delete HD Quiz (you will not lose any data doing this), then install from the plugins page as normal.

    Thread Starter acqua

    (@acqua)

    well I was that user! 🙂

    Plugin Author Harmonic Design

    (@harmonic_design)

    Haha,
    I didn’t know it was you! Was expecting your other username. Glad we got this figured out. Please let me know if anything else comes up

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

The topic ‘errors’ is closed to new replies.