Title: errors
Last modified: May 22, 2020

---

# errors

 *  Resolved [acqua](https://wordpress.org/support/users/acqua/)
 * (@acqua)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/)
 * 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](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/#post-12875537)
 * 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](https://wordpress.org/plugins/hd-quiz/advanced/).
   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](https://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](https://wordpress.org/support/users/acqua/)
 * (@acqua)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/#post-12879284)
 * 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](https://prnt.sc/sm902g)
 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/#post-12879905)
 * 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](https://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](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/#post-12880234)
 * 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](https://wordpress.org/support/users/acqua/)
 * (@acqua)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/#post-12880241)
 * well I was that user! 🙂
 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/#post-12880250)
 * 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.

 * ![](https://ps.w.org/hd-quiz/assets/icon-256X256.gif?rev=2936040)
 * [HD Quiz](https://wordpress.org/plugins/hd-quiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hd-quiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hd-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/hd-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hd-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hd-quiz/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/errors-229/#post-12880250)
 * Status: resolved