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

/usr/share/zabbix/app/partials/service.list.php error

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 6.0.4
    • Frontend (F)

      When I check Services > Service I get a black screen and in the frontend log in Apache I see that error:

       

      172.16.238.1 - - [20/May/2022:10:38:05 +0200] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 63 "https://zabbix.mgagames.net/zabbix.php?action=dashboard.view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36"
      [Fri May 20 10:38:06.539889 2022] [php:error] [pid 447022] [client 172.16.238.1:56722] PHP Fatal error:  Uncaught TypeError: array_slice(): Argument #3 ($length) must be of type ?int, string given in /usr/share/zabbix/app/partials/service.list.php:81\nStack trace:\n#0 /usr/share/zabbix/app/partials/service.list.php(81): array_slice()\n#1 /usr/share/zabbix/include/classes/mvc/CPartial.php(109): include('...')\n#2 /usr/share/zabbix/include/classes/html/CObject.php(86): CPartial->getOutput()\n#3 /usr/share/zabbix/include/classes/html/CObject.php(66): unpack_object()\n#4 /usr/share/zabbix/include/classes/html/CTag.php(117): CObject->addItem()\n#5 /usr/share/zabbix/include/classes/html/CObject.php(73): CTag->addItem()\n#6 /usr/share/zabbix/include/classes/html/CTag.php(117): CObject->addItem()\n#7 /usr/share/zabbix/include/classes/html/CObject.php(73): CTag->addItem()\n#8 /usr/share/zabbix/include/classes/html/CTag.php(117): CObject->addItem()\n#9 /usr/share/zabbix/include/classes/html/CTag.php(63): CTag->addItem()\n#10 /usr/share/zabbix/include/classes/html/widget/CWidget.php(146): CTag->__construct()\n#11 /usr/share/zabbix/include/classes/html/widget/CWidget.php(113): CWidget->toString()\n#12 /usr/share/zabbix/app/views/service.list.php(129): CWidget->show()\n#13 /usr/share/zabbix/include/classes/mvc/CView.php(136): include('...')\n#14 /usr/share/zabbix/include/classes/core/ZBase.php(603): CView->getOutput()\n#15 /usr/share/zabbix/include/classes/core/ZBase.php(529): ZBase->processResponseFinal()\n#16 /usr/share/zabbix/include/classes/core/ZBase.php(210): ZBase->processRequest()\n#17 /usr/share/zabbix/include/config.inc.php(25): ZBase->run()\n#18 /usr/share/zabbix/zabbix.php(22): require_once('...')\n#19 {main}\n  thrown in /usr/share/zabbix/app/partials/service.list.php on line 81, referer: http://zabbix.mgagames.net/zabbix.php?action=dashboard.view
      [Fri May 20 10:38:06.540735 2022] [php:error] [pid 447022] [client 172.16.238.1:56722] PHP Fatal error:  Uncaught Exception: Headers already sent. in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php:68\nStack trace:\n#0 /usr/share/zabbix/include/classes/core/CCookieSession.php(126): CCookieHelper::set()\n#1 [internal function]: CCookieSession->write()\n#2 {main}\n  thrown in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 68, referer: http://zabbix.mgagames.net/zabbix.php?action=dashboard.view
      [Fri May 20 10:38:06.540797 2022] [php:warn] [pid 447022] [client 172.16.238.1:56722] PHP Warning:  Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0, referer: http://zabbix.mgagames.net/zabbix.php?action=dashboard.view

            zabbix.support Zabbix Support Team
            iMartinez Ivan Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: