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 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 `/**