Automatic disabling weathermap plugin #175
kristoffervo
started this conversation in
General
Replies: 2 comments 1 reply
-
|
Is this still present? I would update to the latest develop. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks, i think this was related to a specific faulty configuration when creating the maps i resolved the map issue and have seen the issue since then. My question was to figure out if it's normal that some faulty map configuration would always disable the plugin. since i have several people doing changes to maps i wanted to avoid it being disabled if someone made a mistake. I can test the latest develop and see if i can recreate the issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I couldn't find a discussion on this topic, so I apologize if there is one already.
I've noticed that when an error occurs in a map configuration, depending on the error, the Weathermap plugin gets disabled. I then have to manually re-enable the plugin.
Is this how it's supposed to work? It seems odd that I can just re-enable the plugin if the error warranted disabling the plugin. We recently upgraded to the 1.x plugin, and I don't remember this being an issue with the older version.
Here is the error message I encountered:
2025-04-03 10:45:56 - ERROR PHP ERROR in Plugin 'weathermap': Uncaught TypeError: Unsupported operand types: string * int in /usr/share/cacti/plugins/weathermap/lib/WeatherMap.class.php:1079 Stack trace: #0 /usr/share/cacti/plugins/weathermap/lib/poller-common.php(430): WeatherMap->ReadData() #1 /usr/share/cacti/plugins/weathermap/setup.php(1193): weathermap_run_maps() #2 /usr/share/cacti/lib/plugins.php(237): weathermap_poller_bottom() #3 /usr/share/cacti/lib/plugins.php(95): api_plugin_run_plugin_hook() #4 /usr/share/cacti/poller.php(941): api_plugin_hook() #5 {main} thrown in file: /usr/share/cacti/plugins/weathermap/lib/WeatherMap.class.php on line: 1079 2025-04-03 10:45:56 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler()) 2025-04-03 10:45:56 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'Beta Was this translation helpful? Give feedback.
All reactions