-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
3.8.2, 3.8.3
-
None
-
MOODLE_38_STABLE
Steps to reproduce:
- Go to a course with the block or add the block to the course
- Turn editing ON
- Click on the block's cog and choose Configure Progress Bar block
Message:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/otatarintseva/Storage/html/enovation_demo_38_2/blocks/progress/edit_form.php on line 309
Call Stack:
- Time Memory Function Location
1 0.0000 398072 {main}( ) .../view.php:0
2 0.0872 5468616 theme_classic\output\core_renderer->header( ) .../view.php:244
3 0.0876 5469104 moodle_page->set_state( ) .../outputrenderers.php:1308
4 0.0876 5469104 moodle_page->starting_output( ) .../pagelib.php:985
5 0.0887 5487856 block_manager->process_url_actions( ) .../pagelib.php:1500
6 0.0887 5561584 block_manager->process_url_edit( ) .../blocklib.php:1399
7 0.0951 6094912 block_progress_edit_form->__construct( ) .../blocklib.php:1654
8 0.0951 6094912 block_progress_edit_form->__construct( ) .../edit_form.php:63
9 0.0978 6186240 block_progress_edit_form->definition( ) .../formslib.php:214
10 0.0978 6186264 block_progress_edit_form->specific_definition( ) .../edit_form.php:70