It seems as if an user has no Tags, something is getting wrong on the server, as beginning with the second request an Error 500 is returned instead of an empty array.
My code is not very complex:
Code: Select all
$tmPlayers = new TrackMania_Players(TMWS_USER, TMWS_PASS);
$tags = $tmPlayers->getTags($login);
echo "This user has ".count($tags)." Tags.<br>\n";
If the requested player has tags, all is working fine, so it seems that the "0-tags" are causing this error. Whether the player is TMUF or TMNF seems not to have any influence on this error. (Can TMNF players have Tags? Idk ^^)