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

Course context not set on report_log produces error


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.7, 3.1.3
    • 3.2
    • Reports

      During the testing of the MDL-55916 I've got the following error after enabling the maintenance mode and trying to access the log report as student:

      Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result
      line 458 of /lib/pagelib.php: call to debugging()
      line 773 of /lib/pagelib.php: call to moodle_page->magic_get_context()
      line 1418 of /lib/weblib.php: call to moodle_page->__get()
      line 1164 of /lib/pagelib.php: call to format_string()
      line 2943 of /lib/weblib.php: call to moodle_page->set_title()
      line 2692 of /lib/moodlelib.php: call to print_maintenance_message()
      line 108 of /report/log/index.php: call to require_login()

            lameze Simey Lameze
            lameze Simey Lameze
            Frédéric Massart Frédéric Massart
            David Monllaó David Monllaó
            James Klarich James Klarich
            0 Vote for this issue
            2 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.