moodleou / moodle-mod_oublog

Alternative blog module for Moodle 2 (including course blogs)
31 stars 27 forks source link

exception call to undefined function oublog_get_activity_groupmode() when viewing recent activity in 3.8 #107

Closed sgparry closed 4 years ago

sgparry commented 4 years ago

I have Moodle 3.8.3+ (Build: 20200704) and the latest MOODLE_38_STABLE (also tried master). If I go to /course/recent.php and set a time period that includes blog updates I get an exception: call to undefined function oublog_get_activity_groupmode()

sgparry commented 4 years ago

added: require_once("locallib.php"); at line 29 of lib.php fixed the issue - not sure if it's the best solution but...