-
-
Notifications
You must be signed in to change notification settings - Fork 436
Setting context for connections throws error in PHP 8.x #4960
Copy link
Copy link
Closed
Labels
bugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamresolvedA fixed issueA fixed issue
Milestone
Description
Describe the bug
When setting a context for things like the remote agent and other call using contexts, Cacti throws the following deprecation warning:
2022-10-17 01:32:56 - ERROR PHP DEPRECATED: Automatic conversion of false to array is deprecated in file: /var/www/html/cacti/lib/functions.php on line: 6016 To Reproduce
Simply run automation on a network using PHP 8.1.11.
Expected behavior
No deprecation warnings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamresolvedA fixed issueA fixed issue