Internal Server Error

json_decode() expects parameter 1 to be string, object given