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

html_select::override_option_values seems to use a non existing $page variable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      PHP Notice: Undefined variable: page in /var/www/moodle/headcvs/lib/outputcomponents.php on line 612
      PHP Stack trace:
      PHP 1.

      {main}() /var/www/moodle/headcvs/mod/forum/discuss.php:0
      PHP 2. html_select->override_option_values() /var/www/moodle/headcvs/mod/forum/discuss.php:269
      PHP Notice: Trying to get property of non-object in /var/www/moodle/headcvs/lib/outputcomponents.php on line 612
      PHP Stack trace:
      PHP 1. {main}

      () /var/www/moodle/headcvs/mod/forum/discuss.php:0
      PHP 2. html_select->override_option_values() /var/www/moodle/headcvs/mod/forum/discuss.php:269
      PHP Catchable fatal error: Argument 1 passed to moodle_url::compare() must be an instance of moodle_url, null given, called in /var/www/moodle/headcvs/lib/outputcomponents.php on line 612 and defined in /var/www/moodle/headcvs/lib/weblib.php on line 567
      PHP Stack trace:
      PHP 1.

      {main}() /var/www/moodle/headcvs/mod/forum/discuss.php:0
      PHP 2. html_select->override_option_values() /var/www/moodle/headcvs/mod/forum/discuss.php:269
      PHP 3. moodle_url->compare() /var/www/moodle/headcvs/lib/outputcomponents.php:612
      PHP Fatal error: Call to a member function out() on a non-object in /var/www/moodle/headcvs/lib/weblib.php on line 570
      PHP Stack trace:
      PHP 1. {main}

      () /var/www/moodle/headcvs/mod/forum/discuss.php:0
      PHP 2. html_select->override_option_values() /var/www/moodle/headcvs/mod/forum/discuss.php:269
      PHP 3. moodle_url->compare() /var/www/moodle/headcvs/lib/outputcomponents.php:612

      Assigning to you Petr, because of annotate rev 1.34

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            mjollnir Penny Leach
            Tester:
            Nobody
            Participants:
            Component watchers:
            Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10