Game
Maintained by
Vasilis Daloukas
The game activity module makes use of questions, quizzes and glossaries to create offer a variety of interactive games.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
In the crossword puzzle, when two words appear in the same row or column, it does not allow an answer to be given to either word and the game cannot be completed.
Excepción - count(): Argument #1 ($value) must be of type Countable|array, null given
Información de depuración:
Error code: generalexceptionmessage
Trazado de la pila (stack):
line 842 of /mod/game/locallib.php: TypeError thrown
line 762 of /mod/game/locallib.php: call to game_questions_shortanswer_quiz()
line 66 of /mod/game/cryptex/play.php: call to game_questions_shortanswer()
line 242 of /mod/game/attempt.php: call to game_cryptex_continue()
line 201 of /mod/game/attempt.php: call to game_create()
line 40 of /mod/game/attempt.php: call to game_do_attempt()
Debugging presents the following additional information:
Notice: Undefined variable: a in /data/shares/vcc/moodle-4.1.5/mod/game/millionaire/play.php on line 394
Warning: count(): Parameter must be an array or an object that implements Countable in /data/shares/vcc/moodle-4.1.5/mod/game/millionaire/play.php on line 394
Stack trace:
line 453 of /mod/game/millionaire/play.php: moodle_exception thrown
line 327 of /mod/game/millionaire/play.php: call to game_millionaire_selectquestion()
line 113 of /mod/game/millionaire/play.php: call to game_millionaire_shownextquestion()
line 64 of /mod/game/millionaire/play.php: call to game_millionaire_play()
line 233 of /mod/game/attempt.php: call to game_millionaire_continue()
line 201 of /mod/game/attempt.php: call to game_create()
line 40 of /mod/game/attempt.php: call to game_do_attempt()
line 84 of /mod/game/view.php: call to require_once()
Thanks again for great jobs done for this plugin.
We now use Moodle 4.1.4 and we accounter a problem concerning question versionning. When using "millionnaire" (but this may be the case with other game types), All question versions are used to build the game. Am I missing something in the configuration ? Is-it possible to limit questions used with the last one published (without deleting "older" question versions) ?
Thanks . (Maybe this question was already asked but can't find it, sorry if this is the case,I should not be alone is that case).