• Resolved 7Dallas5

    (@7dallas5)


    I’m receiving 2 errors when I try to submit a form. Please see below.

    Warning: max(): Array must contain at least one element in …/wp-content/plugins/gravity-forms-personality-quiz-add-on/class-gravity-forms-personality-quiz-addon.php on line 117

    Warning: Division by zero in …/wp-content/plugins/gravity-forms-personality-quiz-add-on/class-gravity-forms-personality-quiz-addon.php on line 324

    I’m using:
    Gravity Forms 1.9.19
    Gravity Forms Personality Quiz Add-On 0.8
    WP 4.5.3

    https://wordpress.org/plugins/gravity-forms-personality-quiz-add-on/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dabernathy89

    (@dabernathy89)

    Apologies for just seeing this now. But for anyone who might be seeing this issue – if you have enabled the Quiz Add-On for a form, you must be sure to enable at least one field to be used to calculate the quiz results.

    Hi!

    I’m encountering a similar issue as 7Dallas5 experienced. I have my form enabled for “Personality Quiz Add-On” and my multiple choice questions enabled for “Use for Personality Quiz Score”. I’m on WordPress 4.7.2.

    Below is the error I got:
    Warning: max(): Array must contain at least one element in /public_html/wp-content/plugins/gravity-forms-personality-quiz-add-on/class-gravity-forms-personality-quiz-addon.php on line 118

    I’m using values such as A{1}, A{2}, etc for my multiple choice answers. I would like to be able to tally the personality quiz for groups A, B, etc but I’m not sure exactly how to do that.

    Thank you in advance for your help!

    • This reply was modified 1 year, 4 months ago by  toralauralie.
    • This reply was modified 1 year, 4 months ago by  toralauralie.
    • This reply was modified 1 year, 4 months ago by  toralauralie.
    • This reply was modified 1 year, 4 months ago by  toralauralie.
    Plugin Author dabernathy89

    (@dabernathy89)

    @toralauralie – can you post screenshots of your form settings and of at least one of the form fields (with the settings showing)?

    Sure! Please see below:
    Personality Quiz Add-On Settings
    Form Question SettingsGravity Forms Form Settings

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors’ is closed to new replies.