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

Undefined property: stdClass::$gradebookroles in student->grade page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Environment:
      Windows 2003 WEB, IIS6.0 PHP5.2.5
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Logged as user, and get it after clicking grade-reports.

      Notice: Undefined property: stdClass::$gradebookroles in I:\WWW\Wewnetrzna\moodle\grade\report\lib.php on line 138

      no roles defined in admin->appearance->graderoles
      Stack trace:
      line 5713 of lib\weblib.php: call to debugging()
      line 139 of grade\report\lib.php: call to error()
      line 76 of grade\report\user\lib.php: call to grade_report->grade_report()
      line 89 of grade\report\user\index.php: call to grade_report_user->grade_report_user()

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            yenidai Lukasz R (Yenidai)
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08