Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21240

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

    XMLWordPrintable

Details

    • Incident report
    • Status: Need info
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Ubuntu 18.04.6 LTS
      mysql5.7.38
      php7.4
      zabbix6.2

    Description

      *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()

      Attachments

        Activity

          People

            igorbach Igor Gorbach
            柒小浪 柒小浪
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: