I have an error trying to duplicate anything from my site (2.4+) I have run some traces and seems to fall over at this point of modduplicate.php giving me aHTTP Error 500 (Internal Server Error)
$rc = new restore_controller($backupid, $courseid, backup::INTERACTIVE_NO, backup::MODE_IMPORT, $USER->id, backup::TARGET_CURRENT_ADDING);
in backup_controller.class.php it falls at this line
although an earlier trace records it having both the values $this->format and $this->type.
Can anyone be off assistance as to how to proceed?