Code: Select all
$serverlist = $service->getFilteredList(array('titleUids' => 'Obstacle@steeffeen', 'offset' => 0, 'length' => 100));
trying to find the spot in the mp-ws-sdk where it's thrown
//Edit: "empty" looks like this:
Code: Select all
object(Maniaplanet\WebServices\Exception)#8 (9) {
["HTTPStatusCode":protected]=>
int(0)
["HTTPStatusMessage":protected]=>
NULL
["message":protected]=>
string(0) ""
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(74) "/home/./Maniaplanet/WebServices/HTTPClient.php"
["line":protected]=>
int(338)
["trace":"Exception":private]=>
array(2) {
[0]=>
array(6) {
["file"]=>
string(77) "/home/./Maniaplanet/WebServices/Servers.php"
["line"]=>
int(102)
["function"]=>
string(7) "execute"
["class"]=>
string(34) "Maniaplanet\WebServices\HTTPClient"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
string(3) "GET"
[1]=>
string(60) "/servers/?titleUids=Obstacle%40steeffeen&offset=0&length=100"
}
}
[1]=>
array(6) {
["file"]=>
string(32) "/home/./server.php"
["line"]=>
int(106)
["function"]=>
string(15) "getFilteredList"
["class"]=>
string(31) "Maniaplanet\WebServices\Servers"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
array(3) {
["titleUids"]=>
string(18) "Obstacle@steeffeen"
["offset"]=>
int(0)
["length"]=>
int(100)
}
}
}
}
["previous":"Exception":private]=>
NULL
}