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 2023-01-05 18:41:00

LaChagnasse
Member
Registered: 2017-09-02
Posts: 9

PHP warning about auto update systems

Hi everyone,


We updated quite recently to GLPI 10.0.3 and migrated to glpi-agent on two GLPI instances. On one of them we have this php warning on every computer :

PHP User Warning (512): getFromDBByCrit expects to get one result, 4 found in query "SELECT `id` FROM `glpi_autoupdatesystems` WHERE `name` = 'GLPI Native Inventory'". in /home/www/glpi/src/CommonDBTM.php at line 396

And if i go to https://glpi.XXX.fr/front/autoupdatesystem.php i can see there are 4 of them created by user "inventory" at various time :

    GLPI Native Inventory (18)
    GLPI Native Inventory (19)
    GLPI Native Inventory (21)
    GLPI Native Inventory (22)

If i delete 3 of them they come back eventually.

How can i correct this behavior ?

Any help would be apreciated, thank you !

Offline

Board footer

Powered by FluxBB