I have the same issue;
Warning: Invalid argument supplied for foreach()in /home/…../wp-content/plugins/cystats/includes/view.class.php on line 516
so I’m also seeking a solution
Thank for for thr answer, I’ve looked at the plugins and found the wordpress stats plugin.
I have the error message and cannot figure out what is the correct server names etc and port. Following is some of the information that I have from my hosting provider
1) To gain access to your database, you need to enter “mysql.deescribe.com” as the server name for the database
2) Server version: 5.0.41-log
Protocol version: 10
Server: mysql.deescribe.com via TCP/IP
User: MyName@imu68.infomaniak.ch
MySQL charset: UTF-8 Unicode (utf8)