etherpad-lite-client icon indicating copy to clipboard operation
etherpad-lite-client copied to clipboard

JSON response could not be decoded

Open Duddy67 opened this issue 5 years ago • 0 comments

Hi,

Hello, I installed the PHP Etherpad Lite Client as explained in the Readme.md but when I run the basic php script example I get the following errors:

Fatal error: Uncaught UnexpectedValueException: JSON response could not be decoded in /srv/www/sites/html/myProject/vendor/tomnomnom/etherpad-lite-client/EtherpadLite/Client.php:86 Stack trace: #0 /srv/www/sites/html/myProject/vendor/tomnomnom/etherpad-lite-client/EtherpadLite/Client.php(36): EtherpadLite\Client->call('getRevisionsCou...', 'padID=testPad&a...', 'GET') #1 /srv/www/sites/html/myProject/vendor/tomnomnom/etherpad-lite-client/EtherpadLite/Client.php(334): EtherpadLite\Client->get('getRevisionsCou...', Array) #2 /srv/www/sites/html/myProject/test.php(4): EtherpadLite\Client->getRevisionsCount('testPad') #3 {main} thrown in /srv/www/sites/html/myProject/vendor/tomnomnom/etherpad-lite-client/EtherpadLite/Client.php on line 86

Etherpad Lite runs properly at http://127.0.0.1:9001 Where these errors come from ? Thanks

Ubuntu 18.04 PHP 7.2.19

Duddy67 avatar Aug 28 '19 15:08 Duddy67