Skip to content


Fatal Error in VisitSummary Widget #3296

sgiehl opened this Issue · 3 comments

3 participants

Piwik Open Source Analytics 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.

Piwik Open Source Analytics member

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

Piwik Open Source Analytics member

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

Piwik Open Source Analytics 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
@diosmosis diosmosis was assigned by sgiehl
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.