After creating a cluster for a lesson and accessed the lesson again I've received an error:
Debug info:
Error code: cannotfindpages
Stack trace: * line 482 of /lib/setuplib.php: moodle_exception thrown
- line 4946 of /mod/lesson/locallib.php: call to print_error()
- line 2232 of /mod/lesson/locallib.php: call to lesson_page_type_manager->load_page()
- line 3176 of /mod/lesson/locallib.php: call to lesson->load_page()
- line 217 of /mod/lesson/view.php: call to lesson->prepare_page_and_contents()
Steps to reproduce:
- Login as an Admin
- Create a Lesson activity
- Add cluster to the lesson (Only a cluster, no other questions)
- Login as a Student (enrolled in the course)
- Access the Lesson
The error is displayed.
- is duplicated by
-
MDL-79823 "Could not find lesson pages" when adding a cluster without questions
-
- Open
-