by llywelyn morgan.
I'm getting the same problem.
I changed both courses to Topics format, as suggested by Mark, but am still getting the following error:
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 => '7d5b5918ec703b366e8a5aaf90f46a99',
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 => '7d5b5918ec703b366e8a5aaf90f46a99',
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 147 of \backup\util\ui\restore_ui.class.php: call to restore_controller->execute_plan()
- line 46 of \backup\restore.php: call to restore_ui->execute()