Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fatal Error in VisitSummary Widget #3296

Closed
sgiehl opened this Issue · 3 comments

3 participants

Stefan Giehl Matthieu Aubry Benaka
Stefan Giehl
Collaborator

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.

Matthieu Aubry
Owner

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

Benaka
Collaborator

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

Benaka
Collaborator

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

Stefan Giehl sgiehl added this to the 1.9.1 - Piwik 1.9.1 milestone
Benaka 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.