Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined index: host_id in file EditorDataPicker.php on line: 185 #210

Open
jdcoats opened this issue Mar 8, 2019 · 2 comments
Open

Undefined index: host_id in file EditorDataPicker.php on line: 185 #210

jdcoats opened this issue Mar 8, 2019 · 2 comments

Comments

@jdcoats
Copy link

jdcoats commented Mar 8, 2019


2019/03/08  15:19:06 - CMDPHP PHP ERROR NOTICE Backtrace:   (/plugins/weathermap/cacti-pick.php[45]:Weathermap\Integrations\Cacti\EditorDataPicker->main(),   /plugins/weathermap/lib/Weathermap/Integrations/Cacti/EditorDataPicker.php[59]:Weathermap\UI\UIBase->dispatchRequest(),   /plugins/weathermap/lib/Weathermap/UI/UIBase.php[140]:Weathermap\Integrations\Cacti\EditorDataPicker->handleLinkStep2(),   /plugins/weathermap/lib/Weathermap/Integrations/Cacti/EditorDataPicker.php[185]:CactiErrorHandler())
--
2019/03/08 15:19:06 - ERROR PHP NOTICE in  Plugin 'weathermap':  Undefined index: host_id in file:  /var/www/localhost/htdocs/cacti/plugins/weathermap/lib/Weathermap/Integrations/Cacti/EditorDataPicker.php   on line: 185
2019/03/08 15:19:04 - CMDPHP PHP ERROR WARNING Backtrace:   (/poller.php[676]:process_poller_output(),  /lib/poller.php[532]:api_plugin_hook_function(),  /lib/plugins.php[114]:api_plugin_run_plugin_hook_function(),  /lib/plugins.php[221]:weathermap_poller_output(),  /plugins/weathermap/lib/Weathermap/Integrations/Cacti/cacti-plugin-poller.php[96]:CactiErrorHandler())
2019/03/08 15:19:04 - ERROR PHP WARNING in  Plugin 'weathermap': A  non-numeric value encountered in file:  /var/www/localhost/htdocs/cacti/plugins/weathermap/lib/Weathermap/Integrations/Cacti/cacti-plugin-poller.php   on line: 96
2019/03/08 15:19:04 - CMDPHP PHP ERROR WARNING Backtrace:   (/poller.php[676]:process_poller_output(),  /lib/poller.php[532]:api_plugin_hook_function(),  /lib/plugins.php[114]:api_plugin_run_plugin_hook_function(),  /lib/plugins.php[221]:weathermap_poller_output(),  /plugins/weathermap/lib/Weathermap/Integrations/Cacti/cacti-plugin-poller.php[96]:CactiErrorHandler())
2019/03/08 15:19:04 - ERROR PHP WARNING in  Plugin 'weathermap': A  non-numeric value encountered in file:  /var/www/localhost/htdocs/cacti/plugins/weathermap/lib/Weathermap/Integrations/Cacti/cacti-plugin-poller.php   on line: 96
2019/03/08 15:18:46 - CMDPHP PHP ERROR NOTICE Backtrace:   (/plugins/weathermap/cacti-pick.php[45]:Weathermap\Integrations\Cacti\EditorDataPicker->main(),   /plugins/weathermap/lib/Weathermap/Integrations/Cacti/EditorDataPicker.php[59]:Weathermap\UI\UIBase->dispatchRequest(),   /plugins/weathermap/lib/Weathermap/UI/UIBase.php[140]:Weathermap\Integrations\Cacti\EditorDataPicker->handleLinkStep2(),   /plugins/weathermap/lib/Weathermap/Integrations/Cacti/EditorDataPicker.php[185]:CactiErrorHandler())
2019/03/08 15:18:46 - ERROR PHP NOTICE in  Plugin 'weathermap':  Undefined index: host_id in file:  /var/www/localhost/htdocs/cacti/plugins/weathermap/lib/Weathermap/Integrations/Cacti/EditorDataPicker.php   on line: 185

@howardjones
Copy link
Owner

Want to try for some context? :-)

Which Cacti version?
Is it the latest master weathermap? (I can see it is not 0.98)
Do you get this every time?

@jdcoats
Copy link
Author

jdcoats commented Mar 8, 2019

sorry, Cacti is 1.2.2 dev most recent commits and the same with weathermap. This happens when editing a weathermap link and selecting any device and interface etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants