Massive Course Copy
Maintained by
Jhon Rangel Ardila
The plugin you're developing streamlines the process of duplicating courses in your platform, providing administrators with a faster way to replicate course structures and content without manual recreation.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
After uploading the CSV file, the message below is returned. Do you have any support information?
Exceção - sort(): Argument #1 ($array) must be of type array, bool given
CSV:
copyshortname,fullname,shortname,category,visible,startdate,enddate,enrols
Teste origem, Novo curso, Novo, Disciplinas Graduação, 1, 2026-04-15 00:00:00, 2026-04-20 00:00:00,self
You can use this file: https://github.com/jrangelardila/moodle-tool_copy_courses/blob/master/file_example.csv
Check the file columns
More information about this error