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

php notice displayed while viewing user report

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Gradebook
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Under Site Administration clicked on Users -> Accounts -> Browse Users and picked a student. A users branch is added to the navigation tree. Clicked on Users -> (user name) -> Activity reports -> Grades and got the following error.

      Notice: Undefined index: 1 in /home/andrew/Desktop/repos/moodle/lib/grade/grade_item.php on line 1954
      Call Stack

      1. Time Memory Function Location
        1 0.0021 398376 {main}

        ( ) ../user.php:0
        2 0.9016 86617072 grade_report_user_profilereport( ) ../user.php:169
        3 0.9050 86676112 grade_report_user->fill_table( ) ../lib.php:502
        4 0.9050 86676112 grade_report_user->fill_table_recursive( ) ../lib.php:189
        5 0.9056 86682688 grade_report_user->fill_table_recursive( ) ../lib.php:360
        6 0.9077 86704544 grade_item->get_formatted_range( ) ../lib.php:335

      The url is course/user.php?user=5&id=1&mode=grade

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            Nobody Nobody (Inactive)
            Votes:
            0 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.