Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: Issue with Course Restoration in Moodle 4.5.1

$
0
0
by Gloria C.  

Hello,

I tried to comment out these two lines and after that, it will work:

// /backup/moodle2/restore_stepslib.php:1640
$section->section = $this->get_last_section_number($this->get_courseid()) + 1;

// /backup/moodle2/restore_stepslib.php:1662
$this->displace_delegated_sections_after($section->section);

These two lines are trying to reset the section number, which caused the later subsection number conflicted with the previous one.
That is what I found.

Thanks,

Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>