Ad Widget

Collapse

Error on the top of problem page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dan_cytexone
    Member
    • Dec 2008
    • 61

    #1

    Error on the top of problem page

    This is on the top of our problem page.

    Undefined index: acknowledges [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() in include/events.inc.php:480]
    Invalid argument supplied for foreach() [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() in include/events.inc.php:480]
    Argument 1 passed to CArrayHelper::sort() must be of the type array, null given, called in /var/www/html/include/events.inc.php on line 483 and defined [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() → CArrayHelper::sort() in include/classes/helpers/CArrayHelper.php:124]
    uasort() expects parameter 1 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() → CArrayHelper::sort() → uasort() in include/classes/helpers/CArrayHelper.php:131]
    Undefined index: acknowledges [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() →
  • dan_cytexone
    Member
    • Dec 2008
    • 61

    #2
    it's actually much longer than this, but the forum will not allow me to post longer

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      It is difficult to answer because you do not give information of your environment that you are using.

      Perhaps, not been able to work together in the Web server and PHP.
      Please make sure PHP that is an environment that can be used.

      Comment

      • dan_cytexone
        Member
        • Dec 2008
        • 61

        #4
        Every other page works fine. It's an Ubuntu environment. Only the problems page shows this error.

        Undefined index: acknowledges [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() in include/events.inc.php:480]
        Invalid argument supplied for foreach() [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() in include/events.inc.php:480]
        Argument 1 passed to CArrayHelper::sort() must be of the type array, null given, called in /var/www/html/include/events.inc.php on line 483 and defined [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() → CArrayHelper::sort() in include/classes/helpers/CArrayHelper.php:124]
        uasort() expects parameter 1 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsAcknowledges() → CArrayHelper::sort() → uasort() in include/classes/helpers/CArrayHelper.php:131]
        Argument 1 passed to CArrayHelper::sort() must be of the type array, null given, called in /var/www/html/include/events.inc.php on line 562 and defined [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsTags() → CArrayHelper::sort() in include/classes/helpers/CArrayHelper.php:124]
        uasort() expects parameter 1 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsTags() → CArrayHelper::sort() → uasort() in include/classes/helpers/CArrayHelper.php:131]
        array_slice() expects parameter 1 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsTags() → array_slice() in include/events.inc.php:570]
        Invalid argument supplied for foreach() [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() → makeEventsTags() in include/events.inc.php:572]
        Undefined index: r_eventid [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() in include/classes/screens/CScreenProblem.php:707]
        Undefined index: r_eventid [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() in include/classes/screens/CScreenProblem.php:723]
        Undefined index: acknowledges [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() in include/classes/screens/CScreenProblem.php:732]
        Invalid argument supplied for foreach() [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() in include/classes/screens/CScreenProblem.php:732]
        Undefined index: acknowledges [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() in include/classes/screens/CScreenProblem.php:749]
        Undefined index: r_eventid [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() in include/classes/screens/CScreenProblem.php:754]
        Undefined index: r_eventid [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → CScreenProblem->get() in include/classes/screens/CScreenProblem.php:825]

        Comment

        • dirckcopeland
          Member
          • Oct 2013
          • 50

          #5
          Error on the top of problem page

          I'm seeing the same thing after upgrading fro 2.4.7 to 3.2.4. This is very curious because everything else is working fine. I'm also on ubuntu 14.04. If anyone has any insight to this, it would be helpful. I've checked the php files in question but would assume that an upgrade would know how to handle this. Here is the exact message I am seeing in the last 20 issues on the main dashboard.

          Undefined index: lastEvent [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441]
          Undefined index: lastEvent [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441]
          Undefined index: lastEvent [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441]

          Comment

          • beyondldf
            Junior Member
            • Jan 2017
            • 5

            #6
            issue

            I have the same problem,Have you resolve it???
            If so ,could you give me some advice?Thank you very much.

            Comment

            • sles
              Member
              • Oct 2005
              • 80

              #7
              Just got the same:

              Undefined index: lastEvent [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441]

              On panel right after last 20 events.

              Centos 7 , zabbix 3.2.4.

              After some time message disappeared...

              Comment

              • jluvs2ride
                Member
                • Jul 2015
                • 85

                #8
                I got this too.

                Upgraded to 3.2.4 running Debian Jessie. Annoying. How to get rid of this?

                Comment

                • batchenr
                  Senior Member
                  • Sep 2016
                  • 440

                  #9
                  Originally posted by jluvs2ride
                  Upgraded to 3.2.4 running Debian Jessie. Annoying. How to get rid of this?
                  seems like a bug :



                  it shows they fixed it

                  Comment

                  • jluvs2ride
                    Member
                    • Jul 2015
                    • 85

                    #10
                    Originally posted by batchenr
                    If it's fixed, why am I getting it? Do I need to upgrade the front end again?

                    Comment

                    • toine7m
                      Member
                      • Feb 2017
                      • 93

                      #11
                      you need to update to this version or upper updates :

                      3.2 r66759
                      3.4.0alpha1 (trunk) r66767

                      Comment

                      Working...