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.
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.