Quiz hung up issue when correct answered entered for multichoice with max score added as 0

Created on 23 April 2024, 2 months ago

The quiz hung up when the correct answer was entered for multichoice with the max score added as 0. And on the logs shows the below error.

TypeError: Unsupported operand types: string * int in Drupal\quiz\Entity\QuizQuestion::getAnsweringFormValidate() (line 147 of /code/web/modules/contrib/quiz/src/Entity/QuizQuestionEntityTrait.php)

🐛 Bug report
Status

Active

Version

6.0

Component

Code - Quiz core

Created by

🇮🇳India Sivaprasad J

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

Comments & Activities

Production build 0.69.0 2024