Hi,
habe mal wieder eine technische Frage, in der Hoffnung dass mir die jemand beantworten kann.
Bei dem Task mod_assign\task\cron_task kommt es immer wieder zu einer Fehlermeldung.
--------------------------------
Query took: 0.00025796890258789 seconds.
--------------------------------
--------------------------------
SELECT cm.*, m.name, md.name AS modname
FROM mdl_course_modules cm
JOIN mdl_modules md ON md.id = cm.module
JOIN mdl_assign m ON m.id = cm.instance
WHERE m.id = ? AND md.name = ?
[array (
0 => \'41\',
1 => \'assign\',
)]
--------------------------------
Query took: 0.00084090232849121 seconds.
--------------------------------
--------------------------------
SELECT * FROM mdl_course WHERE id = ?
[array (
0 => \'12\',
)]
--------------------------------
Query took: 0.00048089027404785 seconds.
--------------------------------
... used 111 dbqueries
... used 0.128986120224 seconds
Scheduled task failed: Hintergrundprozess für das Aufgabenmodul (mod_assign\\task\\cron_task),Ungültige Kursmodul-ID
Backtrace:
* line 1787 of /mod/assign/locallib.php: call to course_modinfo->get_cm()
* line 1679 of /mod/assign/locallib.php: call to assign->get_course_module()
* line 1697 of /mod/assign/locallib.php: call to assign->get_default_instance()
* line 1346 of /mod/assign/locallib.php: call to assign->get_instance()
* line 2761 of /mod/assign/locallib.php: call to assign->update_calendar()
* line 44 of /mod/assign/classes/task/cron_task.php: call to assign::cron()
* line 163 of /admin/tool/task/cli/schedule_task.php: call to mod_assign\\task\\cron_task->execute()
Es wird wohl auf ein Modul verwiesen, was es im Kurs aber nicht mehr gibt.
Könnte man dies mit einem DELETE Befehl sauber entfernen?
Lg
Pia