Skip to content

Undefined array in Inventory configuration page #23770

@monta990

Description

@monta990

Code of Conduct

  • I agree to follow this project's Code of Conduct

Disable plugins

  • I reproduce the issue with all plugins disabled

Is there an existing issue for this?

  • I have searched the existing issues

Version

11.0.6

Bug description

I had that errors only opening Inventory configuration page

Image

Relevant log output

glpi.WARNING:   *** Warning: Undefined array key "basic_auth_login" at Conf.php line 420
  Backtrace :
  ./src/Glpi/Inventory/Conf.php:420                  
  ./src/Glpi/Inventory/Conf.php:334                  Glpi\Inventory\Conf->showConfigForm()
  ./src/CommonGLPI.php:738                           Glpi\Inventory\Conf::displayTabContentForItem()
  ./ajax/common.tabs.php:108                         CommonGLPI::displayStandardTab()
  ...Glpi/Controller/LegacyFileLoadController.php:64 require()
  ./vendor/symfony/http-kernel/HttpKernel.php:181    Glpi\Controller\LegacyFileLoadController->__invoke()
  ./vendor/symfony/http-kernel/HttpKernel.php:76     Symfony\Component\HttpKernel\HttpKernel->handleRaw()
  ./vendor/symfony/http-kernel/Kernel.php:208        Symfony\Component\HttpKernel\HttpKernel->handle()
  ./public/index.php:71                              Symfony\Component\HttpKernel\Kernel->handle()
glpi.WARNING:   *** Warning: Undefined array key "basic_auth_password" at Conf.php line 433
  Backtrace :
  ./src/Glpi/Inventory/Conf.php:433                  
  ./src/Glpi/Inventory/Conf.php:334                  Glpi\Inventory\Conf->showConfigForm()
  ./src/CommonGLPI.php:738                           Glpi\Inventory\Conf::displayTabContentForItem()
  ./ajax/common.tabs.php:108                         CommonGLPI::displayStandardTab()
  ...Glpi/Controller/LegacyFileLoadController.php:64 require()
  ./vendor/symfony/http-kernel/HttpKernel.php:181    Glpi\Controller\LegacyFileLoadController->__invoke()
  ./vendor/symfony/http-kernel/HttpKernel.php:76     Symfony\Component\HttpKernel\HttpKernel->handleRaw()
  ./vendor/symfony/http-kernel/Kernel.php:208        Symfony\Component\HttpKernel\HttpKernel->handle()
  ./public/index.php:71                              Symfony\Component\HttpKernel\Kernel->handle()

Page URL

https://glpiserver/Inventory/Configuration

Steps To reproduce

Navegate to:
Administration -> Inventory

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions