We have same problem activity chooser broken, if we change course preferences > Enable activity chooser > un tick it will produce an error on the page
Debug info: SELECT id FROM {user} WHERE id = ? AND deleted = ?
[array (
0 => '1515',
1 => 0,
)]
Error code: invaliduser
Stack trace:
line 1599 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1575 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 6496 of /lib/accesslib.php: call to moodle_database->get_record()
line 108 of /course/classes/local/service/content_item_service.php: call to context_user::instance()
line 277 of /course/classes/local/service/content_item_service.php: call to core_course\local\service\content_item_service->get_recommendations()
line 391 of /course/format/singleactivity/lib.php: call to core_course\local\service\content_item_service->get_content_items_for_user_in_course()
line 462 of /course/format/singleactivity/lib.php: call to format_singleactivity->activity_has_subtypes()
line 1033 of /lib/pagelib.php: call to format_singleactivity->page_set_course()
line 2815 of /lib/moodlelib.php: call to moodle_page->set_course()
line 58 of /course/view.php: call to require_login()
with activity chooser enabled we get the spinning circle if I open console i get
first.js:111 Uncaught (in promise) Object
first.js:111 Uncaught (in promise) {message: "Invalid user", errorcode: "invaliduser", link: "sitename", moreinfourl: "
http://docs.moodle.org/39/en/error/moodle/invaliduser"}
m @ first.js:111
g @ first.js:111
Promise.then (async)
m @ first.js:111
f @ first.js:111
Promise.then (async)
m @ first.js:111
f @ first.js:111
(anonymous) @ first.js:111
(anonymous) @ first.js:111
(anonymous) @ first.js:111