Notice: Array to string conversion


#1

Bonjour,

Je viens d’installer l’extension joomla-visites sur un joomla 2.5. EN allant dans Composant/joomla-visites j’ai l’erreur suivante (qui me dit de venir la poster ici pour résoudre mon problème) :


There is an error. Please report the message and full backtrace in the Piwik forums.

Notice: Array to string conversion in /homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php on line 38

Backtrace -->
#0 Piwik_ErrorHandler(8, Array to string conversion, /homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php, 38, Array ([widgetCategory] => Récapitulatif des visites,[widgetName] => Graphique des dernières visites,[controllerName] => VisitsSummary,[controllerAction] => getEvolutionGraph,[customParameters] => Array ([columns] => Array ([0] => nb_visits)),[widgetUniqueId] => widgetVisitsSummarygetEvolutionGraph,[name] => columns,[value] => Array ([0] => nb_visits))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:38]#1 Piwik_WidgetsList::add(VisitsSummary_VisitsSummary, VisitsSummary_WidgetLastVisits, VisitsSummary, getEvolutionGraph, Array ([columns] => Array ([0] => nb_visits))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:75]#2 Piwik_AddWidget(VisitsSummary_VisitsSummary, VisitsSummary_WidgetLastVisits, VisitsSummary, getEvolutionGraph, Array ([columns] => Array ([0] => nb_visits))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/plugins/VisitsSummary/VisitsSummary.php:76]#3 Piwik_VisitsSummary->addWidgets(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 6))#4 call_user_func_array(Array ([0] => Piwik_VisitsSummary Object (),[1] => addWidgets), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 6))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/libs/Event/Dispatcher.php:284]#5 Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 6), 1, ) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsManager.php:531]#6 Piwik_PostEvent(WidgetsList.add) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:26]#7 Piwik_WidgetsList::get() called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:70]#8 Piwik_GetWidgetsList() called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/plugins/Dashboard/Controller.php:24]#9 Piwik_Dashboard_Controller->getDashboardView(index) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/plugins/Dashboard/Controller.php:35]#10 Piwik_Dashboard_Controller->embeddedIndex()#11 call_user_func_array(Array ([0] => Piwik_Dashboard_Controller Object ([] => Dashboard,[] => 2014-04-25,[] => Piwik_Date Object ([] => 1398423016,[] => UTC),[] => 1,[] => Piwik_Site Object ([] => 1)),[1] => embeddedIndex), Array ()) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/FrontController.php:125]#12 Piwik_FrontController->dispatch() called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/joomla-visites.php:63]#13 require_once(/homez.798/mikadom/www/administrator/components/com_joomla-visites/joomla-visites.php) called at [/homez.798/mikadom/www/libraries/joomla/application/component/helper.php:383]#14 JComponentHelper::executeComponent(/homez.798/mikadom/www/administrator/components/com_joomla-visites/joomla-visites.php) called at [/homez.798/mikadom/www/libraries/joomla/application/component/helper.php:351]#15 JComponentHelper::renderComponent(com_joomla-visites) called at [/homez.798/mikadom/www/administrator/includes/application.php:153]#16 JAdministrator->dispatch() called at [/homez.798/mikadom/www/administrator/index.php:46]


There is an error. Please report the message and full backtrace in the Piwik forums.

Notice: Array to string conversion in /homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php on line 38

Backtrace -->
#0 Piwik_ErrorHandler(8, Array to string conversion, /homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php, 38, Array ([widgetCategory] => Visiteurs,[widgetName] => Graphique de visites de visiteurs connus,[controllerName] => VisitFrequency,[controllerAction] => getEvolutionGraph,[customParameters] => Array ([columns] => Array ([0] => nb_visits_returning)),[widgetUniqueId] => widgetVisitFrequencygetEvolutionGraph,[name] => columns,[value] => Array ([0] => nb_visits_returning))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:38]#1 Piwik_WidgetsList::add(General_Visitors, VisitFrequency_WidgetGraphReturning, VisitFrequency, getEvolutionGraph, Array ([columns] => Array ([0] => nb_visits_returning))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:75]#2 Piwik_AddWidget(General_Visitors, VisitFrequency_WidgetGraphReturning, VisitFrequency, getEvolutionGraph, Array ([columns] => Array ([0] => nb_visits_returning))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/plugins/VisitFrequency/VisitFrequency.php:71]#3 Piwik_VisitFrequency->addWidgets(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 7))#4 call_user_func_array(Array ([0] => Piwik_VisitFrequency Object (),[1] => addWidgets), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 7))) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/libs/Event/Dispatcher.php:284]#5 Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => WidgetsList.add,[_notificationObject] => ,[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 7), 1, ) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsManager.php:531]#6 Piwik_PostEvent(WidgetsList.add) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:26]#7 Piwik_WidgetsList::get() called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/PluginsFunctions/WidgetsList.php:70]#8 Piwik_GetWidgetsList() called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/plugins/Dashboard/Controller.php:24]#9 Piwik_Dashboard_Controller->getDashboardView(index) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/plugins/Dashboard/Controller.php:35]#10 Piwik_Dashboard_Controller->embeddedIndex()#11 call_user_func_array(Array ([0] => Piwik_Dashboard_Controller Object ([] => Dashboard,[] => 2014-04-25,[] => Piwik_Date Object ([] => 1398423016,[] => UTC),[] => 1,[] => Piwik_Site Object ([] => 1)),[1] => embeddedIndex), Array ()) called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/core/FrontController.php:125]#12 Piwik_FrontController->dispatch() called at [/homez.798/mikadom/www/administrator/components/com_joomla-visites/joomla-visites.php:63]#13 require_once(/homez.798/mikadom/www/administrator/components/com_joomla-visites/joomla-visites.php) called at [/homez.798/mikadom/www/libraries/joomla/application/component/helper.php:383]#14 JComponentHelper::executeComponent(/homez.798/mikadom/www/administrator/components/com_joomla-visites/joomla-visites.php) called at [/homez.798/mikadom/www/libraries/joomla/application/component/helper.php:351]#15 JComponentHelper::renderComponent(com_joomla-visites) called at [/homez.798/mikadom/www/administrator/includes/application.php:153]#16 JAdministrator->dispatch() called at [/homez.798/mikadom/www/administrator/index.php:46]

Merci de votre aide.

Cordialement,


(Matthieu Aubry) #2

Je pense que c’est plutot un bug dans le plugin de joomla donc merci de rapporter le bug au developpeur du plugin :slight_smile: