You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing required function equella_update_grades in lib.php
Stacktrace:
You have declared one of equella_grade_item_update and equella_update_grades but not both. This will cause broken behaviour.
• line 1401 of /lib/gradelib.php: call to debugging()
• line 1367 of /lib/gradelib.php: call to grade_update_mod_grades()
• line 1121 of /lib/gradelib.php: call to grade_grab_course_grades()
• line 2006 of /lib/enrollib.php: call to grade_recover_history_grades()
• line 207 of /enrol/cohort/locallib.php: call to enrol_plugin->enrol_user()
• line 120 of /enrol/cohort/lib.php: call to enrol_cohort_sync()
• line 96 of /enrol/editinstance.php: call to enrol_cohort_plugin->add_instance()
Platform:
Moodle version = 2019052009.00 (v3.7.9)
Plugin version = 2019050800;
To Reproduce:
Enable cohort sync enrolment method
Create a system cohort
Add students to cohort
Create a course
Add cohort sync enrolment method to course, choose cohort previously created
The text was updated successfully, but these errors were encountered:
Just a quick check on the impact. Does it just result in stacktraces, or does it also impact your moodle and/or the oEQ Moodle Module from functioning?
I don't think the function has an impact on module functioning that I know of. This message only displays with the developer debugging turned on. There is no real information or indication to why this would cause broken behaviour.
If you leave this open I can work on the fix when I get a few minutes spare ;-) The fix looks straight forward based on having a quick at other modules implementation.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stalebot
added
the
stale
Issues with no recent activity, which will be automatically closed but kept for future reference.
label
Jun 2, 2021
Missing required function equella_update_grades in lib.php
Stacktrace:
You have declared one of equella_grade_item_update and equella_update_grades but not both. This will cause broken behaviour.
• line 1401 of /lib/gradelib.php: call to debugging()
• line 1367 of /lib/gradelib.php: call to grade_update_mod_grades()
• line 1121 of /lib/gradelib.php: call to grade_grab_course_grades()
• line 2006 of /lib/enrollib.php: call to grade_recover_history_grades()
• line 207 of /enrol/cohort/locallib.php: call to enrol_plugin->enrol_user()
• line 120 of /enrol/cohort/lib.php: call to enrol_cohort_sync()
• line 96 of /enrol/editinstance.php: call to enrol_cohort_plugin->add_instance()
Platform:
Moodle version = 2019052009.00 (v3.7.9)
Plugin version = 2019050800;
To Reproduce:
The text was updated successfully, but these errors were encountered: