-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.5, 2.6.2
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
MDL-45048-master -
Steps to reproduce:
- enablecompletion and enableavailability
- Create a course and add page activity
- Add grade restriction and set min grade "XYZ"
- Save and you will see following warning
Invalid array parameter detected in required_param(): page
line 637 of /lib/moodlelib.php: call to debugging()
line 48 of /repository/wikimedia/lib.php: call to optional_param()
line 2929 of /repository/lib.php: call to repository_wikimedia->__construct()
line 81 of /cache/lib.php: call to repository::wake_from_cache()
line 223 of /cache/lib.php: call to cache_cached_object->restore_object()
line 81 of /cache/lib.php: call to cacheable_object_array::wake_from_cache()
line 310 of /cache/classes/loaders.php: call to cache_cached_object->restore_object()
line 1074 of /repository/lib.php: call to cache->get()
line 3263 of /repository/lib.php: call to repository::get_instances()
line 342 of /lib/form/editor.php: call to initialise_filepicker()
line 183 of /lib/pear/HTML/QuickForm/Renderer/Tableless.php: call to MoodleQuickForm_editor->toHtml()
line 2773 of /lib/formslib.php: call to HTML_QuickForm_Renderer_Tableless->renderElement()
line 403 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_Renderer->renderElement()
line 1632 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm_element->accept()
line 1694 of /lib/formslib.php: call to HTML_QuickForm->accept()
line 1675 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm->accept()
line 435 of /lib/pear/HTML/Common.php: call to HTML_QuickForm->toHtml()
line 204 of /lib/pear/HTML/QuickForm/DHTMLRulesTableless.php: call to HTML_Common->display()
line 921 of /lib/formslib.php: call to HTML_QuickForm_DHTMLRulesTableless->display()
line 314 of /course/modedit.php: call to moodleform->display()
- Testing discovered
-
MDL-44070 Conditional availability: Enhancements including OR conditions, plugins
-
- Closed
-