• Resolved dadipaq

    (@dadipaq)


    Hello and thank you for this amazing plugin.

    Since the version 3.0.0, We can’t view or add answer.
    Here is what I do :
    1. I go “Quiz Cat -> All Quizzes”
    2. I click on one of our quiz (Multiple Choice)
    3. I click on the “Questions” Tab
    4. I click on one of the question
    5. I can’t see or add answers

    I have the same problem if I create a new question : Can’t add answer.

    Also, there is nothing in the javascript console.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support gavinohanlon

    (@gavinohanlon)

    Hi Dadipaq,

    Thanks for contacting us. Sorry to hear about this issue.

    Is this happening with version 3.0.1 also? It was released today Aug 3rd.

    I tried replicating the steps you kindly laid out but I am able to edit the quiz still. I am able to see and add answers. Is it possible to send us a screenshot and link to it?

    Do you have any caching or speed optimizing plugins? Have you tried clearing the cache to make sure an older Quiz Cat file is not trying to load or similar?

    Looking forward to hearing back from you.

    All the best.

    Plugin Support gavinohanlon

    (@gavinohanlon)

    Hi Dadipaq,

    I hope all is well.

    I am going to mark this as “resolved” but if you have any additional questions about this, feel free to reply to us.

    Kind regards.

    Shamim Ansary

    (@shamim1410)

    @gavinohanlon, I am facing this issue even with version 3.0.1, I can’t add questions on some of the earlier created quizzes.
    I have cleared my cache.
    Please help

    Thread Starter dadipaq

    (@dadipaq)

    Hello, 6 months later, I think I found the reason of this issue ?? ! Hope the developper can implement this in the next version.

    I noticed this error log :

    PHP message: PHP Warning: Undefined array key "quiz_type" in /www/mywebsite/public/wp-content/plugins/quiz-cat/includes/editor/editor.php on line 163

    Here is the line 163 :

    $quiz_type = empty( $settings['quiz_type'] ) ? sanitize_text_field( $_GET['quiz_type'] ) : $settings['quiz_type'];
    

    So I replaced with the following :

    $quiz_type = empty ( $settings['quiz_type'] ) ? 'mc' : $settings['quiz_type'];
    

    I did like that because it’s the way you did in the fca_qc_get_quiz_type function. I guess you made a change to have multiple quiz_type and this was causing our issue because the ‘mc’ quiz type is not defined in our old quizzes.

    Thread Starter dadipaq

    (@dadipaq)

    Can we expect a fix for the next version ? I guess most of people with old quizzes might be concerned.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t view or add answer’ is closed to new replies.