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

@robocoder
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

@sgiehl
Collaborator

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

@sgiehl
Collaborator

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

@robocoder
Collaborator

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

@robocoder 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.