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
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.
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.
(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