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

Instructors unable to run Activity Reports

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.1.4, 2.2.1
    • General

    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

              skodak Petr Skoda
              wstone@santarosa.edu Bill Stone
              Sam Hemelryk Sam Hemelryk
              Ankit Agarwal Ankit Agarwal
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/12