Create issue problem (Failed Ajax request or invalid JSON returned.)

I’m using ojs-3.2.0-2
image

when i go Workflow Settings >> Review Form >> Edit >> Form Item >> Create New Item >> then give Failed Ajax request or invalid JSON returned.

how can I fix it…?

Hi @rakib417,

Are there any relevant errors in PHP log? You can track messages there after reproducing the problem.

PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /public_html/journals/lib/pkp/classes/template/PKPTemplateManager.inc.php:751

image

total 41 result found.

how can i fix this. plz help.

Your PHP version was compiled (installed) without JSON extension. Fix depends from your environment. Some editional infor here php - Fatal error: Call to undefined function json_encode() ..? - Server Fault and json - PHP Fatal error: Call to undefined function json_decode() - Stack Overflow