Tried to delete several users who have never logged in with bulk deletion, but I am unable to perform that:
Debug-Info: SELECT id,category FROM {course} WHERE id = ?
[array (
0 => '28303',
)]
Error code: invalidrecord
There´s no such id in the database, do you have any suggestions what could be the reason?
Are there better ways to delete unused accounts, which were never used?
Tried also Stefans way, but the query does not find any data, so that should be ok.
https://moodle.org/mod/forum/discuss.php?d=386541
https://moodle.org/mod/forum/discuss.php?d=386490
Running Moodle 3.9.8
Thanks a lot!
Tom