Skip to content


Warning messages on empty dashboard #1100

anonymous-piwik-user opened this Issue · 3 comments

3 participants


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


Is this a new install?

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


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


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

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.5.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.