Undefined offset: 1308009600


#1

“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!).”

Have searched. Found nothing. (running piwik 1.5.1 on: mysql Ver 14.12 Distrib 5.0.45, for suse-linux-gnu (x86_64) using readline 5.2, PHP 5.2.11 with Suhosin-Patch 0.9.7 ) Problem appears when period is month.

Thanks for taking interest, and keep up the great work!

Best wishes,

Michael

So here is my report, hopefully in the right place - sorry if not:

Notice: Undefined offset: 1308009600 in /srv/www/sources/piwik-1.5.1/core/Archive/Array/IndexedByDate.php on line 135

Backtrace -->
#0 Piwik_ErrorHandler(…) called at [/srv/www/sources/piwik-1.5.1/core/Archive/Array/IndexedByDate.php:135]#1 Piwik_Archive_Array_IndexedByDate->getDataTableFromNumeric(…) called at [/srv/www/sources/piwik-1.5.1/plugins/VisitFrequency/API.php:65]#2 Piwik_VisitFrequency_API->get(…) called at [:]#3 call_user_func_array(…) called at [/srv/www/sources/piwik-1.5.1/core/API/Proxy.php:179]#4 Piwik_API_Proxy->call(…) called at [/srv/www/sources/piwik-1.5.1/core/API/Request.php:121]#5 Piwik_API_Request->process(…) called at [/srv/www/sources/piwik-1.5.1/core/ViewDataTable.php:391]#6 Piwik_ViewDataTable->loadDataTableFromAPI(…) called at [/srv/www/sources/piwik-1.5.1/core/ViewDataTable/GenerateGraphData/ChartEvolution.php:71]#7 Piwik_ViewDataTable_GenerateGraphData_ChartEvolution->loadDataTableFromAPI(…) called at [/srv/www/sources/piwik-1.5.1/core/ViewDataTable/GenerateGraphData.php:98]#8 Piwik_ViewDataTable_GenerateGraphData->main(…) called at [/srv/www/sources/piwik-1.5.1/core/Controller.php:146]#9 Piwik_Controller->renderView(…) called at [/srv/www/sources/piwik-1.5.1/plugins/VisitFrequency/Controller.php:57]#10 Piwik_VisitFrequency_Controller->getEvolutionGraph(…) called at [:]#11 call_user_func_array(…) called at [/srv/www/sources/piwik-1.5.1/core/FrontController.php:136]#12 Piwik_FrontController->dispatch(…) called at [/srv/www/sources/piwik-1.5.1/core/FrontController.php:156]#13 Piwik_FrontController->fetchDispatch(…) called at [/srv/www/sources/piwik-1.5.1/core/ViewDataTable/GenerateGraphHTML.php:148]#14 Piwik_ViewDataTable_GenerateGraphHTML->getGraphData(…) called at [/srv/www/sources/piwik-1.5.1/core/ViewDataTable/GenerateGraphHTML.php:108]#15 Piwik_ViewDataTable_GenerateGraphHTML->buildView(…) called at [/srv/www/sources/piwik-1.5.1/core/ViewDataTable/GenerateGraphHTML.php:92]#16 Piwik_ViewDataTable_GenerateGraphHTML->main(…) called at [/srv/www/sources/piwik-1.5.1/core/Controller.php:146]#17 Piwik_Controller->renderView(…) called at [/srv/www/sources/piwik-1.5.1/plugins/VisitFrequency/Controller.php:57]#18 Piwik_VisitFrequency_Controller->getEvolutionGraph(…) called at [:]#19 call_user_func_array(…) called at [/srv/www/sources/piwik-1.5.1/core/FrontController.php:136]#20 Piwik_FrontController->dispatch(…) called at [/srv/www/sources/piwik-1.5.1/index.php:53]


(Matthieu Aubry) #2

Thanks for the report! Bug created in: Notice: Undefined offset: 1308009600 in /core/Archive/Array/IndexedByDate.php on line 135 · Issue #2578 · matomo-org/matomo · GitHub


#3

Great job on this one - it’s fine now with 1.6 out. I really appreciate your efforts!

Big thank you,

mfin