librenms-plugins / Weathermap

MIT License
64 stars 51 forks source link

Error When Update php8.1 #76

Closed cabello123 closed 2 years ago

cabello123 commented 2 years ago

hello to all a few days ago I updated the php version from 7.4 to 8.1 and when I install the Weathermaps plugin this error is skipped, ksort(): Argument #1 ($array) must be of type array, null given

Someone can help me ?

cabello123 commented 2 years ago

I have already solved the problem, I only had to add several missing arrays to the function

fbouynot commented 2 years ago

Hello, I have the exact same issue with php8.1.5 on Centos8 stream, and I see no fix in the repo, could you please share what you did?