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

PHP runtime error when clearing item history on TimescaleDB

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 6.0.15rc1, 6.2.9rc1, 6.4.1rc1, 7.0.0alpha1
    • Frontend (F)
    • Sprint 98 (Mar 2023)

      Steps to reproduce:

      1. Setup zabbix with TimescaleDB
      2. Disable compression on Housekeeping page
      3. Go to Data Collection -> Hosts
      4. Select Zabbix server items
      5. Click "Clear history"

      Result:
      success message with error in details

      Trying to access array offset on value of type bool [items.php:701 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHistory->clear() → CHistoryManager->deleteHistory() → CHistoryManager->deleteHistoryFromSql() → PostgresqlDbBackend::isCompressed() → CConfigFile->{closure}() in conf/zabbix.conf.php:87]

      Expected:
      no errors

            zabbix.dev Zabbix Development Team
            natalja.zabbix Natalja Romancaka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: