-
Bug
-
Resolution: Fixed
-
Blocker
-
2.0.3
-
None
-
Any
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
MDL-28072_coursereport_undefined_function -
Getting the following error when accessing /course/report/outline/index.php?id=2 (2 is a course ID on my system)
Fatal error: Call to undefined function blog_get_associated_count() in /home/andrew/Desktop/git/head/course/report/outline/index.php on line 130
The function exists in blog/lib.php. The addition of a require_once() should do the trick. Sam suggested that some optimizations were made elsewhere that reduced the number of php files included. Thus areas like this that aren't including the files they need will have problems.