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

Fatal Error in VisitSummary Widget #3296

Closed
sgiehl opened this issue Jul 31, 2012 · 3 comments
Closed

Fatal Error in VisitSummary Widget #3296

sgiehl opened this issue Jul 31, 2012 · 3 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@sgiehl
Copy link
Member

sgiehl commented Jul 31, 2012

Bug report via mail:

We've got an error on the dashboard, for the component which displays the number of visitor in a graph.
We get the error _Fatal error: Call to a member function getFirstRow() on a non-object in /PathToWWW/piwik/plugins/VisitsSummary/Controller.php on line 115_

It sometimes happen, sometimes not and we don't know why.

@mattab
Copy link
Member

mattab commented Oct 19, 2012

let's simply catch this empty datatable use case & return "No data" when the this happens, instead of php error.

@diosmosis
Copy link
Member

(In [7238]) Fixes #3296, check for empty datatable in VisitsSummary_Controller::setSparklinesAndNumbers.

@diosmosis
Copy link
Member

Note: I couldn't reproduce the bug, but [7238] should fix it.

@sgiehl sgiehl added this to the 1.9.1 - Piwik 1.9.1 milestone Jul 8, 2014
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