error/There are no words game: hangman version: 3.8.22

error/There are no words game: hangman version: 3.8.22

by Thelma Polanco-Perez -
Number of replies: 6

Hi,

I installed the latest game version: 3.8.22 on my test server running Moodle v. 2.5.1. I got the following error:

Debug info: 
Error code: There are no words
$a contents:

Stack trace:
  • line 476 of /lib/setuplib.php: moodle_exception thrown
  • line 112 of /mod/game/hangman/play.php: call to print_error()
  • line 197 of /mod/game/attempt.php: call to game_hangman_continue()
  • line 175 of /mod/game/attempt.php: call to game_create()
  • line 25 of /mod/game/attempt.php: call to game_do_attempt()

 

Average of ratings: -
In reply to Thelma Polanco-Perez

תשובה ל: error/There are no words game: hangman version: 3.8.22

by עומר המאירי -

Hello

Having the same issue.

 

Any solution ? anyone ?

 

thanks

Omer

In reply to Thelma Polanco-Perez

Re: error/There are no words game: hangman version: 3.8.22

by Mercer Bufter -

I'm having this issue with both Hangman and Crossword in Moodle 2.4. Anyone made any progress with this error?

 

Mercer

In reply to Mercer Bufter

Re: error/There are no words game: hangman version: 3.8.22

by Stefan Oertel -

Hi Mercer,

please try the current version 3.13.21.2 from https://moodle.org/plugins/view.php?plugin=mod_game.

A while ago I had some problems with the mod_game too, but the cause wasn't the module but the theme. If possible change the theme to a Moodle standard theme to exclude this cause.

Stefan

In reply to Stefan Oertel

Re: Re: error/There are no words game: hangman version: 3.8.22

by Vasilis Daloukas -
Picture of Particularly helpful Moodlers Picture of Plugin developers

The problem was with the name of file of Game.

The new versions names this files headergame.php instead of header.php and no problem exists with some themes.

In reply to Vasilis Daloukas

Re: Re: error/There are no words game: hangman version: 3.8.22

by Juan Gabriel Edu Labs -

Dear Vasilis and Moodle community

I don't now If this would help, but, I found that glossary must contain at least three different letters with terms. We was breaking our head with this issue and our glossary had only two letters with different terms (letters a and c) and module was giving this error.

When we add one more term with another letter there was no more errors...

Best regards

Juan Sáenz
Edu Labs http://edu-labs.co

In reply to Juan Gabriel Edu Labs

Re: Re: Re: error/There are no words game: hangman version: 3.8.22

by Vasilis Daloukas -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Can you export a sample glossary that produces errors?