@anonymous-piwik-user opened this Issue on May 10th 2011

When using the API with the Html output and the 'lastX' date value, I get the error above.

index.php?module=API&method=Referers.getSearchEngines&idSite=all&period=day&date=last2&format=Html&token_auth=

example URL. Apparently, getRows() is not a method. This bug is compounded by the fact that later, there is no getColumns() method in Piwik_DataTable, so the majority of this does not work.
Keywords: api

@anonymous-piwik-user commented on May 10th 2011

Please note, that this is only the combination of multiple idSite values (or all), the Html renderer, and a lastX date value. No other combination of these values seems to trigger this problem.

Also, I'm using version 1.3 currently.

@ziegenberg commented on May 10th 2011

Applies to Version 1.4 as well.

@sgiehl commented on May 21st 2011 Member

HTML DataTable Renderer can't handle that case at the moment. If more that one siteId is given there will be DataTableArrays within a DataTableArray. The HTML-Renderer only handles one dimension of DataTableArrays.

@mattab commented on May 30th 2011 Member

(In [4829]) Error message when unsupported combination of parameters (please use json or XML or csv which work, HTML is designed only as a debug/test output) fixes #2417

This Issue was closed on May 30th 2011
Powered by GitHub Issue Mirror