Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28072

Undefined function in course activity report

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.7, 2.1
    • Component/s: Course
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Jul/11