Completion Progress
Maintained by
Jonathon Fowler
The Completion Progress block is a time-management tool for students.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
We are using it extensively and it helps a lot of learners and teachers in Montreal, Canada.
Unfortunately, since our recent update (3.9.13+), the behavior of the “selected activities” configuration changed. Once some activities had been selected for the block, it's not possible to add more activities from the course. The current workaround is to change the activities included to “All activities with completion set”, save and the change it again for “selected activities”.
Is there other Moodle admins aware of this behavior?
Thanks a lot!
Will the plugin be updated to support PHP 8.x?
to address this as per 2-Feb comment "as a workaround try changing `method_exists($cm->url, 'out')` to `is_a($cm->url, 'moodle_url')` on lib.php:306."
We are currently using Version for Moodle 3.5 onwards (2020081000) for completion progress and when a student submits a quiz the tab remains blue and does not turn yellow if the trainer/teacher has not marked the quiz submission.
If we upgrade to Version for Moodle 3.8 onwards (2021070900) would quiz submissions not not marked by the trainer/teacher turn to yellow and not remain blue?
Thank you
Daniel (Moodle 3.10.3)
Error
Exception - method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 306 of /blocks/completion_progress/lib.php: TypeError thrown
line 306 of /blocks/completion_progress/lib.php: call to method_exists()
line 244 of /blocks/completion_progress/block_completion_progress.php: call to block_completion_progress_get_activities()
line 341 of /blocks/moodleblock.class.php: call to block_completion_progress->get_content()
line 235 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 374 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 3980 of /lib/outputrenderers.php: call to block_manager->region_has_content()
line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
line 1396 of /lib/outputrenderers.php: call to include()
line 1326 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 245 of /course/view.php: call to core_renderer->header()
I'm not in a position to develop that any more, but hopefully Jono can look into that. Shelby: you might want to write this up in the Moodle Tracker on on the plugin's Git repo.