-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.2
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-69751-master -
-
3
-
4.0 holding pattern 7
- That issue was not fixed by
MDL-69079patch in Moodle version 3.9.2+ (Build: 20200918) - There is no guest user in my moodle db.
- When you try add new activity in one course you see message "Invalid User" and system log shows:
[Sat Sep 19 09:35:52.096088 2020] [php:notice] [pid 17403] [client xxx.xxx.186.83:41180] Default exception handler: Invalid user Debug: SELECT id FROM {user} WHERE id = ? AND deleted = ?\n[array (\n 0 => '2305',\n 1 => 0,\n)]\nError code: invaliduser\n* line 1599 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown\n* line 1575 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()\n* line 6554 of /lib/accesslib.php: call to moodle_database->get_record()\n* line 113 of /course/classes/local/service/content_item_service.php: call to context_user::instance()\n* line 282 of /course/classes/local/service/content_item_service.php: call to core_course\\local\\service\\content_item_service->get_recommendations()\n* line 311 of /course/renderer.php: call to core_course\\local\\service\\content_item_service->get_content_items_for_user_in_course()\n* line 866 of /course/format/renderer.php: call to core_course_renderer->course_section_add_cm_control()\n* line 49 of /course/format/weeks/format.php: call to format_section_renderer_base->print_multiple_section_page()\n* line 290 of /course/view.php: call to require()\n, referer: https://moodle.x.x.x/course/view.php?id=1003