Json_decode() expects paramater 1 to be string
-
I started having this problem today I believe. On top of the JetPack Stats display there is an error message like the one below. I removed the account and domain info:
json_decode() expects parameter 1 to be string, array given in /home/account/public_html/subfolder/wp-content/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-admin-page.php on line 163
I disabled JetPack and re enabled it, but had difficulty connecting to WordPress.com. It turned out that my ISP tech support added a code segment in htaccess file to block what they thought to be an attack. After I removed the code segment that denied access to xmlrpc.php from any IP but my own, I was able to connect to WordPress.com. However the json_decode() error remains. I had written a support e-mail and after connecting to WordPress.com I thought all was good and reported that my earlier email could be ignored. However, I am still getting that error, and I am not sure if it is cosmetic, functional, critical, accidental, intentional, ….
By the way, when I disabled JetPack the site performance improved markedly with much faster load times. I have it active now and I can notice the slight delay in loading content, and slightly slower load times for Dashboard pages.
I will greatly appreciate some insight and ways to fix it.
Thanks,
Cemal
- The topic ‘Json_decode() expects paramater 1 to be string’ is closed to new replies.