Plugin VLANs - Whoops, looks like something went wrong

Hello guys,
after my installation VLANs plugin getting this error. Could you help me please ?

I created two files VLANs.php and VLANs.inc.php and copied all from there. After installation used enable plugin throught Overview->Plugins->Plugin Admin

My LibreNMS version

Component Version
LibreNMS 22.11.0-21-g47cc169f4 (2022-12-12T09:02:49+01:00)
DB Schema 2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (248)
PHP 8.1.11
Python 3.8.10
Database MariaDB 10.3.37-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP 5.8
===========================================

[OK] Composer Version: 2.4.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached

hi all,
a problem with this plugin was change php version to 8.1

Looks like someone already submitted a PR including changes needed. I suggest you just apply the PR locally if you want the plugin to work.

Hi, the 8.1 update should be merged now. Sorry it took so long.
Many thanks to sorano (Sorano) · GitHub for the update!