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

PHP 7.4 frontend error

XMLWordPrintable

    • Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • 0.5

      Steps to reproduce:

      1. upgrade PHP to 7.4

      Result:
      error messages appear in each dashboard widget and on each page of fronted, such as these

      Array and string offset access syntax with curly braces is deprecated [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → CControllerDashboardView::getWidgets() → CJs::encodeJson() → spl_autoload_call() → CAutoloader->loadClass() → require() in include/classes/core/CAutoloader.php:59]
      
      Array and string offset access syntax with curly braces is deprecated [actionconf.php:856 → CView->render() → include() → CTag->addItem() → CObject->addItem() → CTag->addItem() → CObject->addItem() → unpack_object() → CActionButtonList->toString() → CJs::encodeJson() → spl_autoload_call() → CAutoloader->loadClass() → require() in include/classes/core/CAutoloader.php:59]
      

      Expected:
      no error appears

       

        1. screenshot-1.png
          screenshot-1.png
          128 kB
        2. 2019-10-28-161219_1115x329_scrot.png
          2019-10-28-161219_1115x329_scrot.png
          39 kB
        3. 2019-10-28-171901_794x257_scrot.png
          2019-10-28-171901_794x257_scrot.png
          39 kB
        4. runtime_classicGraph_errors.gif
          runtime_classicGraph_errors.gif
          1.09 MB
        5. runtime_stacked_graph.gif
          runtime_stacked_graph.gif
          1.14 MB
        6. add_child_service_errors.gif
          add_child_service_errors.gif
          2.28 MB
        7. map_nav_tree_runtime.gif
          map_nav_tree_runtime.gif
          2.63 MB
        8. plain_text_runtime.gif
          plain_text_runtime.gif
          1.07 MB

            talbergs Mārtiņš Tālbergs (Inactive)
            koto Matej Kotras
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: