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

Hidden error in graphs with PHP 7.3.5

XMLWordPrintable

    • Sprint 52 (May 2019)
    • 0.125

      1. Have PHP 7.3.5. For some reason it is more strict than 7.2.18.
      2. Have a default graph like CPU Load.
      3. Have error displaying to some file. You will see it in view.
      4. Open graph and observe the error in that file.

      time() expects exactly 0 parameters, 1 given [chart2.php:168 -> CLineGraphDraw->draw() -> CLineGraphDraw->selectData() -> time() -> CConfigFile->{closure}() in include\classes\graphdraw\CLineGraphDraw.php:180]

      That is not the only place. Several more places have time(null) in code. The function is not supposed to accept any parameters.

            rlataria Roberts Lataria (Inactive)
            iivs Ivo Kurzemnieks
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: