dbnschools / moodle-theme_fordson

Theme for Moodle 3.3+
42 stars 40 forks source link

Undefined property error when using Collapsible topics format and switching on integration within Fordson #99

Closed swinster closed 4 years ago

swinster commented 4 years ago

With the format_collapsibletopics plugin installed and the format applied to a course, then in the Fordson them, enable integration with this plugin, you end up with errors on the course page such as:

Notice: Undefined property: stdClass::$sectionprogress in /opt/bitnami/apps/moodle/htdocs/theme/fordson/classes/format_collapsibletopics_renderer.php on line 150

Notice: Undefined property: stdClass::$sectionprogress in /opt/bitnami/apps/moodle/htdocs/theme/fordson/classes/format_collapsibletopics_renderer.php on line 231
dbnschools commented 4 years ago

If you have upgraded to the latest releases of both plugins the issue should have gone away.