Lesterhuis-Training-en-Consultancy / moodle-format_vsf

Progress section format for Moodle.
1 stars 2 forks source link

M4.1 error | when having module view button NO #5

Closed gemguardian closed 1 year ago

gemguardian commented 1 year ago

@gjb2048 when I turn debuggin on I see the following error appearing. When I use the following settings:

not sure what I am missing but I think it is not that big of a change?

section_activity_summary() is deprecated. Please use core_courseformat\output\local\content\section to render sections. If you need to modify those information, extend core_courseformat\output\local\content\section\cmsummary in your format plugin. line 574 of /course/format/classes/output/section_renderer.php: call to debugging() line 503 of /course/format/vsf/classes/output/renderer.php: call to core_courseformat\output\section_renderer->section_activity_summary() line 567 of /course/format/vsf/classes/output/renderer.php: call to format_vsf\output\renderer->section_activity_summary() line 759 of /course/format/vsf/classes/output/renderer.php: call to format_vsf\output\renderer->display_section() line 66 of /course/format/vsf/format.php: call to format_vsf\output\renderer->multiple_section_page() line 276 of /course/view.php: call to require()

gjb2048 commented 1 year ago

@gemguardian All to do with core course format API changes. I have a fix from Collapsed Topics that I'll transpose.

gemguardian commented 1 year ago

@gjb2048 oh that's great if you could do that please :)

gjb2048 commented 1 year ago

@gemguardian Looks like I already had but is a fault with the code I transposed, now fixed, my bug = no charge.

gemguardian commented 1 year ago

@gjb2048 thank you!