-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.11, 2.3.9, 2.4.6, 2.5.2
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MDL-42494-workshop-exception -
When executed, the Workshop grading evaluation plugin "Comparison with the best assessment" throws coding exception
Coding error detected, it must be fixed by a programmer: PHP catchable fatal error
|
|
More information about this error
|
Debug info: Argument 2 passed to workshop_best_evaluation::assessments_distance() must be an instance of stdClass, null given, called in [dirroot]/mod/workshop/eval/best/lib.php on line 175 and defined
|
Error code: codingerror
|
Stack trace:
|
|
line 393 of /lib/setuplib.php: coding_exception thrown
|
line 378 of /mod/workshop/eval/best/lib.php: call to default_error_handler()
|
line 175 of /mod/workshop/eval/best/lib.php: call to workshop_best_evaluation->assessments_distance()
|
line 100 of /mod/workshop/eval/best/lib.php: call to workshop_best_evaluation->process_assessments()
|
line 54 of /mod/workshop/aggregate.php: call to workshop_best_evaluation->update_grading_grades()
|
if all allocated assessments have zero weight.
This has been kindly reported by Hiram Bollaert at https://moodle.org/mod/forum/discuss.php?d=242318
Affects all Moodle 2.x versions.