VisitsSummary.getSumVisitsLengthPretty - throws notice #1576

Closed
robocoder opened this Issue Aug 12, 2010 · 3 comments

2 participants

@robocoder

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

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

@sgiehl
Piwik Open Source Analytics member

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

@robocoder

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

@robocoder robocoder added this to the Piwik 0.9.9 - Stable release milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment