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

Fatal error on admin settings page for Moodle Reader

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.8
    • Fix Version/s: 2.5.6, 2.6.3, 2.7, 2.8
    • Component/s: Module: Reader
    • Labels:
      None
    • Plugin Version:
      2014101414
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14