我从zabbix6.0升级到zabbix6.2的时候,php版本更新为7.4,显示错误

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Ubuntu 18.04.6 LTS
      mysql5.7.38
      php7.4
      zabbix6.2

      *148 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key 0 in /usr/share/zabbix/include/classes/api/services/CSettings.php on line 80PHP message: PHP Fatal error:  Uncaught TypeError: CSettings::get(): Return value must be of type array, null returned in /usr/share/zabbix/include/classes/api/services/CSettings.php:80 Stack trace: #0 /usr/share/zabbix/include/classes/api/clients/CLocalApiClient.php(121): CSettings->get() #1 /usr/share/zabbix/include/classes/api/wrappers/CFrontendApiWrapper.php(97): CLocalApiClient->callMethod() #2 /usr/share/zabbix/include/classes/api/wrappers/CApiWrapper.php(94): CFrontendApiWrapper->callClientMethod() #3 /usr/share/zabbix/include/classes/api/wrappers/CFrontendApiWrapper.php(63): CApiWrapper->callMethod() #4 /usr/share/zabbix/include/classes/api/wrappers/CApiWrapper.php(82): CFrontendApiWrapper->callMethod() #5 /usr/share/zabbix/include/classes/helpers/CSettingsHelper.php(109): CApiWrapper->__call() #6 /usr/share/zabbix/include/classes/helpers/CConfigGeneralHelper.php(47): CSettingsHelper::loadParams()

            Assignee:
            Igor Gorbach (Inactive)
            Reporter:
            柒小浪
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: