Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29175

Notices in multianswer question after optional_param changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2
    • Component/s: Questions
    • Labels:
      None

      Description

      Invalid array parameter detected in required_param(): questiontext

      line 555 of /lib/moodlelib.php: call to debugging()
      line 94 of /question/type/multianswer/edit_multianswer_form.php: call to optional_param()
      line 165 of /question/type/edit_question_form.php: call to qtype_multianswer_edit_form->definition_inner()
      line 154 of /lib/formslib.php: call to question_edit_form->definition()
      line 80 of /question/type/edit_question_form.php: call to moodleform->moodleform()
      line 79 of /question/type/multianswer/edit_multianswer_form.php: call to question_edit_form->__construct()
      line 231 of /question/type/questiontypebase.php: call to qtype_multianswer_edit_form->__construct()
      line 197 of /question/question.php: call to question_type->create_editing_form()

      Invalid array parameter detected in required_param(): questiontext

      line 555 of /lib/moodlelib.php: call to debugging()
      line 96 of /question/type/multianswer/edit_multianswer_form.php: call to optional_param()
      line 165 of /question/type/edit_question_form.php: call to qtype_multianswer_edit_form->definition_inner()
      line 154 of /lib/formslib.php: call to question_edit_form->definition()
      line 80 of /question/type/edit_question_form.php: call to moodleform->moodleform()
      line 79 of /question/type/multianswer/edit_multianswer_form.php: call to question_edit_form->__construct()
      line 231 of /question/type/questiontypebase.php: call to qtype_multianswer_edit_form->__construct()
      line 197 of /question/question.php: call to question_type->create_editing_form()

      Check out MDL-29064 for details on where this was found and how to reproduce if needed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/11