ZF-6165: Zend_Json_Server in 1.7.8 falis to implement getFunctions() method from interface Zend_Server_Interface
Description
error in browser: Fatal error: Class Zend_Json_Server contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Zend_Server_Interface::getFunctions) in /myserver/library/Zend/Json/Server.php on line 32
Code to reproduce error: $json = '{"jsonrpc":"2.0","method":"api.sessionStart","params":["1","127.0.0.1","xyz","foo"],"id":"foo"}';
$client = new Zend_Http_Client("http://dev.kargo.com/json");
$client->setRawData($json); $response = $client->request("POST"); print $response->getBody(); print $client->getLastRequest();
Comments
Posted by Rob Allen (rob) on 2012-11-20T20:53:08.000+0000
Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".
Feel free to re-open and provide a patch if you want to fix this issue.