I created a new project and then copied my code from a working version (and changed all the names). Now I get the following error when trying to access the player_colors of gameinfos. Also, the items in material.inc.php are not valid.
Notice: Trying to access array offset on value of type null
In 'setupNewGame':
$gameinfos = self::getGameinfos();
$default_colors = $gameinfos['player_colors'];
I performed a 'reload game informations' and used CTRL+f5 but it didn't help.
Thanks!
Notice: Trying to access array offset on value of type null
In 'setupNewGame':
$gameinfos = self::getGameinfos();
$default_colors = $gameinfos['player_colors'];
I performed a 'reload game informations' and used CTRL+f5 but it didn't help.
Thanks!