@sgiehl opened this Issue on July 31st 2012 Member

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 commented on October 19th 2012 Member

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

@diosmosis commented on October 19th 2012 Member

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

@diosmosis commented on October 19th 2012 Member

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

This Issue was closed on October 19th 2012
Powered by GitHub Issue Mirror