[Bug 264385] cacti 1.2.10 syntax error

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Jun 2022 03:58:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264385

            Bug ID: 264385
           Summary: cacti 1.2.10 syntax error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: heas@shrubbery.net

just upgraded pkg;

ERROR: PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool
in
 /usr/local/share/cacti/lib/mib_cache.php:359
Cacti[10409]: Stack trace:
#0 /usr/local/share/cacti/lib/snmpagent.php(471): MibCache->update(Array)
#1 /usr/local/share/cacti/poller.php(822): snmpagent_poller_bottom()
#2 {main}
thrown in file: /usr/local/share/cacti/lib/mib_cache.php on line: 359

the error is obvious; s/\&/&&/

-- 
You are receiving this mail because:
You are the assignee for the bug.