brandaorodrigo / moodle-format_buttons

Buttons is a Moodle course format that creates a menu with buttons in javascript to access the sections, one by one.
https://moodle.org/plugins/format_buttons
GNU General Public License v3.0
10 stars 19 forks source link

Course format not compatible with moodle 4.4 #45

Open lassnj opened 1 week ago

lassnj commented 1 week ago

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: Exception - Failed opening required '[dirroot]/course/format/topics/renderer.php' (include_path='[dirroot]/lib/pear:.:/usr/share/php')

This is because the course/format/topics/renderer.php file is required by: https://github.com/brandaorodrigo/moodle-format_buttons/blob/14821e821e839631180d8b33ed87000ce9b3f421/renderer.php#L28

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!