Синхронизация когорт и дебаг cron

Синхронизация когорт и дебаг cron

от Petr Zakharov -
Количество ответов: 0

UPD. C вопросом практически разобрался.

Перестал работать cron. Вываливается при попытке синхронизации глобальных когорт

Server Time: Thu, 03 Oct 2013 12:38:31 +0700

 Created missing context instances
Cleaned up stale user sessions
Running auth crons if required...
Running enrol crons if required...
Running cron for enrol_cohort...
!!! Не удается найти данную запись в таблице groups базы данных. !!!
!! SELECT * FROM {groups} WHERE id = ?
[array (
  0 => '6903',
)]
Error code: invalidrecord !!
!! Stack trace: * line 1357 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
* line 1333 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
* line 188 of /group/lib.php: call to moodle_database->get_record()
* line 1410 of /lib/enrollib.php: call to groups_remove_member()
* line 232 of /enrol/cohort/locallib.php: call to enrol_plugin->unenrol_user()
* line 136 of /enrol/cohort/lib.php: call to enrol_cohort_sync()
* line 243 of /lib/cronlib.php: call to enrol_cohort_plugin->cron()
* line 88 of /admin/cron.php: call to cron_run()
 !!

Moodle 2.4.6