Open lassnj opened 3 months ago
Facing the same issue here. Is there a workaround for getting this working?
I manually created a /course/format/renderer.php
file without any content, and it renders. But when I switch to editing mode, it throws a new error:
Call to a member function course_section_add_cm_control() on null
Hi, thanks for this awesome course format. We recently upgraded to Moodle 4.4 and unfortunately, the format is not compatible anymore.
We get the following error message when we try to open a course in this format:
Failed opening required '[dirroot]/course/format/renderer.php' (include_path='[dirroot]/lib/pear:.:/usr/share/php')
This is because the course/format/renderer.php file is required by: https://github.com/JotaDF/moodle-format_trail/blob/bf38570678d8379f160f046e070270f76807fd06/renderer.php#L34C1-L34C61
Which has run into final deprecation by moodle: https://github.com/moodle/moodle/blob/d559cde424aad74cb9a5cd864fbd4f3f6ba5da15/course/format/upgrade.txt#L20-L56
Could you fix this please? Thanks a lot!