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

Notice: Undefined index: options in profile edit page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.1.4
    • 3.1, 3.2
    • Forms Library
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_31_STABLE
    • MDL-57209-master
    • Hide
      1. In lib/form/selectgroups.php comment out the line $this->_optGroups[$optgroup]['options'][] = array('text' => $text, 'attr' => $attributes);.
      2. Go to the Profile Page for any user.
      3. Click on the 'Edit Profile' link
      4. Confirm there is no notice.
      Show
      In lib/form/selectgroups.php comment out the line $this->_optGroups [$optgroup] ['options'] [] = array('text' => $text, 'attr' => $attributes); . Go to the Profile Page for any user. Click on the 'Edit Profile' link Confirm there is no notice.

    Description

      This was noticed on a Cloud site and a related fix has been made by damyon in MDL-57205

      Notice: Undefined index: options in /var/www/moodle32s/lib/form/selectgroups.php on line 379

      https://github.com/moodle/moodle/blob/master/lib/form/selectgroups.php#L379

      Attachments

        Issue Links

          Activity

            People

              craig@moodle.com Craig R Morton
              craig@moodle.com Craig R Morton
              Mark Nelson Mark Nelson
              David Monllaó David Monllaó
              Rajesh Taneja Rajesh Taneja
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.