Hi,
After upgrading from "3.11.12" to "3.11.13", many quizzes got this error messages.
"Exception - Class 'question_attempt' not found"
Any ideas?
Ricardo
---------
Moodle 3.11.13
PHP 7.4
PostgreSQL 12
Ubuntu 20.04
Informações de depuração:
Error code: generalexceptionmessage Rastreamento de pilha:
line 168 of /question/engine/questionusage.php: Error thrown
line 240 of /mod/quiz/locallib.php: call to question_usage_by_activity->add_question()
line 2532 of /mod/quiz/locallib.php: call to quiz_start_new_attempt()
line 113 of /mod/quiz/startattempt.php: call to quiz_prepare_and_start_new_attempt()
Error code: generalexceptionmessage Rastreamento de pilha:
line 168 of /question/engine/questionusage.php: Error thrown
line 240 of /mod/quiz/locallib.php: call to question_usage_by_activity->add_question()
line 2532 of /mod/quiz/locallib.php: call to quiz_start_new_attempt()
line 113 of /mod/quiz/startattempt.php: call to quiz_prepare_and_start_new_attempt()
The class question_attempt is defined in question/engine/questionattempt.php. Is this file present in your Moodle source code folder?
Try purging all caches, I think Moodle's class autoloader caches information so maybe this needs updating.
Leon,
Just found the problem.
0 -rw-rw-r-- 1 www-data www-data 0 abr 1 04:36 questionattempt.php
Uploading all the files again.
Ricardo
Just found the problem.
0 -rw-rw-r-- 1 www-data www-data 0 abr 1 04:36 questionattempt.php
Uploading all the files again.
Ricardo