Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HP Warning: Undefined array key "link_with_user" #370

Open
thenamelessthing opened this issue Nov 13, 2023 · 1 comment
Open

HP Warning: Undefined array key "link_with_user" #370

thenamelessthing opened this issue Nov 13, 2023 · 1 comment

Comments

@thenamelessthing
Copy link

Hi, we have checked our log and we see this warning message:

PHP Warning: Undefined array key "link_with_user" in /var/www/html/glpi/plugins/ocsinventoryng/inc/hardware.class.php on line 103 .PHP Warning: Undefined array key "link_with_user" in /var/www/html/glpi/plugins/ocsinventoryng/inc/hardware.class.php on line 103 PHP Warning: Undefined array key "link_with_user" in /var/www/html/glpi/plugins/ocsinventoryng/inc/hardware.class.php on line 216 PHP Warning: Undefined array key "link_with_user" in /var/www/html/glpi/plugins/ocsinventoryng/inc/hardware.class.php on line 416

  • OCS Inventory NG plugin version 2.0.4
  • GLPI version 10.0.7

How can we fix these warning?

Thank you for your help.

@thenamelessthing
Copy link
Author

@tsmr, désolé de t'avoir tagué. Mais tu semble être la dernière personne à voir été active sur ce plugin.

Nos journaux sont innondé de ce message d'erreur.

==> ocsng_fullsync.log <== PHP Warning: Undefined array key "link_with_user" in /var/www/html/glpi/plugins/ocsinventoryng/inc/hardware.class.php on line 103 . ==> php-errors.log <== [2023-12-14 09:00:59] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "link_with_user" in /var/www/html/glpi/plugins/ocsinventoryng/inc/hardware.class.php at line 103 Backtrace : plugins/ocsinventoryng/inc/ocslink.class.php:1326 PluginOcsinventoryngHardware::getHardwareLockableFields() plugins/ocsinventoryng/inc/ocslink.class.php:1284 PluginOcsinventoryngOcslink::getLockableFields() ...ins/ocsinventoryng/inc/ocsprocess.class.php:922 PluginOcsinventoryngOcslink::getLocksForComputer() ...ins/ocsinventoryng/inc/ocsprocess.class.php:480 PluginOcsinventoryngOcsProcess::synchronizeComputer() ...s/ocsinventoryng/scripts/ocsng_fullsync.php:461 PluginOcsinventoryngOcsProcess::processComputer() ...s/ocsinventoryng/scripts/ocsng_fullsync.php:299 plugin_ocsinventoryng_importFromOcsServer() ...s/ocsinventoryng/scripts/ocsng_fullsync.php:166 SecondPass()

Est-ce un problème avec une solution connu ou carrément un nouveau bogue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant