Hi, we're using Moodle 3.2.1 with LDAP connection. Now, we moving from a Windows server to ubutu server. The problem is the synchronitzation task, doesn't work.
Scheduled task failed: Scheduled task failed: LDAP user synchronization task (auth_ldap \ task \ sync_task), Could not find data logging in the database table of the database
Version:1.0 StartHTML:000000227 EndHTML:000018939 StartFragment:000017924 EndFragment:000018873 StartSelection:000017924 EndSelection:000018873 SourceURL:https://moodle.xxxx.com/admin/tool/task/schedule_task.php
Debug info: SELECT id,category FROM {course} WHERE id IS NULL [array ( )] Backtrace: * line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select() * line 6644 of /lib/accesslib.php: call to moodle_database->get_record() * line 70 of /lib/classes/event/grade_deleted.php: call to context_course::instance() * line 1036 of /lib/grade/grade_grade.php: call to core\event\grade_deleted::create_from_grade() * line 1498 of /lib/gradelib.php: call to grade_grade->delete() * line 4063 of /lib/moodlelib.php: call to grade_user_delete() * line 770 of /auth/ldap/auth.php: call to delete_user() * line 50 of /auth/ldap/classes/task/sync_task.php: call to auth_plugin_ldap->sync_users() * line 141 of /lib/cronlib.php: call to auth_ldap\task\sync_task->execute() * line 249 of /lib/cronlib.php: call to cron_run_inner_scheduled_task() * line 91 of /admin/tool/task/schedule_task.php: call to cron_run_single_task()
Any idea?? Thank you very much!