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

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
Collaborator

Is this a new install?

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

@robocoder
Collaborator

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

@robocoder
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.