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

Undefined property: stdClass::$grade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
      None
    • Environment:
      php5
      mysql5
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_17_STABLE

      Description

      student login into lesson, with debugging set to max (developer):

      Notice: Undefined property: stdClass::$grade in /www/www.learn2speak.eu/lib/moodlelib.php(4360) : eval()'d code on line 1

      apparently as a consequence of this, percentage grade for the lesson in 3rd party module certificate is always 0%

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            howardsmiller Howard Miller added a comment -

            I think this has been fixed by the new gradebook. I don't think this is going to be resolved for 1.7 now. I'm therefore closing. If it's still an issue in recent versions on Moodle, please reopen.

            Show
            howardsmiller Howard Miller added a comment - I think this has been fixed by the new gradebook. I don't think this is going to be resolved for 1.7 now. I'm therefore closing. If it's still an issue in recent versions on Moodle, please reopen.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: