catalyst / totara-mod-ojt

https://github.com/catalyst/totara-mod-ojt/wiki
5 stars 21 forks source link

Evaluate students page not working in Totara 13 #28

Closed K-GavinWilliamsonKing closed 3 years ago

K-GavinWilliamsonKing commented 3 years ago

In version 13.1 after going to OJT administration > Evaluate students an error is thrown, presumably because the embedded report doesn't have a content class.

Error info below:

Content class \totara_reportbuilder\rb\content\ojt_completion_type does not exist

Debug info: Error code: contentclassnotexist Stack trace: line 494 of /lib/setuplib.php: moodle_exception thrown line 3133 of /totara/reportbuilder/lib.php: call to print_error() line 4467 of /totara/reportbuilder/lib.php: call to reportbuilder->get_content_restrictions() line 4240 of /totara/reportbuilder/lib.php: call to reportbuilder->collect_restrictions() line 5043 of /totara/reportbuilder/lib.php: call to reportbuilder->build_query() line 5030 of /totara/reportbuilder/lib.php: call to reportbuilder->get_data() line 4933 of /totara/reportbuilder/lib.php: call to reportbuilder->get_data_for_table() line 94 of /mod/ojt/report.php: call to reportbuilder->display_table()