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

Error when switch the role to "Student"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.5.3, 2.6.1
    • Lesson
    • None
    • MOODLE_25_STABLE, MOODLE_26_STABLE

      When I change the role to "Student" to view the lesson, there is the error message as following.

      Error: could not find lesson_timer records

      Debug info:

      Error code: cannotfindtimer

      Stack trace: •line 476 of \lib\setuplib.php: moodle_exception thrown
      •line 1219 of \mod\lesson\locallib.php: call to print_error()
      •line 297 of \mod\lesson\view.php: call to lesson->update_timer()

      I have search on the moodle and find one article:
      https://moodle.org/mod/forum/discuss.php?d=165375
      and read the links in it. But the links are in 2007 and the codes are very different in the version I used: v2.2.10

      I have reproduced the error in v2.5 and the error is the same.

      Thank you in advance!

            Unassigned Unassigned
            mariajc MªÁngeles
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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