[Error]Piwik_Archive_Array_IndexedByDate

Hi All!

I just upgraded my piwik application to the 0.6.2 version but i had lots of problems.
the last one is this:

#0  Piwik_ErrorHandler(2048, Declaration of Piwik_Archive_Array_IndexedByDate::loadMetadata() should be compatible with that of Piwik_Archive_Array::loadMetadata(), /disk2/usr/home/italconvent/public_html/piwik/core/Archive/Array/IndexedByDate.php, 17, Array ([class] => Piwik_Archive_Array_IndexedByDate,[classPath] => Archive/Array/IndexedByDate,[i] => 0,[path] => /disk2/usr/home/italconvent/public_html/piwik/core/Archive/Array/IndexedByDate.php)) called at [/disk2/usr/home/italconvent/public_html/piwik/core/Archive/Array/IndexedByDate.php:17]
#1  require_once(/disk2/usr/home/italconvent/public_html/piwik/core/Archive/Array/IndexedByDate.php) called at [/disk2/usr/home/italconvent/public_html/piwik/core/Loader.php:63]
#2  Piwik_Loader::autoload(Piwik_Archive_Array_IndexedByDate)
#3  spl_autoload_call(Piwik_Archive_Array_IndexedByDate) called at [/disk2/usr/home/italconvent/public_html/piwik/core/Archive.php:145]
#4  Piwik_Archive::build(1, day, 2010-05-03,2010-06-01) called at [/disk2/usr/home/italconvent/public_html/piwik/plugins/VisitsSummary/API.php:33]
#5  Piwik_VisitsSummary_API->get(1, day, 2010-05-03,2010-06-01, Array ([0] => nb_actions))
#6  call_user_func_array(Array ([0] => Piwik_VisitsSummary_API Object (),[1] => get), Array ([0] => 1,[1] => day,[2] => 2010-05-03,2010-06-01,[3] => Array ([0] => nb_actions))) called at [/disk2/usr/home/italconvent/public_html/piwik/core/API/Proxy.php:147]
#7  Piwik_API_Proxy->call(Piwik_VisitsSummary_API, get, Array ([method] => VisitsSummary.get,[format] => original,[module] => VisitsSummary,[action] => getEvolutionGraph,[idSite] => 1,[period] => day,[date] => 2010-05-03,2010-06-01,[viewDataTable] => sparkline,[columns] => Array ([0] => nb_actions))) called at [/disk2/usr/home/italconvent/public_html/piwik/core/API/Request.php:107]
#8  Piwik_API_Request->process() called at [/disk2/usr/home/italconvent/public_html/piwik/core/ViewDataTable.php:353]
#9  Piwik_ViewDataTable->loadDataTableFromAPI() called at [/disk2/usr/home/italconvent/public_html/piwik/core/ViewDataTable/Sparkline.php:38]
#10 Piwik_ViewDataTable_Sparkline->main() called at [/disk2/usr/home/italconvent/public_html/piwik/core/Controller.php:153]
#11 Piwik_Controller->renderView(Piwik_ViewDataTable_Sparkline Object ([] => ,[] => 1,[] => Array (),[] => Array ([show_goals] => ,[show_search] => 1,[show_table] => 1,[show_table_all_columns] => 1,[show_all_views_icons] => 1,[show_export_as_image_icon] => ,[show_exclude_low_population] => 1,[show_offset_information] => 1,[show_footer] => 1,[show_footer_icons] => 1,[apiMethodToRequestDataTable] => VisitsSummary.get,[uniqueId] => VisitsSummarygetEvolutionGraph),[] => 0,[] => ,[] => Array (),[] => getEvolutionGraph,[] => VisitsSummary,[] => ,[] => VisitsSummary.get,[] => ,[] => Array ([label] => Etichetta,[nb_visits] => Visite,[nb_actions] => Azioni nel sito,[max_actions] => Numero massimo di azioni eseguite in una visita,[sum_visit_length] => Durata totale delle visite (in secondi),[nb_uniq_visitors] => Visitatori unici,[nb_actions_per_visit] => Pagine viste,[avg_time_on_site] => Durata media,[bounce_rate] => % di Rimbalzo,[revenue_per_visit] => Valore per visita,[goals_conversion_rate] => Visite per Conversione),[] => Array ([0] => nb_actions)), ) called at [/disk2/usr/home/italconvent/public_html/piwik/plugins/VisitsSummary/Controller.php:43]
#12 Piwik_VisitsSummary_Controller->getEvolutionGraph()
#13 call_user_func_array(Array ([0] => Piwik_VisitsSummary_Controller Object ([] => VisitsSummary,[] => ,[] => ,[] => 1,[] => Piwik_Site Object ([] => 1),[] => Array ([label] => General_ColumnLabel,[nb_visits] => General_ColumnNbVisits,[nb_actions] => General_ColumnNbActions,[max_actions] => General_ColumnMaxActions,[sum_visit_length] => General_ColumnSumVisitLength,[nb_uniq_visitors] => General_ColumnNbUniqVisitors,[nb_actions_per_visit] => General_ColumnActionsPerVisit,[avg_time_on_site] => General_ColumnAvgTimeOnSite,[bounce_rate] => General_ColumnBounceRate,[revenue_per_visit] => General_ColumnValuePerVisit,[goals_conversion_rate] => General_ColumnVisitsWithConversions)),[1] => getEvolutionGraph), Array ()) called at [/disk2/usr/home/italconvent/public_html/piwik/core/FrontController.php:126]
#14 Piwik_FrontController->dispatch() called at [/disk2/usr/home/italconvent/public_html/piwik/index.php:104]

Thanks to anyonw who responds!

I have the same message in log file when visit Dashboard page.
Problem in different declaration of loadMetadata() method which is placed in Core/Archive/Array.php and Core/Archive/Array/IndexedByDate.php

You can replace line 45 in Core/Archive/Array/IndexedByDate.php

protected function loadMetadata(Piwik_DataTable_Array $table, Piwik_Archive $archive)

to following

protected function loadMetadata(Piwik_DataTable_Array $table, $archive)

my php version 5.2.13, piwik 0.6.2 installed from scratch (not update old version)

Ticket 1410