Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VisitsSummary.getSumVisitsLengthPretty - throws notice #1576

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

VisitsSummary.getSumVisitsLengthPretty - throws notice #1576

robocoder opened this issue Aug 12, 2010 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@robocoder
Copy link
Contributor

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
Copy link
Member

sgiehl commented Aug 12, 2010

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

@sgiehl
Copy link
Member

sgiehl commented Aug 12, 2010

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

@robocoder
Copy link
Contributor Author

(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
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants