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

Quiz overview report throws an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.3
    • Quiz
    • None
    • MOODLE_23_STABLE

      PHP Fatal error: Using $this when not in object context in /var/moodle/www/mod/quiz/report/reportlib.php on line 416

      A recent cleanup of the quiz code looks to have left an errant $this-context in the quiz_report_should_show_grades() function in mod/quiz/report/reportlib.php

      This doesn't happen for all quizes, only some. I'll attach a patch which fixes this.

            timhunt Tim Hunt
            nmares Nathan Mares
            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.