I was working on the NotifyAllPlayers() call from game.php and in testing I had an error that stated that ${player_name} was not defined. I saw that I didn't include 'player_name' in the arguments of the call, so I copied the line from the example right below within the comments of the file.
'player_name' => self::getActivePlayerName(),
After sync'ing, I refreshed my page and it was still complaining about the player_name without me taking any actions because there was an entry in the notification log still from the previous attempt. So I just stopped the game and created a new one. And that's when the trouble began. The game failed to create and I received an error stating the following:
ly_metasite.js:2 Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during herekittykitty setup: Not logged
Digging through this forum, I found multiple references stating that you could not use the call to "getActivePlayerName()". Also stated it on the Troubleshooting wiki page. So I backed that change out and put it back the way it was. Unfortunately, I'm still getting this error when I try to create a game. I am now stuck and don't know how to proceed. There are not any references to getActivePlayerName() in my code. But there is obviously something still lingering. I tried clearing cache, but no change. How do I fix this?
Thanks,
Dan
'player_name' => self::getActivePlayerName(),
After sync'ing, I refreshed my page and it was still complaining about the player_name without me taking any actions because there was an entry in the notification log still from the previous attempt. So I just stopped the game and created a new one. And that's when the trouble began. The game failed to create and I received an error stating the following:
ly_metasite.js:2 Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during herekittykitty setup: Not logged
Digging through this forum, I found multiple references stating that you could not use the call to "getActivePlayerName()". Also stated it on the Troubleshooting wiki page. So I backed that change out and put it back the way it was. Unfortunately, I'm still getting this error when I try to create a game. I am now stuck and don't know how to proceed. There are not any references to getActivePlayerName() in my code. But there is obviously something still lingering. I tried clearing cache, but no change. How do I fix this?
Thanks,
Dan