Error - Array to string conversion in \core\PluginsFunctions\WidgetsList.php on line 38


#1

The following error appears twice at the top of the dashboard just under the date selector and above the widgets.
No errors appear on other stats pages or on any of the settings pages.

This is a customization of piwik developed by our Intranet vendor. They have not seen this error before and custom variables are displaying. Any advice?

----------------- The Error:

There is an error. Please report the message and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Array to string conversion in E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php on line 38

Backtrace -->
#0 Piwik_ErrorHandler(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:38]#1 Piwik_WidgetsList::add(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:74]#2 Piwik_AddWidget(…) called at [E:\Inetpub\Piwik\intranetstatistics\plugins\VisitsSummary\VisitsSummary.php:70]#3 Piwik_VisitsSummary->addWidgets(…) called at [:]#4 call_user_func_array(…) called at [E:\Inetpub\Piwik\intranetstatistics\libs\Event\Dispatcher.php:284]#5 Event_Dispatcher->postNotification(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsManager.php:609]#6 Piwik_PostEvent(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:26]#7 Piwik_WidgetsList::get(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:69]#8 Piwik_GetWidgetsList(…) called at [E:\Inetpub\Piwik\intranetstatistics\plugins\Dashboard\Controller.php:25]#9 Piwik_Dashboard_Controller->getDashboardView(…) called at [E:\Inetpub\Piwik\intranetstatistics\plugins\Dashboard\Controller.php:37]#10 Piwik_Dashboard_Controller->embeddedIndex(…) called at [:]#11 call_user_func_array(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\FrontController.php:132]#12 Piwik_FrontController->dispatch(…) called at [E:\Inetpub\Piwik\intranetstatistics\index.php:53]


(Matthieu Aubry) #2

please try upgrade to 2.1 RC version. See here: 301 Moved Permanently

if you still have the error please copy paste here and we will fix asap!


#3

The Error:

There is an error. Please report the message and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Array to string conversion in E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php on line 38

Backtrace -->
#0 Piwik_ErrorHandler(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:38]#1 Piwik_WidgetsList::add(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:74]#2 Piwik_AddWidget(…) called at [E:\Inetpub\Piwik\intranetstatistics\plugins\VisitsSummary\VisitsSummary.php:70]#3 Piwik_VisitsSummary->addWidgets(…) called at [:]#4 call_user_func_array(…) called at [E:\Inetpub\Piwik\intranetstatistics\libs\Event\Dispatcher.php:284]#5 Event_Dispatcher->postNotification(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsManager.php:609]#6 Piwik_PostEvent(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:26]#7 Piwik_WidgetsList::get(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\PluginsFunctions\WidgetsList.php:69]#8 Piwik_GetWidgetsList(…) called at [E:\Inetpub\Piwik\intranetstatistics\plugins\Dashboard\Controller.php:25]#9 Piwik_Dashboard_Controller->getDashboardView(…) called at [E:\Inetpub\Piwik\intranetstatistics\plugins\Dashboard\Controller.php:37]#10 Piwik_Dashboard_Controller->embeddedIndex(…) called at [:]#11 call_user_func_array(…) called at [E:\Inetpub\Piwik\intranetstatistics\core\FrontController.php:132]#12 Piwik_FrontController->dispatch(…) called at [E:\Inetpub\Piwik\intranetstatistics\index.php:53]


(Matthieu Aubry) #4

Please update to 2.1 RC: 301 Moved Permanently