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

zabbix-web-4.0.28-1.el7.noarch broke CLineGraphDraw.php on CentOS 7 | php 5.4.16

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 4.0.28
    • None
    • Frontend (F), Server (S)
    • CentOS 7.9.2009
      PHP 5.4.16

    Description

      Updated zabbix-web to zabbix-web-4.0.28-1.el7.noarch

      errors now present in /var/log/httpd/error_log

      PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php on line 1305
       
      private function getOptimalDateTimeIntervalSpec(int $pref_sub_interval, float $min_sub_interval): array {
      There appears to be a PHP 7 return type declaration in a package on CentOS 7 which only supports up to PHP 5.4.16 in the official repositories.

      Manual removal fixed the issue.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              robert_cop Daniel Fulford
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: