Question

Licence - Cannot load module

  • 23 November 2023
  • 0 replies
  • 88 views

Badge

Hello,

In centreon 23.10, debian 11, in Administration > Extensions > Manager, , I can’t add licence.

I have this message on the GUI: Cannot load module

 

In the Apache log I have:

[Thu Nov 23 14:25:00.781419 2023] [proxy_fcgi:error] [pid 26929] AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "licensing" in /usr/share/centreon/src/CentreonModule/Infrastructure/Source/ModuleSource.php on line 296PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/share/centreon/src/CentreonModule/Infrastructure/Source/ModuleSource.php on line 296', referer: http://xxx/centreon/administration/extensions/manager
 

In /usr/share/centreon/src/CentreonModule/Infrastructure/Source/ModuleSource.php

        return [
            'required' => true,
            'expiration_date' => $this->license->getLicenseExpiration($slug),
            'host_usage' => $this->getHostUsage(),
            'is_valid' => $license->validate(),
            'host_limit' => $licenseInFileData['licensing']['hosts']

 

Where is the problem ?

Best regards
 


0 replies

Be the first to reply!

Reply