HELP NEEDED: Error Message

HELP NEEDED: Error Message

από Justin Lynn -
Αριθμός απαντήσεων: 2
Hi everyone!  Students are receiving the following error message within a Quiz Module:

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

I have tried other forums but did not find any resolution there.  This error is not allowing students to advance beyond a certain page in the exam.  As an instructor, I cannot even go in and review their pending submission.  

I am running Moodle 4.3.2. 

Any thoughts or suggestions?  Thanks in advance.
Μέσος όρος βαθμολογίας: -
Σε απάντηση σε Justin Lynn

Re: HELP NEEDED: Error Message

από Joseph Rézeau -
Φωτογραφία Core developers Φωτογραφία Particularly helpful Moodlers Φωτογραφία Plugin developers Φωτογραφία Testers Φωτογραφία Translators

Does your quiz have some questions not belonging to the Moodle core question types, i.e. you added question types from the plugins repository at https://moodle.org/plugins/ ?

If you are using the Essay autograde question type, this might help: https://github.com/gbateson/moodle-qtype_essayautograde/issues/69

 

Σε απάντηση σε Justin Lynn

Re: HELP NEEDED: Error Message

από Tim Hunt -
Φωτογραφία Core developers Φωτογραφία Documentation writers Φωτογραφία Particularly helpful Moodlers Φωτογραφία Peer reviewers Φωτογραφία Plugin developers
The add_question_identifier_to_label function was added to the code by MDL-76849 (so 4.0.7+, 4.1.2+, 4.2+). However, it should only every be called on an object of type question_display_options.

Somehow, something is calling it on null, not an object.

Can you get more details about the error, but setting Debugging to Developer level, at least temporarily?