-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.0.13, 4.4.0
-
Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
-
0.5
Steps to reproduce:
- 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
- is duplicated by
-
ZBX-18037 PHP deprecation message of curly brace usage to select simple character of string.
- Closed