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

Graph of Report "Course Overview" is not show

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.3, 1.9
    • 1.8.2
    • Administration
    • None
    • Linux/Windows
    • MySQL
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      The graph of "Course Overview" report is not show.

      With the Debug enabled, the following message is show:

      <br />
      <b>Notice</b>: Undefined variable: course in <b>.../moodle/admin/report/courseoverview/reportsgraph.php</b> on line <b>15</b><br />
      <br />
      <b>Notice</b>: Trying to get property of non-object in <b>.../moodle/admin/report/courseoverview/reportsgraph.php</b> on line <b>15</b><br />

      Solution:

      Before the code on the line 15 of this file, include this code:

      $course = get_site();

      And graphs works fine!

            dougiamas Martin Dougiamas
            progdan Daniel Arndt Alves
            Nobody Nobody
            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.