Skip to content

The use statement with non-compound name GLPIKey has no effect #43

@stonebuzz

Description

@stonebuzz

Code of Conduct

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

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.18

Plugin version

1.0.2

Bug description

Seen on a cloud instance (many times in the logs)

[2025-04-02 15:04:46] glpiphplog.WARNING:   *** PHP Warning (2): The use statement with non-compound name 'GLPIKey' has no effect in /mnt/diskhome/home/htdocs/marketplace/centreon/hook.php at line 32
  Backtrace :
  src/Plugin.php:2020                                include_once()
  src/Plugin.php:1998                                Plugin::includeHook()
  src/Search.php:8474                                Plugin::getAddSearchOptions()
  src/Search.php:8123                                Search::getOptions()
  src/Search.php:652                                 Search::getCleanedOptions()
  src/Search.php:449                                 Search::prepareDatasForSearch()
  ajax/search.php:83                                 Search::getDatas()

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions