Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Warning messages on empty dashboard #1100

Closed
anonymous-piwik-user opened this Issue · 3 comments

3 participants

Anonymous Piwik user Anthon Pang Matthieu Aubry
Anonymous Piwik user

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

Anthon Pang
Collaborator

Is this a new install?

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

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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.