Millionair - error/There are no questions

Millionair - error/There are no questions

by Márton Bacsó -
Number of replies: 2

Dear Moodle users,

When I set up a Millionair game with questions from a test, I usually get the following error message, when I start the program:

"error/There are no questions"

Sometimes it works without any problems, sometimes it doesn't. I can't figure out why. Can anyone help me?

Thank you in advance!

 

P.S.: I am using the latest Moodle 2.5.1 version.

Average of ratings: -
In reply to Márton Bacsó

Re: Millionair - error/There are no questions

by Nikki Macfarlane -

I am getting the same error. I am running Moodle 2.4. It works fine if I use a glossary but does not work if I use a quiz or a question bank. It is the same problem with Snakes and Ladders. I have the latest version of the module - 2013090702

When I turn debugging on this is the info that appears:

 

Debug info:
Error code: There are no questions
$a contents:
Stack trace:
  • line 476 of /lib/setuplib.php: moodle_exception thrown
  • line 396 of /mod/game/locallib.php: call to print_error()
  • line 163 of /mod/game/snakes/play.php: call to game_questions_selectrandom()
  • line 58 of /mod/game/snakes/play.php: call to game_snakes_computenextquestion()
  • line 8 of /mod/game/snakes/play.php: call to game_snakes_play()
  • line 212 of /mod/game/attempt.php: call to game_snakes_continue()
  • line 175 of /mod/game/attempt.php: call to game_create()
  • line 25 of /mod/game/attempt.php: call to game_do_attempt()
In reply to Nikki Macfarlane

Re: Millionair - error/There are no questions

by Nikki Macfarlane -

Anyone have any clues on this? It seems it is happening for several people. I suspected it was something to do with the way I had set the game up or the course types I was using but I cannot find anything that will fix it and without a fix I cannot use the game module for anything other than a glossary. Thanks!!!