Ticket #770 (closed Bug: invalid)
GeoIP 0.1 not compatible with 0.4.x
| Reported by: | mic | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Piwik 0.4.1 |
| Component: | Core | Keywords: | geoip,plugin,compatible |
| Cc: | Sensitive: |
Description
Seems that GeoIP 0.1 is not compatible with latest piwik release 0.4. (2009.06.09). After enableing a lot of error messages at the overview are visible:
Warning: Missing argument 4 for Piwik_AddWidget(), called in /var/www/web65/html/cms/piwik/plugins/GeoIP/GeoIP.php on line 81 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/GeoIP/GeoIP.php on line 81 and defined, /var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php, 7, Array ([widgetCategory] => GeoIP,[widgetName] => getGeoIPCountry,[controllerName] => Visitor countries)) called at [/var/www/web65/html/cms/piwik/core/PluginsFunctions/WidgetsList.php:7] #1 Piwik_AddWidget(GeoIP, getGeoIPCountry, Visitor countries) called at [/var/www/web65/html/cms/piwik/plugins/GeoIP/GeoIP.php:81] #2 Piwik_GeoIP->addWidget(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_GeoIP Object ([] => ),[1] => addWidget), 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]}}} And many more (can provided if wanted).
Change History
Note: See
TracTickets for help on using
tickets.
