Gradebook timeout due to missing Grade Categories

Gradebook timeout due to missing Grade Categories

by Kevin Orlowski -
Number of replies: 0
Hi All, Somewhat unique/strange issue here. We are running v1.9.8 side by side with v2.2.4+ as we transition our campus to Moodle2. We have moved a larger portion of Faculty over to 2 this past semester so we have had a larger number of courses that were backed up in 1.9.8 and restored in 2.2.4+ with the help of our Learning Technologies group. We are now starting to see a subset of gradebooks timing out and not loading successfully. After some research it seems like this is somehow tied to Grade Categories. It appears like the categories did not survive the backup/restore process and we are seeing a large number of these errors in our logs: :[31-Oct-2012 13:09:52 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /web/pscpages/webapp/courses2/lib/grade/grade_category.php on line 1168 [31-Oct-2012 13:09:52 UTC] PHP Notice: Undefined property: stdClass::$path in /web/pscpages/webapp/courses2/lib/grade/grade_category.php on line 1184 [31-Oct-2012 13:09:52 UTC] PHP Notice: Undefined property: stdClass::$id in /web/pscpages/webapp/courses2/lib/grade/grade_category.php on line 1184 [31-Oct-2012 13:09:52 UTC] PHP Notice: Undefined property: stdClass::$id in /web/pscpages/webapp/courses2/lib/grade/grade_category.php on line 1186 [31-Oct-2012 13:09:52 UTC] PHP Notice: Undefined index: in /web/pscpages/webapp/courses2/lib/grade/grade_category.php on line 1168 It seems like these errors are pushing things past some php processing limits. There are references to some issues with Grade Categories within the backup/restore process in versions past (http://tracker.moodle.org/browse/MDL-21045) but I have been unable to find anything with the specific versions we have in play. Has anyone seen anything like this? or have tips on ways to get those categories to come across in a backup/restore from v1 to v2?