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

Notices in multianswer question after optional_param changes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.1
    • 2.2
    • Questions
    • 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

              skodak Petr Skoda
              samhemelryk Sam Hemelryk
              Sam Hemelryk Sam Hemelryk
              Ankit Agarwal Ankit Agarwal
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/11