In my httpd log i am finding this error:
[Wed May 13 07:39:26.586833 2020] [php7:error] [pid 24126] [client 10.25.211.27:62084] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/share/zabbix/app/controllers/CControllerDashboardView.php:284\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerDashboardView.php(101): CControllerDashboardView::getWidgets(Array)\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(339): CControllerDashboardView->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(488): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(194): ZBase->processRequest(Object(CRouter))\n#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#5 /usr/share/zabbix/zabbix.php(21): require_once('/usr/share/zabb...')\n#6 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerDashboardView.php on line 284, referer: http://172.28.9.117/zabbix/
[Wed May 13 07:39:30.514201 2020] [php7:error] [pid 24127] [client 10.25.211.27:62085] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/share/zabbix/app/controllers/CControllerDashboardView.php:284\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerDashboardView.php(101): CControllerDashboardView::getWidgets(Array)\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(339): CControllerDashboardView->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(488): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(194): ZBase->processRequest(Object(CRouter))\n#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#5 /usr/share/zabbix/zabbix.php(21): require_once('/usr/share/zabb...')\n#6 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerDashboardView.php on line 284, referer: http://172.28.9.117/zabbix/
[Wed May 13 07:39:32.366967 2020] [php7:error] [pid 24128] [client 10.25.211.27:62086] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/share/zabbix/app/controllers/CControllerDashboardView.php:284\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerDashboardView.php(101): CControllerDashboardView::getWidgets(Array)\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(339): CControllerDashboardView->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(488): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(194): ZBase->processRequest(Object(CRouter))\n#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#5 /usr/share/zabbix/zabbix.php(21): require_once('/usr/share/zabb...')\n#6 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerDashboardView.php on line 284, referer: http://172.28.9.117/zabbix/
I just did an upgrade to 5.0.0 from 4.4.7, php 7.2.30. This is a standalone test system. MySql 5.7.30
[Wed May 13 07:39:26.586833 2020] [php7:error] [pid 24126] [client 10.25.211.27:62084] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/share/zabbix/app/controllers/CControllerDashboardView.php:284\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerDashboardView.php(101): CControllerDashboardView::getWidgets(Array)\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(339): CControllerDashboardView->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(488): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(194): ZBase->processRequest(Object(CRouter))\n#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#5 /usr/share/zabbix/zabbix.php(21): require_once('/usr/share/zabb...')\n#6 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerDashboardView.php on line 284, referer: http://172.28.9.117/zabbix/
[Wed May 13 07:39:30.514201 2020] [php7:error] [pid 24127] [client 10.25.211.27:62085] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/share/zabbix/app/controllers/CControllerDashboardView.php:284\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerDashboardView.php(101): CControllerDashboardView::getWidgets(Array)\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(339): CControllerDashboardView->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(488): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(194): ZBase->processRequest(Object(CRouter))\n#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#5 /usr/share/zabbix/zabbix.php(21): require_once('/usr/share/zabb...')\n#6 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerDashboardView.php on line 284, referer: http://172.28.9.117/zabbix/
[Wed May 13 07:39:32.366967 2020] [php7:error] [pid 24128] [client 10.25.211.27:62086] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/share/zabbix/app/controllers/CControllerDashboardView.php:284\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerDashboardView.php(101): CControllerDashboardView::getWidgets(Array)\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(339): CControllerDashboardView->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(488): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(194): ZBase->processRequest(Object(CRouter))\n#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#5 /usr/share/zabbix/zabbix.php(21): require_once('/usr/share/zabb...')\n#6 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerDashboardView.php on line 284, referer: http://172.28.9.117/zabbix/
I just did an upgrade to 5.0.0 from 4.4.7, php 7.2.30. This is a standalone test system. MySql 5.7.30
Comment