@anonymous-piwik-user opened this issue on January 5th 2010

this warning

Warning: Invalid argument supplied for foreach() in ..../piwik/plugins/Dashboard/Controller.php on line 151

shows up for each empty dashboard column; so if one column has a widget there are two warning messages, 2 widgets on 2 different columns gives only 1 warning - no widgets at all shows 3 messages.

using latest version 0.5.4 Keywords: empty dashboard

@robocoder commented on January 13th 2010

Is this a new install?

This shouldn't be possible if the dashboard layout was saved correctly.

@robocoder commented on January 29th 2010

(In [1809]) fixes #1100 - handle malformed dashboard layout

@robocoder commented on February 12th 2010

Post-note: the cause was json_decode() for an empty array element ('[]') did not return array().

This issue was closed on February 12th 2010
Powered by GitHub Issue Mirror