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

Error page throw notice

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.8, 2.4.5, 2.5.1
    • 2.4.6, 2.5.2
    • Administration

    Description

      Log in as admin user and navigate to MOODLE_SITE/error and you will observer following notice

      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 451 of /lib/pagelib.php: call to debugging()
      line 734 of /lib/pagelib.php: call to moodle_page->magic_get_context()
      line 1342 of /lib/weblib.php: call to moodle_page->__get()
      line 1091 of /lib/pagelib.php: call to format_string()
      line 52 of /error/index.php: call to moodle_page->set_title()
      

      Attachments

        Activity

          People

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Sep/13