Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5350

Fatal error on admin settings page for Moodle Reader

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.8
    • 2.5.6, 2.6.3, 2.7, 2.8
    • Module: Reader
    • None
    • 2014101414
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

    Description

      I got the following error when upgrading Moodle reader on http://hub.moodlejapan.org

      Fatal error: Call to undefined method admin_setting_configduration::set_advanced_flag_options() in /home/majhub/moodle/mod/reader/settings.php on line 50

      It looks like Reader expects set_advanced_flag_options to be available in post moodle 2.4 versions, but it is not present in 2.5.8 ( class admin_setting in file /lib/adminlib.php )

      I just tweaked the setting.php code so on our site that Reader reverted to pre moodle 2.4 code for that bit, and we got past the error.

      Attachments

        Activity

          People

            xxxxxxx Gordon Bateson
            jhunt Justin Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14