thoriqadillah / moodle-qtype_essaysimilarity

Is a moodle question type plugin that compares the similarity between student's answer and teacher's answer key using machine learning (natural language processing), and uses the similarity to auto grade the answer. The automatic grade can be manually overridden by the teacher
https://thoriqadillah.github.io/cat-n-code/projects/essay-similarity/#demo
GNU General Public License v3.0
2 stars 3 forks source link

Exception - Call to a member function add_question_identifier_to_label() on null #15

Closed hafriz closed 1 year ago

hafriz commented 1 year ago

error when preview a question after add question

Moodle version : Moodle 4.1

Stack trace: line 342 of /question/type/essay/renderer.php: Error thrown line 72 of /question/type/essaysimilarity/renderer.php: call to qtype_essay_format_editor_renderer->response_area_input() line 403 of /question/engine/renderer.php: call to qtype_essaysimilarity_renderer->formulation_and_controls() line 108 of /question/engine/renderer.php: call to core_question_renderer->formulation() line 113 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question() line 907 of /question/engine/questionattempt.php: call to question_behaviour->render() line 461 of /question/engine/questionusage.php: call to question_attempt->render() line 289 of /question/bank/previewquestion/preview.php: call to question_usage_by_activity->render_question()