-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.4, 4.2
Hi,
If a site administrator access their Moodle site on the Moodle app and they didn't enrol in any course, they will see an error message on the app. This is minor because it only affects the site administrators and the error message can be dismissed.
Exception - Class "course_request" not found
Error code: generalexceptionmessage
- line 3094 of /course/classes/category.php: Error thrown
* line 502 of /blocks/myoverview/classes/output/main.php: call to core_course_category->can_request_course()
* line 51 of /blocks/myoverview/classes/output/renderer.php: call to block_myoverview\output\main->export_for_zero_state_template()
* line 495 of /lib/outputrenderers.php: call to block_myoverview\output\renderer->render_main()
* line 62 of /blocks/myoverview/block_myoverview.php: call to plugin_renderer_base->render()
* line 337 of /blocks/moodleblock.class.php: call to block_myoverview->get_content()
* line 231 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
* line 1231 of /lib/blocklib.php: call to block_base->get_content_for_output()
* line 1289 of /lib/blocklib.php: call to block_manager->create_block_contents()
* line 337 of /lib/blocklib.php: call to block_manager->ensure_content_created()
* line 112 of /blocks/classes/external.php: call to block_manager->get_content_for_all_regions()
* line 291 of /blocks/classes/external.php: call to core_block_external::get_all_current_page_blocks()
* line ? of unknownfile: call to core_block_external::get_dashboard_blocks()
* line 251 of /lib/external/classes/external_api.php: call to call_user_func_array()
* line 550 of /admin/tool/mobile/classes/external.php: call to core_external\external_api::call_external_function()
* line ? of unknownfile: call to tool_mobile\external::call_external_functions()
* line 1499 of /webservice/lib.php: call to call_user_func_array()
* line 1345 of /webservice/lib.php: call to webservice_base_server->execute()
* line 44 of /webservice/rest/server.php: call to webservice_base_server->run()
The same user on LMS/browser see:
Thanks!
Isabel