@anonymous-piwik-user opened this issue on July 24th 2011

Hello,

there is a bug when I call piwik statistics and the timeframe is "week" then the goal statistics graph does show an error. The error does not appear if the timeframe is different (day, month or year). The behaviour applies both for websites with goals defined and those without goals.

Version: Piwik 1.5.1

Error Report follows:

There is an error. Please report the message and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined offset: 1297814400 in /srv/www/htdocs/piwik/core/Archive/Array/IndexedByDate.php on line 135

Backtrace --> #0 Piwik_ErrorHandler(...) called at [Piwik_Archive_Array_IndexedByDate->getDataTableFromNumeric(...) called at /srv/www/htdocs/piwik/plugins/Goals/API.php:302#2 Piwik_Goals_API->get(...) called at [call_user_func_array(...) called at /srv/www/htdocs/piwik/core/API/Proxy.php:179#4 Piwik_API_Proxy->call(...) called at [Piwik_API_Request->process(...) called at /srv/www/htdocs/piwik/core/ViewDataTable.php:391#6 Piwik_ViewDataTable->loadDataTableFromAPI(...) called at [Piwik_ViewDataTable_GenerateGraphData_ChartEvolution->loadDataTableFromAPI(...) called at /srv/www/htdocs/piwik/core/ViewDataTable/GenerateGraphData.php:98#8 Piwik_ViewDataTable_GenerateGraphData->main(...) called at [Piwik_Controller->renderView(...) called at /srv/www/htdocs/piwik/plugins/Goals/Controller.php:333#10 Piwik_Goals_Controller->getEvolutionGraph(...) called at [call_user_func_array(...) called at /srv/www/htdocs/piwik/core/FrontController.php:136#12 Piwik_FrontController->dispatch(...) called at [Piwik_FrontController->fetchDispatch(...) called at /srv/www/htdocs/piwik/core/ViewDataTable/GenerateGraphHTML.php:148#14 Piwik_ViewDataTable_GenerateGraphHTML->getGraphData(...) called at [Piwik_ViewDataTable_GenerateGraphHTML->buildView(...) called at /srv/www/htdocs/piwik/core/ViewDataTable/GenerateGraphHTML.php:92#16 Piwik_ViewDataTable_GenerateGraphHTML->main(...) called at [Piwik_Controller->renderView(...) called at /srv/www/htdocs/piwik/plugins/Goals/Controller.php:333#18 Piwik_Goals_Controller->getEvolutionGraph(...) called at [Piwik_Goals_Controller->getOverviewView(...) called at /srv/www/htdocs/piwik/plugins/Goals/Controller.php:218#20 Piwik_Goals_Controller->widgetGoalsOverview(...) called at [call_user_func_array(...) called at /srv/www/htdocs/piwik/core/FrontController.php:136#22 Piwik_FrontController->dispatch(...) called at [/srv/www/htdocs/piwik/index.php:53]

Fatal error: Call to a member function addRowsFromArray() on a non-object in /srv/www/htdocs/piwik/core/Archive/Array/IndexedByDate.php on line 135

@anonymous-piwik-user commented on July 29th 2011

Same here...

@robocoder commented on July 31st 2011

dupe #2578

This issue was closed on July 31st 2011
Powered by GitHub Issue Mirror