Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning messages on empty dashboard #1100

Closed
anonymous-matomo-user opened this issue Jan 5, 2010 · 3 comments
Closed

Warning messages on empty dashboard #1100

anonymous-matomo-user opened this issue Jan 5, 2010 · 3 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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
Copy link
Contributor

Is this a new install?

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

@robocoder
Copy link
Contributor

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

@robocoder
Copy link
Contributor

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants