by Hosein Naseri.
I cleared the recycle bin. now it seems the problem is gone for a while. However Im facing another problem. when I want to manually backup a course, I get the following error:
Debug info: MySQL server has gone away
SELECT COUNT(*)
FROM mdl_backup_ids_temp b
JOIN mdl_user u ON u.id = b.itemid
WHERE b.backupid = ?
AND b.itemname = 'userfinal'
AND u.mnethostid != ?
[array (
0 => '84c015347121934fd7a64c672a6116dd',
1 => '1',
)]
Error code: dmlreadexception
Stack trace:SELECT COUNT(*)
FROM mdl_backup_ids_temp b
JOIN mdl_user u ON u.id = b.itemid
WHERE b.backupid = ?
AND b.itemname = 'userfinal'
AND u.mnethostid != ?
[array (
0 => '84c015347121934fd7a64c672a6116dd',
1 => '1',
)]
Error code: dmlreadexception
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1216 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1571 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1644 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
- line 1854 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
- line 477 of /backup/util/dbops/backup_controller_dbops.class.php: call to moodle_database->count_records_sql()
- line 1797 of /backup/moodle2/backup_stepslib.php: call to backup_controller_dbops::backup_includes_mnet_remote_users()
- line 88 of /backup/util/plan/backup_structure_step.class.php: call to backup_main_structure_step->define_structure()
- line 181 of /backup/util/plan/base_task.class.php: call to backup_structure_step->execute()
- line 178 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
- line 120 of /backup/util/plan/backup_plan.class.php: call to base_plan->execute()
- line 322 of /backup/controller/backup_controller.class.php: call to backup_plan->execute()
- line 136 of /backup/util/ui/backup_ui.class.php: call to backup_controller->execute_plan()
- line 142 of /backup/backup.php: call to backup_ui->execute()