Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Default

    Description

      Hello,

      since the latest update we are not able to poll our applications via Observium Agent.
      The polling script is just getting the following errors:

      PHP Fatal error:  Uncaught TypeError: Illegal offset type in /opt/observium/includes/polling/applications.inc.php:18
      Stack trace:
      #0 /opt/observium/includes/polling/functions.inc.php(303): include()
      #1 /opt/observium/poller.php(171): poll_device()
      #2 {main}
        thrown in /opt/observium/includes/polling/applications.inc.php on line 18
       

      Before the latest update this worked without problems. Also the application graphs we use are not updated.
      We are using the following applications:

      Attachments

        Activity

          [OBS-3936] Polling Applications failed
          bot Observium Bot made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          adama Adam Armstrong added a comment - - edited

          Holy shit people shipping php8 by default already. Don't they know it's incompatible with huge amounts of pre-existing code?

          RHEL: so old nothing works
          Fedora Server: so new nothing works

          adama Adam Armstrong added a comment - - edited Holy shit people shipping php8 by default already. Don't they know it's incompatible with huge amounts of pre-existing code? RHEL: so old nothing works Fedora Server: so new nothing works

          We are using CE 21.10.11666.
          Any timeline when this will get fixed in CE too?

          We use Fedora Server version 35 which ships with PHP8 per default. We will check if we can downgrade.

          marcwa19197 marcwa19197 added a comment - We are using CE 21.10.11666. Any timeline when this will get fixed in CE too? We use Fedora Server version 35 which ships with PHP8 per default. We will check if we can downgrade.
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Issue fixed in r11727.

          But that's happened only on php8.
          If you use CE, downgrade your php to 7.4.

          landy Mike Stupalov added a comment - Issue fixed in r11727. But that's happened only on php8. If you use CE, downgrade your php to 7.4.
          landy Mike Stupalov made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Progress [ 3 ]
          landy Mike Stupalov made changes -
          Labels New: php8
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: Pending Response [ 10000 ]

          Which version of observium?

          ./discovery.php -VV
          

          landy Mike Stupalov added a comment - Which version of observium? ./discovery.php -VV

          People

            landy Mike Stupalov
            marcwa19197 marcwa19197
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: