Can anybody help with this error im getting with Weathermap plugin?
/opt/librenms/html/plugins/Weathermap/map-poller.php
PHP Warning: require_once(Console/Getopt.php): failed to open stream: No such file or directory in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
PHP Fatal error: require_once(): Failed opening required ‘Console/Getopt.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
Yes thats it. thank you -
Im getting this error now running php 7.2
/opt/librenms/html/plugins/Weathermap/map-poller.php
PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /usr/share/pear/Console/Getopt.php on line 135
It certainly has:
http://php.net/manual/en/function.each.php
Someday it will be removed and they’ll be forced to fix it. But, for today, you should be fine.
1 Like
Again you are spot on. Thank you Daniel.
Hi Kevin, how are you?
How do you fix the error “PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /usr/share/pear/Console/Getopt.php on line 136”?
thank you!
2 Likes
I’m encountering the same issue so will piggy back onto this post
How you solved this problem ? I am on PHP 7.2 and I am getting same error