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

Game module returns coding error since update to Moodle 2.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Module: Game
    • Labels:
      None
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      To reproduce error: After upgrading to Moodle 2.4, either click the link to an existing Game module activity (Crossword, Hangman, etc) or create a new Game module activity and click its link. Error seems independent of user role and activity settings.

      Expected behavior: Game module activities should work as usual - crossword, hangman, etc.

      What actually happens: Upon clicking the link to one of the Game module games, the following message is seen by students, teachers, and administrators:

      "Coding error detected, it must be fixed by a programmer: PAGE->yui2_lib() is not available any more, use YUI 2in3 instead, see MDL-34741 for more information."

      A link to "More information about this error" is included.

      With debugging turned on, the following stack trace is returned:

      "Debug info:
      Error code: codingerror
      Stack trace:
      • line 319 of /lib/outputrequirementslib.php: coding_exception thrown
      • line 61 of /mod/game/view.php: call to page_requirements_manager->yui2_lib()"

        Attachments

          Activity

            People

            Assignee:
            bdaloukas Vasilis Daloukas
            Reporter:
            dgmorrow@gmail.com David Morrow
            Participants:
            Component watchers:
            Vasilis Daloukas
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: