Open AircraftRu opened 6 years ago
Hello,
Please provide an XML file so we can try to reproduce the issue.
Thank you.
Hello, I don't know what a PC is reason these errors.
Fusioninventory for glpi 9.2-2.0-RC1 A lot of errors:
2018-03-26 08:40:00 [6@glpi]
PHP Warning(2): strtolower() expects parameter 1 to be string, array given
Backtrace :
:
...ventory/inc/inventorycomputerlib.class.php:2740 strtolower()
...nventory/inc/inventorycomputerlib.class.php:821 PluginFusioninventoryInventoryComputerLib->importSoftware()
...ry/inc/inventorycomputerinventory.class.php:560 PluginFusioninventoryInventoryComputerLib->updateComputer()
...inventory/inc/inventoryruleimport.class.php:790 PluginFusioninventoryInventoryComputerInventory->rulepassed()
inc/rule.class.php:1436 PluginFusioninventoryInventoryRuleImport->executeActions()
inc/rulecollection.class.php:1461 Rule->process()
...ry/inc/inventorycomputerinventory.class.php:361 RuleCollection->processAllRules()
...ry/inc/inventorycomputerinventory.class.php:126 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
...fusioninventory/inc/communication.class.php:235 PluginFusioninventoryInventoryComputerInventory->import()
...fusioninventory/inc/communication.class.php:463 PluginFusioninventoryCommunication->import()
plugins/fusioninventory/front/communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
plugins/fusioninventory/index.php:59 include_once()
2018-03-26 08:40:00 [6@glpi]
PHP Notice(8): Array to string conversion
Backtrace :
:
...ventory/inc/inventorycomputerlib.class.php:2745 sprintf()
...nventory/inc/inventorycomputerlib.class.php:821 PluginFusioninventoryInventoryComputerLib->importSoftware()
...ry/inc/inventorycomputerinventory.class.php:560 PluginFusioninventoryInventoryComputerLib->updateComputer()
...inventory/inc/inventoryruleimport.class.php:790 PluginFusioninventoryInventoryComputerInventory->rulepassed()
inc/rule.class.php:1436 PluginFusioninventoryInventoryRuleImport->executeActions()
inc/rulecollection.class.php:1461 Rule->process()
...ry/inc/inventorycomputerinventory.class.php:361 RuleCollection->processAllRules()
...ry/inc/inventorycomputerinventory.class.php:126 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
...fusioninventory/inc/communication.class.php:235 PluginFusioninventoryInventoryComputerInventory->import()
...fusioninventory/inc/communication.class.php:463 PluginFusioninventoryCommunication->import()
plugins/fusioninventory/front/communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
plugins/fusioninventory/index.php:59 include_once()
Hello @AircraftRu and @wawax,
Yes, I have the php-errors.log
file totally full of these PHP error messages.
2018-06-08 17:17:40 [6@inventario.sescam.jclm.es]
*** PHP Warning(2): strtolower() expects parameter 1 to be string, array given
Backtrace :
:
...usioninventory/inc/formatconvert.class.php:1716 strtolower()
...ry/inc/inventorycomputerinventory.class.php:502 PluginFusioninventoryFormatconvert->computerSoftwareTransformation()
...inventory/inc/inventoryruleimport.class.php:795 PluginFusioninventoryInventoryComputerInventory->rulepassed()
inc/rule.class.php:1436 PluginFusioninventoryInventoryRuleImport->executeActions()
inc/rulecollection.class.php:1461 Rule->process()
...ry/inc/inventorycomputerinventory.class.php:361 RuleCollection->processAllRules()
...ry/inc/inventorycomputerinventory.class.php:126 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
...fusioninventory/inc/communication.class.php:234 PluginFusioninventoryInventoryComputerInventory->import()
...fusioninventory/inc/communication.class.php:463 PluginFusioninventoryCommunication->import()
plugins/fusioninventory/front/communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
plugins/fusioninventory/index.php:59 include_once()
2018-06-08 17:17:40 [6@inventario.sescam.jclm.es]
*** PHP Notice(8): Array to string conversion
Backtrace :
...ventory/inc/inventorycomputerlib.class.php:2067
...ventory/inc/inventorycomputerlib.class.php:2680 PluginFusioninventoryInventoryComputerLib->loadSoftwares()
...nventory/inc/inventorycomputerlib.class.php:822 PluginFusioninventoryInventoryComputerLib->importSoftware()
...ry/inc/inventorycomputerinventory.class.php:556 PluginFusioninventoryInventoryComputerLib->updateComputer()
...inventory/inc/inventoryruleimport.class.php:795 PluginFusioninventoryInventoryComputerInventory->rulepassed()
inc/rule.class.php:1436 PluginFusioninventoryInventoryRuleImport->executeActions()
inc/rulecollection.class.php:1461 Rule->process()
...ry/inc/inventorycomputerinventory.class.php:361 RuleCollection->processAllRules()
...ry/inc/inventorycomputerinventory.class.php:126 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
...fusioninventory/inc/communication.class.php:234 PluginFusioninventoryInventoryComputerInventory->import()
...fusioninventory/inc/communication.class.php:463 PluginFusioninventoryCommunication->import()
plugins/fusioninventory/front/communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
plugins/fusioninventory/index.php:59 include_once()
Regards,
GLPI 9.2.1 fusioninventory-for-glpi 9.2-1.1 dev There are a lot of reports.