thanks that fixed it. for all those who don't want to go through the link:
I installed php-pecl-json
sudo yum install php-pecl-json
then restart the services:
service pihole-FTL restart
service lighttpd restart