Hi
We´ve got a strange error. Since Moodle 3.2.1 - if a admin click on messages comes the error warning "Invalid user". The debug shows me:
Debug info: SELECT id FROM {user} WHERE id = ? AND deleted = ?
[array (
0 => '4597',
1 => 0,
)]
Error code: invaliduser
Stack trace:
line 1526 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1502 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 6188 of /lib/accesslib.php: call to moodle_database->get_record()
line 282 of /user/lib.php: call to context_user::instance()
line 203 of /message/classes/helper.php: call to user_get_user_details()
line 182 of /message/classes/helper.php: call to core_message\helper::show_online_status()
line 497 of /message/classes/api.php: call to core_message\helper::create_contact()
line 108 of /message/index.php: call to core_message\api::get_conversations()
All other users (Role student, teacher) have no problems to call the messages. Any help for me?
Greets Andreas