Page 1 of 1

maniaplanet/dedicated-server-api doesn't work with PHP-XMLRPC enabled

Posted: 24 Jan 2018, 09:49
by Chris92
I'm using the dedicated-server-api library in AdminServ-Neo and I just had a user encounter an issue in the library.
With XMLRPC extension for PHP enabled, he gets the following error in this file: https://github.com/maniaplanet/dedicate ... equest.php on Line 30

Code: Select all

Fatal error: xmlrpc_encode_request(): XML-RPC doesn't support circular references
Can you perhaps take a look at what exactly the error could be? Either the XMLRPC extension is buggy or something in that Request.php doesn't work as it's supposed to.
Stacktrace: https://i.imgur.com/LaXpQ79.png

Re: maniaplanet/dedicated-server-api doesn't work with PHP-XMLRPC enabled

Posted: 24 Jan 2018, 14:40
by magnetik
Hi,

First of all I'm not sure that I would recommend using this extension at all. I have not done any benchmark, but I don't think that it save any time.

Maybe you are sending something wrong as a param, could you log the params that cause an error ?