Moodle 2.8 - Debug Error Message when Editing Quiz

Moodle 2.8 - Debug Error Message when Editing Quiz

د Clinton Bartholomew لخوا -
د ځوابونو شمیر: 2

We recently upgraded from Moodle 2.7 to Moodle 2.8.1 and since the upgrade we have been unable to edit a quiz. To determine what was happening we turned on Debug and got the following error message.

Fatal error: Call to undefined function mod_quiz\output\question_get_category_id_from_pagevars() in /var/www/html/mod/quiz/classes/output/edit_renderer.php on line 471


Currently we have no idea how to fix this problem. However, without the ability to quiz our students, a function we use extensively on Moodle, the usability of Moodle has decreased substantially. Any ideas how to fix this problem?


Sincerely,

Clinton Bartholomew


د درجې بندۍ اوسط:  -
In reply to Clinton Bartholomew

Re: Moodle 2.8 - Debug Error Message when Editing Quiz

د Tim Hunt لخوا -
د Core developers انځور د Documentation writers انځور د Particularly helpful Moodlers انځور د Peer reviewers انځور د Plugin developers انځور

I don't see that error. (E.g. you can try it at qa.moodle.net, and it works there.)

Which version of PHP are you using? I wonder if there is some subtlety about how namespaces work that changes between PHP versions?