Bonjour,
Après lancement d'une tâche cron en manuel pour un test de durée d'exécution, je découvre ce message en fin de tâche.
Adhoc task failed: core_course\task\course_delete_modules,Erreur de programmation détectée. Ceci doit être corrigé par un programmeur : The course module 9 could not be deleted. #0 /home/idheo/public_html/moodle.idheo.com/moodle32/lib/datalib.php(1297): moodle_database->get_record_sql('SELECT cm.*, m....', Array, 2) #1 /home/idheo/public_html/moodle.idheo.com/moodle32/backup/util/checks/backup_check.class.php(120): get_coursemodule_from_id(NULL, '9', '2', false, 2) #2 /home/idheo/public_html/moodle.idheo.com/moodle32/backup/controller/backup_controller.class.php(136): backup_check::check_security(Object(backup_controller), true) #3 /home/idheo/public_html/moodle.idheo.com/moodle32/admin/tool/recyclebin/classes/course_bin.php(124): backup_controller->__construct('activity', '9', 'moodle2', false, 10, '2') #4 /home/idheo/public_html/moodle.idheo.com/moodle32/admin/tool/recyclebin/lib.php(151): tool_recyclebin\course_bin->store_item(Object(stdClass)) #5 /home/idheo/public_html/moodle.idheo.com/moodle32/course/lib.php(1136): tool_recyclebin_pre_course_module_delete(Object(stdClass)) #6 /home/idheo/public_html/moodle.idheo.com/moodle32/course/classes/task/course_delete_modules.php(66): course_delete_module('9') #7 /home/idheo/public_html/moodle.idheo.com/moodle32/lib/cronlib.php(119): core_course\task\course_delete_modules->execute() #8 /home/idheo/public_html/moodle.idheo.com/moodle32/admin/cron.php(81): cron_run() #9 {main} Cron script completed correctly Cron completed at 19:00:53. Memory used 15.5Mo. Execution took 1.133567 seconds
Quel peut être ce module 9 en défaut ?
Un cours mal configuré à modifier ou à supprimer ?
Merci