PDOException: Empty multichoice result answer set throws exception

Created on 23 April 2020, almost 5 years ago
Updated 2 November 2024, 5 months ago

Get strange error when exporting answers from quiz. Feels like one attempt was "broken", but I don't know how to find it. And don't know when it happend and what I do at that moment, but yesterday this work...

PDOException: SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near ")" LINE 4: WHERE (result_answer_id IN ()) ^: SELECT qra.question_nid AS question_nid FROM {quiz_node_results_answers} qra WHERE (result_answer_id IN ()) ; Array ( ) в функции MultichoiceResponse::viewsGetAnswers() (line 1027 in file .../html/sites/all/modules/quiz/question_types/multichoice/multichoice.classes.inc).
🐛 Bug report
Status

Fixed

Version

5.0

Component

Code - Quiz core

Created by

🇷🇺Russia vmkazakoff

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024