简体   繁体   中英

I am getting error after uploading my Laravel project to server

I am getting this error after uploading my laravel project to the server. I have searched this error multiple times but not get some specific answer. I am using laravel 5.5 and PHP version 7.1.

Uncaught Error: Call to undefined function Symfony\\Component\\VarDumper\\Dumper\\json_encode() in /home/cp959319p17/public_html/vendor/symfony/var-dumper/Dumper/HtmlDumper.php:131

install json plugin for php < 5.2.0

apt install php-json

or

yum install php-json

As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP by default.

http://php.net/manual/en/json.installation.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM