-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moodle 4.3 and Snap 4.3.4 (2024061702) #284
Comments
I am having the same problem with Snap theme PHP 8.1 Moodle version 4.3. Snap is using a method (core_course_renderer::course_section_cm_completion) that has been removed from core Moodle in 4.3+ === 4.3 ===
Alongside with that, the following methods have been deprecated too:
|
Yeah, I don't know how this one got past testing. There have been debugging warnings about I can upgrade to Moodle 4.1 and use snap 4.1 because
What's weird is that this isn't a little edge case - you can't even log in without going to and even then clicking into any course generates that same error. Again, how this got past testing is a mystery. I love Snap and I appreciate that it is open source and developed by volunteers, but it seems a little irresponsible to be releasing upgrades that are fundamentally broken, setting aside the fact that we are stuck at 4.1 (an unsupported version while the latest Moodle is at 4.5) Devs, if we could know if you are planning on fixing this for 4.3 or are focusing on support for 4.5 it would be much appreciated and help us in developing workarounds at our end |
The method in question is deprecated since Moodle 3.11 and should not be used. This is the method in the theme.
public function course_section_cm_completion($course, &$completioninfo, cm_info $mod, $displayoptions = []) {
And this is moodle 4.3
/** * @deprecated since Moodle 3.11 */ public function course_section_cm_completion() { throw new coding_exception(__FUNCTION__ . ' is deprecated. Use the activity_completion output component instead.'); }
The text was updated successfully, but these errors were encountered: