HELP NEEDED: Error Message

HELP NEEDED: Error Message

by Justin Lynn -
Number of replies: 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.
Average of ratings: -
In reply to Justin Lynn

Re: HELP NEEDED: Error Message

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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?