Corrigé : https://github.com/pluginsGLPI/ocsinven … issues/137
]]>Aprés notre migration en 9.1.7 nous avons dans notre log php-error.log de très nombreux erreurs du style :
*** PHP Notice(8): Undefined variable: groups_id
Backtrace :
...ins/ocsinventoryng/inc/ocsserver.class.php:2791
...ins/ocsinventoryng/inc/ocsserver.class.php:2152 PluginOcsinventoryngOcsServer::updateComputer()
...s/ocsinventoryng/scripts/ocsng_fullsync.php:410 PluginOcsinventoryngOcsServer::processComputer()
...s/ocsinventoryng/scripts/ocsng_fullsync.php:290 plugin_ocsinventoryng_importFromOcsServer()
...s/ocsinventoryng/scripts/ocsng_fullsync.php:160 SecondPass()
ou
*** PHP Warning(2): array_key_exists() expects parameter 2 to be array, null given
Backtrace :
:
inc/commondbtm.class.php:2697 array_key_exists()
inc/commondbtm.class.php:3222 CommonDBTM->maybeRecursive()
inc/commondbtm.class.php:3356 CommonDBTM->getSearchOptions()
inc/commondbtm.class.php:3428 CommonDBTM->getSearchOptionByField()
inc/commondbtm.class.php:826 CommonDBTM->filterValues()
...ins/ocsinventoryng/inc/ocsserver.class.php:6605 CommonDBTM->add()
...ins/ocsinventoryng/inc/ocsserver.class.php:3160 PluginOcsinventoryngOcsServer::updateRegistry()
...ins/ocsinventoryng/inc/ocsserver.class.php:2152 PluginOcsinventoryngOcsServer::updateComputer()
...s/ocsinventoryng/scripts/ocsng_fullsync.php:410 PluginOcsinventoryngOcsServer::processComputer()
...s/ocsinventoryng/scripts/ocsng_fullsync.php:290 plugin_ocsinventoryng_importFromOcsServer()
...s/ocsinventoryng/scripts/ocsng_fullsync.php:160 SecondPass()
quelqu’un à t'il déjà rencontré ces erreurs ?
Merci
cordialement