You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug Desktop (please complete the following information):
OS: Windows 11
Browser Any
Moodle 4.4
Admin/Plugins/Question types/Gapfill/Import
throws this error:
Exception - count(): Argument how to rectify the error #1 ($value) must be of type Countable|array, stdClass given
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 100 of \question\type\gapfill\import_examples.php: TypeError thrown
line 674 of \lib\formslib.php: call to gapfill_import_form->validation()
line 610 of \lib\formslib.php: call to moodleform->validate_defined_fields()
line 720 of \lib\formslib.php: call to moodleform->is_validated()
line 116 of \question\type\gapfill\import_examples.php: call to moodleform->get_data()
The text was updated successfully, but these errors were encountered:
Describe the bug
Desktop (please complete the following information):
throws this error:
Exception - count(): Argument how to rectify the error #1 ($value) must be of type Countable|array, stdClass given
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 100 of \question\type\gapfill\import_examples.php: TypeError thrown
line 674 of \lib\formslib.php: call to gapfill_import_form->validation()
line 610 of \lib\formslib.php: call to moodleform->validate_defined_fields()
line 720 of \lib\formslib.php: call to moodleform->is_validated()
line 116 of \question\type\gapfill\import_examples.php: call to moodleform->get_data()
The text was updated successfully, but these errors were encountered: