by llywelyn morgan.
I'm also getting the following errors when trying to import one course's files into another:
Debug info: Unknown column 't.entrytext' in 'field list'
SELECT t.id, t.entrytext, t.exittext
FROM mdl_taskchain t
JOIN mdl_backup_ids_temp b ON b.newitemid = t.id
WHERE b.backupid = ?
AND b.itemname = ?
[array (
0 => '1f9d50f29d859f7fa22595d5aac8b4d8',
1 => 'taskchain',
)]
Error code: dmlreadexception
SELECT t.id, t.entrytext, t.exittext
FROM mdl_taskchain t
JOIN mdl_backup_ids_temp b ON b.newitemid = t.id
WHERE b.backupid = ?
AND b.itemname = ?
[array (
0 => '1f9d50f29d859f7fa22595d5aac8b4d8',
1 => 'taskchain',
)]
Error code: dmlreadexception
Stack trace:
- line 423 of \lib\dml\moodle_database.php: dml_read_exception thrown
- line 942 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 103 of \backup\util\helper\restore_decode_content.class.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 72 of \backup\util\helper\restore_decode_content.class.php: call to restore_decode_content->get_iterator()
- line 81 of \backup\util\helper\restore_decode_processor.class.php: call to restore_decode_content->process()
- line 450 of \backup\moodle2\restore_stepslib.php: call to restore_decode_processor->execute()
- line 34 of \backup\util\plan\restore_execution_step.class.php: call to restore_decode_interlinks->define_execution()
- line 153 of \backup\util\plan\base_task.class.php: call to restore_execution_step->execute()
- line 163 of \backup\util\plan\base_plan.class.php: call to base_task->execute()
- line 157 of \backup\util\plan\restore_plan.class.php: call to base_plan->execute()
- line 315 of \backup\controller\restore_controller.class.php: call to restore_plan->execute()
- line 132 of \backup\import.php: call to restore_controller->execute_plan()