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

Instructors unable to run Activity Reports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: General
    • Labels:

      Description

      Having upgraded to Moodle version 2.2 (Build: 20111205) last week, our instructors now encounter the following error as soon as they click the Course -> Reports -> Activity Report link:

      Debug info: Argument 2 passed to has_capability() must be an instance of context, null given, called in /data/web/moodle/report/outline/index.php on line 45 and defined
      Stack trace:
      line 365 of /lib/setuplib.php: coding_exception thrown
      line 348 of /lib/accesslib.php: call to default_error_handler()
      line 45 of /report/outline/index.php: call to has_capability()

      This seems to affect all instructors and all courses.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/12