Call to undefined function json_decode() erros

More
4 years 4 months ago #88928 by limalemon
I installed version 2.00+ Build 121106 and upgraded the database/surveys I had from previous Limesurvey versions.

All works, but when trying to create a question, or checking for a newer version of limesurvey, I get this (I turned on the debug (2))

Fatal error: Call to undefined function json_decode() in /var/www/html/limesurvey/application/helpers/common_helper.php on line 5657

How can I sort this?

Please Log in to join the conversation.

More
4 years 4 months ago #88940 by mdekker
seems you are using a php version that doesn't have that function...
php.net/manual/en/function.json-decode.php

---
Menno Dekker

Please Log in to join the conversation.

More
4 years 4 months ago #89081 by limalemon
Thank you, the server was missing that, now it works.

Please Log in to join the conversation.