Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Call to undefined function ```$feedback = quiz_question_feedback($quiz, $question_node);``` on line 127 of the ajax_quiz.module file.
Comment | File | Size | Author |
---|---|---|---|
#7 | 2855249-restore-ajax-quiz-feedback.patch | 5.63 KB | djdevin |
Comments
Comment #2
funex CreditAttribution: funex commentedWe're also finding this issue. Did you find a solution?
Comment #3
Da_Cloud CreditAttribution: Da_Cloud at INDICIA commentedThis function seem to have been removed when converting the reports to Drupal views.
#2281823: Convert unevaluated reports to a view
Simply adding the function back doesn't seem to solve the issue though. While it stops the fatal errors, my test case would simply end up with a blank screen where should have been a feedback report.
Comment #4
djdevinIt was removed because it was deprecated, the new way to show question feedback is to use the quiz_take_question_feedback_form() form
It looks like ajax_quiz did use this but we should be able to fix it.
Comment #5
ss_for CreditAttribution: ss_for commentedIn version quiz 7.x-5.x-dev the problem remained.
Is it planned to fix it?
File ajax_quiz.module (line 123-129)
Comment #6
vensires CreditAttribution: vensires commentedIt's still an issue.
Comment #7
djdevinA little fragile but this seems to work.
Comment #8
skylord CreditAttribution: skylord commentedWorks OK for Quiz 7.x-5.5. Thanks!
Comment #10
apadernoComment #11
djdevinNew patch in #3044883: is Ajax quiz ready for production?