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

Random glossary entry block no longer displays "random" or "next" entries and shows error message on hiding

      As noticed by me on the upgraded Mount Orange site and in the Moodle.org forums Error in random glossary entry block - since the upgrade to 5.0 if you have a randlom glossary entry block where the display is 'random' (or 'next') then the entries don't display and if you try to hide the block you get an error message.

      Warning: Undefined array key 4 in /path/to/your/moodle/blocks/glossary_random/block_glossary_random.php on line 99

       

      Script /course/view.php?id=4 mutated the session after it was closed: $SESSION->editedpages  
          line 807 of /lib/classes/session/manager.php: call to debugging()  
          line 167 of /lib/classes/shutdown_manager.php: call to core\session\manager::check_mutated_closed_session()  
          line ? of unknownfile: call to core_shutdown_manager::shutdown_handler()

      You can see this by logging into the Mount Orange site as above with username teacher and password moodle25 and going to , for example Mindful course creation

      Check the random glossary entry block. (Other courses using the block are Celebrating Cultures  id=59 and Psychology in CInema id=62

            pholden Paul Holden
            marycooch Mary Cooch
            Jayce Birrell Jayce Birrell
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 21 minutes
                21m

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