Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1576 closed Bug (fixed)

VisitsSummary.getSumVisitsLengthPretty - throws notice

Reported by: vipsoft Owned by:
Priority: low Milestone: Piwik 0.9.9 - Stable release
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (3)

comment:1 Changed 4 years ago by SteveG (sgiehl)

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

comment:2 Changed 4 years ago by SteveG (sgiehl)

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 4 years ago by vipsoft (robocoder)

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

Note: See TracTickets for help on using tickets.