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

Undefined function in course activity report

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.7, 2.1
    • 2.0.3
    • Course
    • None

      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.

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.