I am using Moodle 2.4.5+. I updated to the latest game module recently and am unable to create new millionaire games. Existing games work fine. Other games work fine. The stack trace is below.
[array (
0 => '2718',
)]
Error code: invalidrecord
- line 1357 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
- line 1333 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
- line 6816 of /lib/accesslib.php: call to moodle_database->get_record()
- line 2040 of /mod/game/locallib.php: call to context_module::instance()
- line 2054 of /mod/game/locallib.php: call to game_get_context_module_instance()
- line 180 of /mod/game/millionaire/play.php: call to game_show_query()
- line 277 of /mod/game/millionaire/play.php: call to game_millionaire_showgrid()
- line 81 of /mod/game/millionaire/play.php: call to game_millionaire_ShowNextQuestion()
- line 22 of /mod/game/millionaire/play.php: call to game_millionaire_play()
- line 200 of /mod/game/attempt.php: call to game_millionaire_continue()
- line 175 of /mod/game/attempt.php: call to game_create()
- line 25 of /mod/game/attempt.php: call to game_do_attempt()