Error in log in Arr.php

I get often the error

“array_intersect_key(): Argument #1 ($array) must be of type array, string given at /data/librenms/vendor/laravel/framework/src/Illuminate/Collections/Arr.php”

in librenms.log

Is this a php 8.2 problem?

Does anyone know?

Thanks in Advance

Gert-Jan

Version 24.1.0-50-g7228dbfa2 - Tue Jan 30 2024 15:03:08 GMT+0100
Database Schema 2023_12_10_130000_historical_data_to_ports_nac (280)
Web Server nginx/1.18.0
PHP 8.2.8
Python 3.9.2
Database MariaDB 10.5.19-MariaDB-0+deb11u2
Laravel 10.40.0
RRDtool 1.7.2

It appeared to be a configuration error where we cannot use a three dimensional array:

$config[‘snmp’][‘v3’] = array(“authalgo” => “SHA”, “authlevel” => “authPriv”, “authname” => “XXXXXX”, “authpass” => “XXXXXX”, “cryptoalgo” => “AES”, “cryptopass” => “XXXXXX”)

So we used the GUI for this and now the error is gone.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.