• 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://www.ads-software.com/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.

    toralauralie

    (@toralauralie)

    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!

    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)?

    toralauralie

    (@toralauralie)

    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.