network-weathermap: Undefined index: 'direction'

https://github.com/howardjones/network-weathermap/blob/d081cc176e291c73dcfecd8f8c064d0d30fbacb2/lib/Weathermap/Core/Map.php#L1270

2018/09/14 10:32:09 - CMDPHP PHP ERROR NOTICE Backtrace: (/poller.php[676]:api_plugin_hook(), /lib/plugins.php[74]:api_plugin_run_plugin_hook(), /lib/plugins.php[177]:weathermap_poller_bottom(), /plugins/weathermap/lib/Weathermap/Integrations/Cacti/cacti-plugin-poller.php[176]:Weathermap\Poller\runMaps(), /plugins/weathermap/lib/Weathermap/Poller/poller-common.php[85]:Weathermap\Poller\MapRuntime->run(), /plugins/weathermap/lib/Weathermap/Poller/MapRuntime.php[178]:Weathermap\Poller\MapRuntime->writeHTMLFile(), /plugins/weathermap/lib/Weathermap/Poller/MapRuntime.php[261]:Weathermap\Core\Map->makeHTML(), /plugins/weathermap/lib/Weathermap/Core/Map.php[1210]:Weathermap\Core\Map->calculateImagemap(), /plugins/weathermap/lib/Weathermap/Core/Map.php[1270]:CactiErrorHandler())
--
2018/09/14 10:32:09 - ERROR PHP NOTICE in Plugin 'weathermap': Undefined index: direction in file: /var/www/cacti/plugins/weathermap/lib/Weathermap/Core/Map.php on line: 1270

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (23 by maintainers)

Most upvoted comments

OK - so the new map display thing shouldn’t be fetching files directly from the output/ directory. That needs to be fixed.