I have just made a fresh install of PiHole on a pi3
Although I can logon to the admin page, nothing is working.
Ads are not being blocked and if I click on the query log I get the error below.
An unknown error occured while loading the data.
Fatal error: Uncaught Error: Call to undefined function json_encode() in /var/www/html/admin/api.php:100
thrown in /var/www/html/admin/api.php on line 100
Also the dashboard just has spinning arrows.
Debug token is wspj97el11
I have also tried reinstalling twice.