Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: error/question/unknownquestiontype.

error/question/unknownquestiontype

From MoodleDocs

This error will be thrown if the value returned from the name function of question_questiontype_qtype (replace questiontype with actual question type), does not match the actual question type, so if the value returned from the name function of question_multichoice_qtype is not multichoice, this error would be thrown.