Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

VisitsSummary.getSumVisitsLengthPretty - throws notice #1576

Closed
robocoder opened this Issue · 3 comments

2 participants

Anthon Pang Stefan Giehl
Anthon Pang
Collaborator

On demo.piwik.org's API page, and selecting RSS or XML output:

Notice: Object of class Piwik_DataTable_Array could not be converted to int in /path/to/piwik/core/Piwik.php on line 1023

Stefan Giehl
Collaborator

the problem occurs if more than one value is requested.
Piwik::getPrettyTimeFromSeconds should be applied using a filter instead of a direct use.

Stefan Giehl
Collaborator

(In [2925]) fixes #1576 use filter if more than one value is requested

Anthon Pang
Collaborator

(In [2934]) refs #1576 - merge from trunk

Anthon Pang robocoder added this to the Piwik 0.9.9 - Stable release milestone
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.