Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4
-
None
-
None
-
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()"