Too many errors after upgrade


(mic) #1

After upgrading my (working) 0.2.32 to 0.4, i am seeing only errors and no statistics!
The upgrade was made as described in the piwik.dosc: ftp all files (watch for overriding!), call the piwik live site (said that the database has to upgraded -> successful).
Logged in … and now i am seeing only errors (here the first few lines):

Warning: Missing argument 4 for Piwik_AddWidget(), called in /var/www/web65/html/cms/piwik/plugins/UserLanguage/UserLanguage.php on line 50 and defined in /var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php on line 7 Backtrace -->#0 Piwik_ErrorHandler(2, Missing argument 4 for Piwik_AddWidget(), called in /var/www/web65/html/cms/piwik/plugins/UserLanguage/UserLanguage.php on line 50 and defined, /var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php, 7, Array ([widgetCategory] => UserLanguage,[widgetName] => getLanguage,[controllerName] => Visitor language)) called at [/var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php:7] #1 Piwik_AddWidget(UserLanguage, getLanguage, Visitor language) called at [/var/www/web65/html/cms/piwik/plugins/UserLanguage/UserLanguage.php:50] #2 Piwik_UserLanguage->addWidgets(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 9)) 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] => 9))) called at [/var/www/web65/html/cms/piwik/libs/Event/Dispatcher.php:282] #4 Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 9), 1, ) called at [/var/www/web65/html/cms/piwik/core/PluginsManager.php:498] #5 Piwik_PostEvent(WidgetsList.add) called at [/var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php:18] #6 Piwik_WidgetsList::get() called at [/var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php:4] #7 Piwik_GetWidgetsList() called at [/var/www/web65/html/cms/piwik/plugins/Dashboard/Controller.php:30] #8 Piwik_Dashboard_Controller->getDashboardView(Dashboard/templates/index.tpl) called at [/var/www/web65/html/cms/piwik/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-08,[] => Piwik_Date Object ([] => 1244412000),[] => 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 [/var/www/web65/html/cms/piwik/core/FrontController.php:144] #11 Piwik_FrontController->dispatch() called at [/var/www/web65/html/cms/piwik/index.php:54] Notice: Undefined variable: controllerAction in /var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php on line 9 Backtrace -->#0 Piwik_ErrorHandler(8, Undefined variable: controllerAction, /var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php, 9, Array ([widgetCategory] => UserLanguage,[widgetName] => getLanguage,[controllerName] => Visitor language,[customParameters] => Array ())) called at [/var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php:9] #1 Piwik_AddWidget(UserLanguage, getLanguage, Visitor language) called at [/var/www/web65/html/cms/piwik/plugins/UserLanguage/UserLanguage.php:50] #2

And there are many lines more!

The first i did was to call my settings (this works) and IDSABLED the goeip plugin.
But now the errors did not go away (see above).

What else i can do to become back a working piwik?

thx
michael

p.s: if wanted, i can provide all messages


(mic) #2

After invastigating a bit more, i disabled the plugin ‘Userlanguage’.
Now i have Piwik working again (no errors anymore).
But i do not have the user languages, but that would be nice to know.

Seems that this plugin in INcompatible with 0.4 (latest piwik release per 9.6.2009).

Can this be fixed please?


(vipsoft) #3

I’ve already answered this on Trac.

These are third party plugins which are not included in the Piwik distribution.

Download the update from either the corresponding Trac ticket or the developer’s website.


(Matthieu Aubry) #4

[quote=vipsoft @ Jun 9 2009, 07:40 PM]I’ve already answered this on Trac.

These are third party plugins which are not included in the Piwik distribution.

Download the update from either the corresponding Trac ticket or the developer’s website.[/quote]

as a side note we are aware of the problems of changing APIs and this usually does not happen - we will def make sure we minimize all breaking changes in the future.