Ad Widget

Collapse

Zabbix 7.0 PHP Error - Trigger actions page not available

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SanMonitor
    Member
    • Aug 2022
    • 48

    #1

    Zabbix 7.0 PHP Error - Trigger actions page not available

    Hey everyone,

    upgraded to zabbix 7 yesterday from 6.0.5. This was on a ubuntu 20.04 that was also upgraded to 22.04.
    Everything seemed to be working fine, that is, until I tried to open the trigger actions page (URL: http://%IP%/zabbix/zabbix.php?action=action.list&eventsource=0)
    I haven't found any other page that doesn't load.

    The page loads with a HTTP ERROR 500.
    In the apache logs I found this error - thing is, I have very little experience with apache and PHP and I don't really know where to go from here. Is there anyone that could help me with this?

    [Thu Jul 11 11:58:52.435365 2024] [php:warn] [pid 242385:tid 242385] [client %IP my client%:56108] PHP Warning: Undefined array key "conditiontype" in /usr/share/zabbix/include/actions.inc.php on line 119, referer: http://%IP Zabbix Server%/zabbix/zabbix.php?action=user.list
    [Thu Jul 11 11:58:52.435406 2024] [php:warn] [pid 242385:tid 242385] [client %IP my client%:56108] PHP Warning: Undefined array key "value" in /usr/share/zabbix/include/actions.inc.php on line 121, referer: http://%IP Zabbix Server%/zabbix/zabbix.php?action=user.list
    [Thu Jul 11 11:58:52.435417 2024] [php:warn] [pid 242385:tid 242385] [client %IP my client%:56108] PHP Warning: Undefined array key "value" in /usr/share/zabbix/include/actions.inc.php on line 121, referer: http://%IP Zabbix Server%/zabbix/zabbix.php?action=user.list
    [Thu Jul 11 11:58:52.439763 2024] [php:warn] [pid 242385:tid 242385] [client %IP my client%:56108] PHP Warning: Undefined array key "value" in /usr/share/zabbix/include/actions.inc.php on line 273, referer: http://%IP Zabbix Server%/zabbix/zabbix.php?action=user.list
    [Thu Jul 11 11:58:52.439786 2024] [php:warn] [pid 242385:tid 242385] [client %IP my client%:56108] PHP Warning: Undefined array key "conditiontype" in /usr/share/zabbix/include/actions.inc.php on line 275, referer: http://%IP Zabbix Server%/zabbix/zabbix.php?action=user.list
    [Thu Jul 11 11:58:52.439854 2024] [php:error] [pid 242385:tid 242385] [client %IP my client%:56108] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /usr/share/zabbix/include/actions.inc.php:277\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerActionList.php(143): actionConditionValueToString()\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(473): CControllerActionList->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(642): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(228): ZBase->processRequest()\n#4 /usr/share/zabbix/include/config.inc.php(20): ZBase->run()\n#5 /usr/share/zabbix/zabbix.php(17): require_once('...')\n#6 {main}\n thrown in /usr/share/zabbix/include/actions.inc.php on line 277, referer: http://%IP Zabbix Server%/zabbix/zabbix.php?action=user.list
  • Tristis Oris
    Member
    • Sep 2015
    • 66

    #2
    7.0.1rc1 is out, but i didn't see any fix for this. Any workaround?

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #3
      https://support.zabbix.com/browse/ZBX-24657 looks the same issue.

      Markku

      Comment

      Working...