AMP AMP
AMP
0
AMP

PHP Fatal error: Call to undefined function json_ecode()

while installation typesetter when I click on view your website I got the following error
vlcsnap-2020-11-06-16h49m19s165

Typesetter CMS Content Management System (CMS) Add a comment
a sample image
michael
asked Nov 23 2020

Answer

AMP
0
AMP

This error probably occurs when there is any php-json module is missing which is required by your website to load its content.
Hence install

yum install php7.2-json

(or php7.1-json or php5-json depending on the PHP version you're running)
Then of course make sure you restart Apache:

systemctl restart httpd

it will resolve the error.

Add a comment
a sample image
linuxhelp
asked Nov 23 2020
Post your Answer