by Blair F..
On our Moodle 4.1.7 site, our failed task logs keep reporting this type of thing for two different course IDs, which I've confirmed have been deleted:
Execute adhoc task: core\task\asynchronous_restore_task
Adhoc task id: 2571350
Adhoc task custom data: {"backupid":"4f9c7dc39db52dfa95eb407c9f5a685e"}
... started 04:08:29. Current memory use 72.5 MB.
Debugging increased temporarily due to faildelay of 86400
Processing asynchronous restore for id: 4f9c7dc39db52dfa95eb407c9f5a685e
... used 4 dbqueries
... used 1.6881589889526 seconds
Adhoc task failed: core\task\asynchronous_restore_task,Can't find data record in database table course.
Debug info:
SELECT id,category FROM {course} WHERE id = ?
[array (
0 => 14354,
)]
Backtrace:
* line 1630 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
Any idea how to handle this so that these errors cease?
Thanks, in advance.