Moodle 5.2.1, build 20130708
I have one instructor who, when she attempts to view grader report, sees this error:
Notice: Undefined offset: 594 in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Trying to get property of non-object in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Undefined offset: 597 in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Trying to get property of non-object in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Undefined offset: 599 in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Trying to get property of non-object in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Undefined offset: 600 in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Trying to get property of non-object in /home/culturer/public_html/lib/grade/grade_grade.php on line 650
Notice: Undefined offset: 594 in /home/culturer/public_html/lib/grade/grade_grade.php on line 655
Fatal error: Call to a member function is_excluded() on a non-object in /home/culturer/public_html/lib/grade/grade_grade.php on line 655
Line 650 of grade_grade.php is
$values[$itemid] = $grade_grades[$itemid]->finalgrade;
Line 655 of grade_grade.php is
if ($grade_grades[$itemid]->is_excluded()) {
I'm obviously very hesitant to change any of the code as this issue is only happening for one instructor and no one else. For troubleshooting, I removed her from her section as an instructor and added a different instructor, who was able to login with no problems. It appears to be attached to this instructor somehow.
Any and all ideas are very, very welcome.