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

Glossary settings not working after upgrade to 4.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.3
    • Glossary
    • None
    • MOODLE_403_STABLE

      Hi,

      I upgraded and moved a  moodle installation from 3.6 to 3.11 and then to 4.3. Everything seems to be working just fine except the glossary activity.

      When I add a glossary activity and save it, I can no longer access its settings and get the following message:

       
      Exception - role_get_name(): Argument #1 ($role) must be of type stdClass, null given, called in [dirroot]/lib/accesslib.php on line 4699

      More information about this error
      Debug info:
      Error code: generalexceptionmessage
      {{Stack trace: }}

      • line 4533 of /lib/accesslib.php: TypeError thrown
      • line 4699 of /lib/accesslib.php: call to role_get_name()
      • line 4935 of /lib/accesslib.php: call to role_fix_names()
      • line 710 of /course/moodleform_mod.php: call to get_role_names_with_caps_in_context()
      • line 528 of /course/moodleform_mod.php: call to moodleform_mod->add_rating_settings()
      • line 140 of /mod/glossary/mod_form.php: call to moodleform_mod->standard_coursemodule_elements()
      • line 217 of /lib/formslib.php: call to mod_glossary_mod_form->definition()
      • line 127 of /course/moodleform_mod.php: call to moodleform->__construct()
      • line 161 of /course/modedit.php: call to moodleform_mod->__construct()

      Output buffer: <br /> <b>Warning</b>: Undefined array key 9 in <b>/var/www/html/moodle/lib/accesslib.php</b> on line <b>4932</b><br /> <br /> <b>Warning</b>: Undefined array key 12 in <b>/var/www/html/moodle/lib/accesslib.php</b> on line <b>4932</b><br /> 

            Unassigned Unassigned
            mammar Soulimane Mammar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

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