You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-10-04 18:04:49

Pomme11
Guest
Registered: 2006-07-07
Posts: 33
Website

Problème Dashboard

Bonjour,

J'utilise les plugins Dashboard et Formcreator sur un serveur de test.

J'ai remarqué que j'ai ces erreurs :

php-errors.log

glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi_9.3/inc/toolbox.class.php line 657
  *** PHP Notice(8): Array to string conversion
  Backtrace :
  inc/group_user.class.php:69
  plugins/mydashboard/inc/alert.class.php:929        Group_User::getUserGroups()
  plugins/mydashboard/inc/widget.class.php:468       PluginMydashboardAlert->getWidgetContentForItem()
  plugins/mydashboard/inc/widget.class.php:176       PluginMydashboardWidget::getAllOptions()
  plugins/mydashboard/inc/menu.class.php:1098        PluginMydashboardWidget::getWidgetOptions()
  plugins/mydashboard/front/menu.php:100             PluginMydashboardMenu->loadDashboard()
  {"user":"86@WebServerTest","mem_usage":"0.544\", 8.37Mio)"}

sql-errors.log

glpisqllog.ERROR: DBmysql::query() in /var/www/glpi_9.3/inc/dbmysql.class.php line 180
  *** MySQL query error:
  SQL: SELECT `glpi_groups`.*,
                        `glpi_groups_users`.`id` AS IDD,
                        `glpi_groups_users`.`id` AS linkID,
                        `glpi_groups_users`.`is_dynamic` AS is_dynamic,
                        `glpi_groups_users`.`is_manager` AS is_manager,
                        `glpi_groups_users`.`is_userdelegate` AS is_userdelegate
                 FROM `glpi_groups_users`
                 LEFT JOIN `glpi_groups` ON (`glpi_groups`.`id` = `glpi_groups_users`.`groups_id`)
                 WHERE `glpi_groups_users`.`users_id` = '86'  AND Array  ORDER BY `glpi_groups`.`name`
  Error: Unknown column 'Array' in 'where clause'
  Backtrace :
  inc/dbmysqliterator.class.php:78
  inc/dbmysql.class.php:583                          DBmysqlIterator->execute()
  inc/group_user.class.php:73                        DBmysql->request()
  plugins/mydashboard/inc/alert.class.php:929        Group_User::getUserGroups()
  plugins/mydashboard/inc/widget.class.php:468       PluginMydashboardAlert->getWidgetContentForItem()
  plugins/mydashboard/inc/widget.class.php:176       PluginMydashboardWidget::getAllOptions()
  plugins/mydashboard/inc/menu.class.php:1098        PluginMydashboardWidget::getWidgetOptions()
  plugins/mydashboard/front/menu.php:100             PluginMydashboardMenu->loadDashboard()
  {"user":"86@WebServerTest","mem_usage":"0.001\", 8.37Mio)"}

Quelqu'un a déjà rencontré ces messages d'erreur ?

GLPI 9.3.0
mydashboard       Version: 1.6.0
formcreator          Version: 2.6.4


GLPI 9.3 - FormCreator 2.6.3 - FusionIventory 9.3+1.1

Offline

#2 2018-10-11 15:23:11

amma35
Moderator
Registered: 2017-02-08
Posts: 58

Re: Problème Dashboard

Bonjour,

C'est cette modification qui pose problème : https://github.com/InfotelGLPI/mydashbo … e29d19L929
La méthode a été changé en GLPI 9.3.1 et malheureusement n'est pas la même en GLPI 9.3.0

Offline

Board footer

Powered by FluxBB