Warning Message after Upgrading


(wendynovianto) #1

Dear Piwik team,

After I get an notification of newer version of Piwik, I decided to upgrade to the latest version using the automatic option. After upgrade process, I cannot access my dashboard because there are a lot of warning messages, which you can see it below. It seems to me that the newer engine doesn’t support the old plugin that I installed on my Piwik. Is that true?

Warning: Missing argument 4 for Piwik_AddWidget(), called in /home/djamoer/public_html/stats/plugins/UserLanguage/UserLanguage.php on line 47 and defined in /home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php on line 7


Backtrace -->#0  Piwik_ErrorHandler(2, Missing argument 4 for Piwik_AddWidget(), called in /home/djamoer/public_html/stats/plugins/UserLanguage/UserLanguage.php on line 47 and defined, /home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php, 7, Array ([widgetCategory] => UserLanguage,[widgetName] => getLanguage,[controllerName] => Visitor language)) called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:7]

#1  Piwik_AddWidget(UserLanguage, getLanguage, Visitor language) called at [/home/djamoer/public_html/stats/plugins/UserLanguage/UserLanguage.php:47]

#2  Piwik_UserLanguage->addWidgets(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 10)) called at [(null):0]

#3  call_user_func_array(Array ([0] => Piwik_UserLanguage Object (),[1] => addWidgets), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 10))) called at [/home/djamoer/public_html/stats/libs/Event/Dispatcher.php:282]

#4  Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 10), 1, ) called at [/home/djamoer/public_html/stats/core/PluginsManager.php:498]

#5  Piwik_PostEvent(WidgetsList.add) called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:18]

#6  Piwik_WidgetsList::get() called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:4]

#7  Piwik_GetWidgetsList() called at [/home/djamoer/public_html/stats/plugins/Dashboard/Controller.php:30]

#8  Piwik_Dashboard_Controller->getDashboardView(Dashboard/templates/index.tpl) called at [/home/djamoer/public_html/stats/plugins/Dashboard/Controller.php:36]

#9  Piwik_Dashboard_Controller->embeddedIndex() called at [(null):0]

#10 call_user_func_array(Array ([0] => Piwik_Dashboard_Controller Object ([] => Dashboard,[] => 2009-06-05,[] => Piwik_Date Object ([] => 1244134800),[] => 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] => embeddedIndex), Array ()) called at [/home/djamoer/public_html/stats/core/FrontController.php:143]

#11 Piwik_FrontController->dispatch() called at [/home/djamoer/public_html/stats/index.php:53]






Notice: Undefined variable: controllerAction in /home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php on line 9


Backtrace -->#0  Piwik_ErrorHandler(8, Undefined variable: controllerAction, /home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php, 9, Array ([widgetCategory] => UserLanguage,[widgetName] => getLanguage,[controllerName] => Visitor language,[customParameters] => Array ())) called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:9]

#1  Piwik_AddWidget(UserLanguage, getLanguage, Visitor language) called at [/home/djamoer/public_html/stats/plugins/UserLanguage/UserLanguage.php:47]

#2  Piwik_UserLanguage->addWidgets(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 10)) called at [(null):0]

#3  call_user_func_array(Array ([0] => Piwik_UserLanguage Object (),[1] => addWidgets), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 10))) called at [/home/djamoer/public_html/stats/libs/Event/Dispatcher.php:282]

#4  Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 10), 1, ) called at [/home/djamoer/public_html/stats/core/PluginsManager.php:498]

#5  Piwik_PostEvent(WidgetsList.add) called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:18]

#6  Piwik_WidgetsList::get() called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:4]

#7  Piwik_GetWidgetsList() called at [/home/djamoer/public_html/stats/plugins/Dashboard/Controller.php:30]

#8  Piwik_Dashboard_Controller->getDashboardView(Dashboard/templates/index.tpl) called at [/home/djamoer/public_html/stats/plugins/Dashboard/Controller.php:36]

#9  Piwik_Dashboard_Controller->embeddedIndex() called at [(null):0]

#10 call_user_func_array(Array ([0] => Piwik_Dashboard_Controller Object ([] => Dashboard,[] => 2009-06-05,[] => Piwik_Date Object ([] => 1244134800),[] => 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] => embeddedIndex), Array ()) called at [/home/djamoer/public_html/stats/core/FrontController.php:143]

#11 Piwik_FrontController->dispatch() called at [/home/djamoer/public_html/stats/index.php:53]






Warning: Missing argument 4 for Piwik_AddWidget(), called in /home/djamoer/public_html/stats/plugins/GeoIP/GeoIP.php on line 81 and defined in /home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php on line 7


Backtrace -->#0  Piwik_ErrorHandler(2, Missing argument 4 for Piwik_AddWidget(), called in /home/djamoer/public_html/stats/plugins/GeoIP/GeoIP.php on line 81 and defined, /home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php, 7, Array ([widgetCategory] => GeoIP,[widgetName] => getGeoIPCountry,[controllerName] => Visitor countries)) called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:7]

#1  Piwik_AddWidget(GeoIP, getGeoIPCountry, Visitor countries) called at [/home/djamoer/public_html/stats/plugins/GeoIP/GeoIP.php:81]

#2  Piwik_GeoIP->addWidget(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 11)) called at [(null):0]

#3  call_user_func_array(Array ([0] => Piwik_GeoIP Object ([] => ),[1] => addWidget), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 11))) called at [/home/djamoer/public_html/stats/libs/Event/Dispatcher.php:282]

#4  Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 11), 1, ) called at [/home/djamoer/public_html/stats/core/PluginsManager.php:498]

#5  Piwik_PostEvent(WidgetsList.add) called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:18]

#6  Piwik_WidgetsList::get() called at [/home/djamoer/public_html/stats/core/PluginsFunctions/WidgetsList.php:4]

#7  Piwik_GetWidgetsList() called at [/home/djamoer/public_html/stats/plugins/Dashboard/Controller.php:30]

#8  Piwik_Dashboard_Controller->getDashboardView(Dashboard/templates/index.tpl) called at [/home/djamoer/public_html/stats/plugins/Dashboard/Controller.php:36]

#9  Piwik_Dashboard_Controller->embeddedIndex() called at [(null):0]

#10 call_user_func_array(Array ([0] => Piwik_Dashboard_Controller Object ([] => Dashboard,[] => 2009-06-05,[] => Piwik_Date Object ([] => 1244134800),[] => 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] => embeddedIndex), Array ()) called at [/home/djamoer/public_html/stats/core/FrontController.php:143]

#11 Piwik_FrontController->dispatch() called at [/home/djamoer/public_html/stats/index.php:53]

(vipsoft) #2

Yes, there was an API change. Either disable those plugins (UserLanguage, GeoIP) or download updates to those plugins.