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

Undefined variable pageid when viewing detailed statistics report tab on an empty lesson

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.3.4, 3.4.1
    • 3.3.3
    • Lesson
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-61042-master
    • Hide
      1. Make sure developer mode is turned on (Site administration / Development / Debugging : Debug messages is set to DEVELOPER).
      2. Login as a teacher.
      3. Create a lesson in a course.
      4. Save and display.
      5. Go to Reports > Detailed statistics.
        • Confirm you don't see any undefined variable notice.
      Show
      Make sure developer mode is turned on (Site administration / Development / Debugging : Debug messages is set to DEVELOPER). Login as a teacher. Create a lesson in a course. Save and display. Go to Reports > Detailed statistics. Confirm you don't see any undefined variable notice.

    Description

      1. Create a lesson.
      2. Right after creation, go to Reports > Detailed statistics.
      3. On the Detailed statistics page, I see the following notice:

        Notice: Undefined variable: pageid in /home/jun/moodles/stable_master/moodle/mod/lesson/locallib.php on line 1066
         
        Notice: Undefined variable: pageid in /home/jun/moodles/stable_master/moodle/mod/lesson/locallib.php on line 1068
        

      Attachments

        Activity

          People

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Shamim Rezaie Shamim Rezaie
            David Monllaó David Monllaó
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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