Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON response could not be decoded #22

Open
Duddy67 opened this issue Aug 28, 2019 · 0 comments
Open

JSON response could not be decoded #22

Duddy67 opened this issue Aug 28, 2019 · 0 comments

Comments

@Duddy67
Copy link

Duddy67 commented Aug 28, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant