plugin_weathermap icon indicating copy to clipboard operation
plugin_weathermap copied to clipboard

Plugin disables itself - Call to a member function add_hint() on null in file

Open misterjmw opened this issue 5 years ago • 2 comments

2020/03/24 07:44:45 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
--
2020/03/24 07:44:45 - ERROR PHP ERROR in  Plugin 'weathermap': Call  to a member function add_hint() on null in file:  /var/lib/cacti/plugins/weathermap/lib/Weathermap.class.php on line: 2260
2020/03/24 07:44:45 - WEATHERMAP WARNING: [Map 3] bpce.conf: Unrecognised config on line 195: BANDWIDTH 10G
2020/03/24 07:44:45 - WEATHERMAP WARNING: [Map 3] bpce.conf: Unrecognised config on line 194: VIA 294 474

misterjmw avatar Mar 24 '20 13:03 misterjmw

This may have something to do with the bpce.conf file. Can you make sure it does not contain any errors or temporarly disabled/move it and test with a plain config file ?

thurban avatar Apr 17 '20 09:04 thurban

@thurban I started digging in when I didn't hear on this. There are quite a few errors actually, but it was a working map in the original 0.98a (IIRC) version of Weathermap. Do you want the errors it's throwing?

misterjmw avatar Apr 17 '20 20:04 misterjmw

@misterjmw, please note below...

This issue will be resolved once this pull request is merged: https://github.com/Cacti/plugin_weathermap/pull/39

TheWitness avatar Jan 02 '23 13:01 TheWitness