@anonymous-piwik-user opened this issue on March 16th 2008

Notice: Undefined index: nb_hits in /srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/DataTable/Filter/Sort.php on line 56

Backtrace --> #0 Piwik_ErrorHandler(8, Undefined index: nb_hits, /srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/DataTable/Filter/Sort.php, 56, Array ([=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /swasiland_e.php,[=> 1,exit_nb_visits => 1,[=> 0),1 => Array (),[=> )),b => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /auswahl_buchstabe_a_deutsch.php,nb_visits => 97,[=> 97,nb_hits => 126,[=> 31,entry_nb_visits => 31,[=> 85,entry_sum_visit_length => 2294,[=> 6,exit_nb_unique_visitor => 17,[=> 17,exit_bounce_count => 6,[=> 3582),1 => Array (),[=> )))) called at /srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/DataTable/Filter/Sort.php:56 #1 Piwik_DataTable_Filter_Sort->sort(Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /swasiland_e.php,exit_nb_unique_visitor => 1,[=> 1,exit_bounce_count => 0),[=> Array (),3 => )), Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /auswahl_buchstabe_a_deutsch.php,nb_visits => 97,[=> 97,nb_hits => 126,[=> 31,entry_nb_visits => 31,[=> 85,entry_sum_visit_length => 2294,[=> 6,exit_nb_unique_visitor => 17,[=> 17,exit_bounce_count => 6,[=> 3582),1 => Array (),[3] => ))) #2 usort(Array ([=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => forum,[=> 936,nb_uniq_visitors => 921,[=> 1301,entry_nb_unique_visitor => 468,[=> 473,entry_nb_actions => 1330,[=> 90744,entry_bounce_count => 266,[=> 85549,exit_nb_unique_visitor => 409,[=> 413,exit_bounce_count => 266),[=> Array (),3 => 2)),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /index,[=> 244,nb_uniq_visitors => 223,[=> 342,entry_nb_unique_visitor => 157,[=> 178,entry_nb_actions => 571,[=> 43482,entry_bounce_count => 75,[=> 111,exit_nb_visits => 128,[=> 75,sum_time_spent => 31376),[=> Array (),3 => )),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /auswahl_buchstabe_a_deutsch.php,[=> 97,nb_uniq_visitors => 97,[=> 126,entry_nb_unique_visitor => 31,[=> 31,entry_nb_actions => 85,[=> 2294,entry_bounce_count => 6,[=> 17,exit_nb_visits => 17,[=> 6,sum_time_spent => 3582),[=> Array (),3 => )),[=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => stadtplaene,[=> 176,nb_uniq_visitors => 176,[=> 242,entry_nb_unique_visitor => 161,[=> 161,entry_nb_actions => 382,[=> 14068,entry_bounce_count => 60,[=> 6658,exit_nb_unique_visitor => 110,[=> 110,exit_bounce_count => 60),[=> Array (),3 => 4)),[=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => arkv,[=> 253,nb_uniq_visitors => 247,[=> 397,entry_nb_unique_visitor => 119,[=> 123,entry_nb_actions => 429,[=> 33278,entry_bounce_count => 64,[=> 131,exit_nb_visits => 133,[=> 64,sum_time_spent => 33215),[=> Array (),3 => 8)),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /swasiland_e.php,[=> 1,exit_nb_visits => 1,[=> 0),1 => Array (),[=> ))), Array (0 => Piwik_DataTable_Filter_Sort Object ([=> nb_hits, => desc,[=> Piwik_DataTable Object ( => Array ([=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => forum,[=> 936,nb_uniq_visitors => 921,[=> 1301,entry_nb_unique_visitor => 468,[=> 473,entry_nb_actions => 1330,[=> 90744,entry_bounce_count => 266,[=> 85549,exit_nb_unique_visitor => 409,[=> 413,exit_bounce_count => 266),[=> Array (),3 => 2)),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /index,[=> 244,nb_uniq_visitors => 223,[=> 342,entry_nb_unique_visitor => 157,[=> 178,entry_nb_actions => 571,[=> 43482,entry_bounce_count => 75,[=> 111,exit_nb_visits => 128,[=> 75,sum_time_spent => 31376),[=> Array (),3 => )),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /auswahl_buchstabe_a_deutsch.php,[=> 97,nb_uniq_visitors => 97,[=> 126,entry_nb_unique_visitor => 31,[=> 31,entry_nb_actions => 85,[=> 2294,entry_bounce_count => 6,[=> 17,exit_nb_visits => 17,[=> 6,sum_time_spent => 3582),[=> Array (),3 => )),[=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => stadtplaene,[=> 176,nb_uniq_visitors => 176,[=> 242,entry_nb_unique_visitor => 161,[=> 161,entry_nb_actions => 382,[=> 14068,entry_bounce_count => 60,[=> 6658,exit_nb_unique_visitor => 110,[=> 110,exit_bounce_count => 60),[=> Array (),3 => 4)),[=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => arkv,[=> 253,nb_uniq_visitors => 247,[=> 397,entry_nb_unique_visitor => 119,[=> 123,entry_nb_actions => 429,[=> 33278,entry_bounce_count => 64,[=> 131,exit_nb_visits => 133,[=> 64,sum_time_spent => 33215),[=> Array (),3 => 8)),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /swasiland_e.php,[=> 1,exit_nb_visits => 1,[=> 0),1 => Array (),[=> ))), => 2,[=> 0, => 1,[=> Array (), => 0),[=> ,sign => -1),[=> sort)) called at /srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/DataTable.php:147 #3 Piwik_DataTable->sort(Array ([=> Piwik_DataTable_Filter_Sort Object ( => nb_hits,[=> desc, => Piwik_DataTable Object ([=> Array (0 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> forum,nb_visits => 936,[=> 921,nb_hits => 1301,[=> 468,entry_nb_visits => 473,[=> 1330,entry_sum_visit_length => 90744,[=> 266,sum_time_spent => 85549,[=> 409,exit_nb_visits => 413,[=> 266),1 => Array (),[=> 2)),3 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /index,nb_visits => 244,[=> 223,nb_hits => 342,[=> 157,entry_nb_visits => 178,[=> 571,entry_sum_visit_length => 43482,[=> 75,exit_nb_unique_visitor => 111,[=> 128,exit_bounce_count => 75,[=> 31376),1 => Array (),[=> )),8 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /auswahl_buchstabe_a_deutsch.php,nb_visits => 97,[=> 97,nb_hits => 126,[=> 31,entry_nb_visits => 31,[=> 85,entry_sum_visit_length => 2294,[=> 6,exit_nb_unique_visitor => 17,[=> 17,exit_bounce_count => 6,[=> 3582),1 => Array (),[=> )),9 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> stadtplaene,nb_visits => 176,[=> 176,nb_hits => 242,[=> 161,entry_nb_visits => 161,[=> 382,entry_sum_visit_length => 14068,[=> 60,sum_time_spent => 6658,[=> 110,exit_nb_visits => 110,[=> 60),1 => Array (),[=> 4)),63 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> arkv,nb_visits => 253,[=> 247,nb_hits => 397,[=> 119,entry_nb_visits => 123,[=> 429,entry_sum_visit_length => 33278,[=> 64,exit_nb_unique_visitor => 131,[=> 133,exit_bounce_count => 64,[=> 33215),1 => Array (),[=> 8)),302 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /swasiland_e.php,exit_nb_unique_visitor => 1,[=> 1,exit_bounce_count => 0),[=> Array (),3 => ))),[=> 2, => 0,[=> 1, => Array (),[=> 0),naturalSort => ,[=> -1),1 => sort)) called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/DataTable/Filter/Sort.php:121] #4 Piwik_DataTable_Filter_Sort->filter() called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/DataTable/Filter/Sort.php:36] #5 Piwik_DataTable_Filter_Sort->__construct(Piwik_DataTable Object ([=> Array (0 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> forum,nb_visits => 936,[=> 921,nb_hits => 1301,[=> 468,entry_nb_visits => 473,[=> 1330,entry_sum_visit_length => 90744,[=> 266,sum_time_spent => 85549,[=> 409,exit_nb_visits => 413,[=> 266),1 => Array (),[=> 2)),3 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /index,nb_visits => 244,[=> 223,nb_hits => 342,[=> 157,entry_nb_visits => 178,[=> 571,entry_sum_visit_length => 43482,[=> 75,exit_nb_unique_visitor => 111,[=> 128,exit_bounce_count => 75,[=> 31376),1 => Array (),[=> )),8 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /auswahl_buchstabe_a_deutsch.php,nb_visits => 97,[=> 97,nb_hits => 126,[=> 31,entry_nb_visits => 31,[=> 85,entry_sum_visit_length => 2294,[=> 6,exit_nb_unique_visitor => 17,[=> 17,exit_bounce_count => 6,[=> 3582),1 => Array (),[=> )),9 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> stadtplaene,nb_visits => 176,[=> 176,nb_hits => 242,[=> 161,entry_nb_visits => 161,[=> 382,entry_sum_visit_length => 14068,[=> 60,sum_time_spent => 6658,[=> 110,exit_nb_visits => 110,[=> 60),1 => Array (),[=> 4)),63 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> arkv,nb_visits => 253,[=> 247,nb_hits => 397,[=> 119,entry_nb_visits => 123,[=> 429,entry_sum_visit_length => 33278,[=> 64,exit_nb_unique_visitor => 131,[=> 133,exit_bounce_count => 64,[=> 33215),1 => Array (),[=> 8)),302 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /swasiland_e.php,exit_nb_unique_visitor => 1,[=> 1,exit_bounce_count => 0),[=> Array (),3 => ))),[=> 2, => 0,[=> 1, => Array (),[] => 0), nb_hits, desc) #6 ReflectionClass->newInstanceArgs(Array ([=> Piwik_DataTable Object ( => Array ([=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => forum,[=> 936,nb_uniq_visitors => 921,[=> 1301,entry_nb_unique_visitor => 468,[=> 473,entry_nb_actions => 1330,[=> 90744,entry_bounce_count => 266,[=> 85549,exit_nb_unique_visitor => 409,[=> 413,exit_bounce_count => 266),[=> Array (),3 => 2)),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /index,[=> 244,nb_uniq_visitors => 223,[=> 342,entry_nb_unique_visitor => 157,[=> 178,entry_nb_actions => 571,[=> 43482,entry_bounce_count => 75,[=> 111,exit_nb_visits => 128,[=> 75,sum_time_spent => 31376),[=> Array (),3 => )),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /auswahl_buchstabe_a_deutsch.php,[=> 97,nb_uniq_visitors => 97,[=> 126,entry_nb_unique_visitor => 31,[=> 31,entry_nb_actions => 85,[=> 2294,entry_bounce_count => 6,[=> 17,exit_nb_visits => 17,[=> 6,sum_time_spent => 3582),[=> Array (),3 => )),[=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => stadtplaene,[=> 176,nb_uniq_visitors => 176,[=> 242,entry_nb_unique_visitor => 161,[=> 161,entry_nb_actions => 382,[=> 14068,entry_bounce_count => 60,[=> 6658,exit_nb_unique_visitor => 110,[=> 110,exit_bounce_count => 60),[=> Array (),3 => 4)),[=> Piwik_DataTable_Row_DataTableSummary Object (c => Array ([=> Array (label => arkv,[=> 253,nb_uniq_visitors => 247,[=> 397,entry_nb_unique_visitor => 119,[=> 123,entry_nb_actions => 429,[=> 33278,entry_bounce_count => 64,[=> 131,exit_nb_visits => 133,[=> 64,sum_time_spent => 33215),[=> Array (),3 => 8)),[=> Piwik_DataTable_Row Object (c => Array ([=> Array (label => /swasiland_e.php,[=> 1,exit_nb_visits => 1,[=> 0),1 => Array (),[=> ))), => 2,[=> 0, => 1,[=> Array (), => 0),[=> nb_hits,2 => desc)) called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/API/Request.php:574] #7 Piwik_API_Request->applyDataTableGenericFilters(Piwik_DataTable Object ([=> Array (0 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> forum,nb_visits => 936,[=> 921,nb_hits => 1301,[=> 468,entry_nb_visits => 473,[=> 1330,entry_sum_visit_length => 90744,[=> 266,sum_time_spent => 85549,[=> 409,exit_nb_visits => 413,[=> 266),1 => Array (),[=> 2)),3 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /index,nb_visits => 244,[=> 223,nb_hits => 342,[=> 157,entry_nb_visits => 178,[=> 571,entry_sum_visit_length => 43482,[=> 75,exit_nb_unique_visitor => 111,[=> 128,exit_bounce_count => 75,[=> 31376),1 => Array (),[=> )),8 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /auswahl_buchstabe_a_deutsch.php,nb_visits => 97,[=> 97,nb_hits => 126,[=> 31,entry_nb_visits => 31,[=> 85,entry_sum_visit_length => 2294,[=> 6,exit_nb_unique_visitor => 17,[=> 17,exit_bounce_count => 6,[=> 3582),1 => Array (),[=> )),9 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> stadtplaene,nb_visits => 176,[=> 176,nb_hits => 242,[=> 161,entry_nb_visits => 161,[=> 382,entry_sum_visit_length => 14068,[=> 60,sum_time_spent => 6658,[=> 110,exit_nb_visits => 110,[=> 60),1 => Array (),[=> 4)),63 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> arkv,nb_visits => 253,[=> 247,nb_hits => 397,[=> 119,entry_nb_visits => 123,[=> 429,entry_sum_visit_length => 33278,[=> 64,exit_nb_unique_visitor => 131,[=> 133,exit_bounce_count => 64,[=> 33215),1 => Array (),[=> 8)),302 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /swasiland_e.php,exit_nb_unique_visitor => 1,[=> 1,exit_bounce_count => 0),[=> Array (),3 => ))),[=> 2, => 0,[=> 1, => Array (),[=> 0)) called at /srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/API/Request.php:231 #8 Piwik_API_Request->handleReturnedValue(Piwik_DataTable Object ([=> Array (0 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> forum,nb_visits => 936,[=> 921,nb_hits => 1301,[=> 468,entry_nb_visits => 473,[=> 1330,entry_sum_visit_length => 90744,[=> 266,sum_time_spent => 85549,[=> 409,exit_nb_visits => 413,[=> 266),1 => Array (),[=> 2)),3 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /index,nb_visits => 244,[=> 223,nb_hits => 342,[=> 157,entry_nb_visits => 178,[=> 571,entry_sum_visit_length => 43482,[=> 75,exit_nb_unique_visitor => 111,[=> 128,exit_bounce_count => 75,[=> 31376),1 => Array (),[=> )),8 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /auswahl_buchstabe_a_deutsch.php,nb_visits => 97,[=> 97,nb_hits => 126,[=> 31,entry_nb_visits => 31,[=> 85,entry_sum_visit_length => 2294,[=> 6,exit_nb_unique_visitor => 17,[=> 17,exit_bounce_count => 6,[=> 3582),1 => Array (),[=> )),9 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> stadtplaene,nb_visits => 176,[=> 176,nb_hits => 242,[=> 161,entry_nb_visits => 161,[=> 382,entry_sum_visit_length => 14068,[=> 60,sum_time_spent => 6658,[=> 110,exit_nb_visits => 110,[=> 60),1 => Array (),[=> 4)),63 => Piwik_DataTable_Row_DataTableSummary Object ([=> Array (0 => Array ([=> arkv,nb_visits => 253,[=> 247,nb_hits => 397,[=> 119,entry_nb_visits => 123,[=> 429,entry_sum_visit_length => 33278,[=> 64,exit_nb_unique_visitor => 131,[=> 133,exit_bounce_count => 64,[=> 33215),1 => Array (),[=> 8)),302 => Piwik_DataTable_Row Object ([=> Array (0 => Array ([=> /swasiland_e.php,exit_nb_unique_visitor => 1,[=> 1,exit_bounce_count => 0),[=> Array (),3 => ))),[=> 2, => 0,[=> 1, => Array (),[=> 0)) called at /srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/API/Request.php:143 #9 Piwik_API_Request->process() called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/ViewDataTable.php:352] #10 Piwik_ViewDataTable->loadDataTableFromAPI() called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/ViewDataTable/Html.php:45] #11 Piwik_ViewDataTable_Html->main() called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/plugins/Actions/Controller.php:125] #12 Piwik_Actions_Controller->getActionsView(Actions, getActions, Actions.getActions, getActionsSubDataTable) called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/plugins/Actions/Controller.php:30] #13 Piwik_Actions_Controller->getActions() #14 call_user_func_array(Array ([=> Piwik_Actions_Controller Object (pluginName => Actions,[=> 2008-03-13,date => Piwik_Date Object ([=> 1205362800)),1 => getActions), Array ()) called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/modules/FrontController.php:119] #15 Piwik_FrontController->dispatch() called at [/srv/www/vhosts/domain.de/httpdocs/piwikdat/index.php:62]

@mattab commented on March 17th 2008

(In [379]) - fix #5567 ; this is not retroactive so the bug should not appear in future stats, but will still be there for past data

This issue was closed on August 4th 2009
Powered by GitHub Issue Mirror