@sgiehl opened this Issue on August 7th 2014 Member

When viewing the report table statistics provided by the DBStats plugin it is possible to switch to pie chart in the footer. Switching leads to an error:

WARN DBStats[2014-08-07 22:24:28] [da0e3] Failed to get data from API: Trying to add two strings in DataTable\Row::sumRowArray: '16 K' + '3600 K' for row # ['label' => -1, 'data_size' => '16 K', 'index_size' => '16 K', 'row_count' => 0, 'total_size' => '32 B'] [] [idsubtable = ]<br /><a href='/0'>#0</a> /var/www/piwik/core/DataTable/Row.php(566): Piwik\DataTable\Row->sumRowArray('16 K', '3600 K')<a href='/1'>#1</a> /var/www/piwik/core/DataTable/Row.php(535): Piwik\DataTable\Row->getColumnValuesMerged('sum', '16 K', '3600 K')<a href='/2'>#2</a> /var/www/piwik/core/DataTable/Filter/Truncate.php(105): Piwik\DataTable\Row->sumRow(Object(Piwik\DataTable\Row), false, false)<a href='/3'>#3</a> /var/www/piwik/core/DataTable/Filter/Truncate.php(72): Piwik\DataTable\Filter\Truncate->addSummaryRow(Object(Piwik\DataTable))<a href='/4'>#4</a> /var/www/piwik/core/DataTable.php(425): Piwik\DataTable\Filter\Truncate->filter(Object(Piwik\DataTable))<a href='/5'>#5</a> /var/www/piwik/core/API/DataTableGenericFilter.php(163): Piwik\DataTable->filter('Truncate', Array)<a href='/6'>#6</a> /var/www/piwik/core/API/DataTableGenericFilter.php(42): Piwik\API\DataTableGenericFilter->applyGenericFilters(Object(Piwik\DataTable))<a href='/7'>#7</a> /var/www/piwik/core/Plugin/Visualization.php(576): Piwik\API\DataTableGenericFilter->filter(Object(Piwik\DataTable))<a href='/8'>#8</a> /var/www/piwik/core/Plugin/Visualization.php(319): Piwik\Plugin\Visualization->applyGenericFilters()<a href='/9'>#9</a> /var/www/piwik/core/Plugin/Visualization.php(171): Piwik\Plugin\Visualization->applyFilters()<a href='/10'>#10</a> /var/www/piwik/core/Plugin/ViewDataTable.php(409): Piwik\Plugin\Visualization->buildView()<a href='/11'>#11</a> /var/www/piwik/core/Plugin/Report.php(287): Piwik\Plugin\ViewDataTable->render()<a href='/12'>#12</a> /var/www/piwik/core/Plugin/Controller.php(278): Piwik\Plugin\Report->render()<a href='/13'>#13</a> /var/www/piwik/plugins/DBStats/Controller.php(40): Piwik\Plugin\Controller->renderReport(Object(Piwik\Plugins\DBStats\Reports\GetReportDataSummary))<a href='/14'>#14</a> [internal function]: Piwik\Plugins\DBStats\Controller->index()<a href='/15'>#15</a> /var/www/piwik/core/FrontController.php(576): call_user_func_array(Array, Array)<a href='/16'>#16</a> /var/www/piwik/core/FrontController.php(86): Piwik\FrontController->doDispatch(NULL, NULL, NULL)<a href='/17'>#17</a> /var/www/piwik/core/dispatch.php(34): Piwik\FrontController->dispatch()<a href='/18'>#18</a> /var/www/piwik/index.php(47): require_once('/var/www/piwik/...')<a href='/19'>#19</a> {main}

Tested with current git and on an 2.4.1 install

This Issue was closed on August 18th 2014
Powered by GitHub Issue Mirror