Warning: Invalid argument supplied for foreach()

Hello,

I’ve installed WP-PIWIK plugin on wordpress website and the dashboard is not showing the data, it is instead showing me multiple errors such the below:
Warning: Invalid argument supplied for foreach() in /home/clients/…-content/plugins/wp-piwik/classes/WP_Piwik/Widget/BrowserDetails.php on line 46

and the plugin settings page is showing the alert below:
" WP-Piwik 1.0.14 was not able to connect to Piwik using your configuration. "

Please help!
Thanks

Hello again- here is the update to my problem:

I was able to solve it by changing HTTP method in the Expert Settings from POST to GET.

Hi @stefany
Might be a good idea to report this issue to WP-Piwik here: WP-Piwik — WordPress Plugins