Cacti / plugin_monitor

Monitor Plugin for Cacti
GNU General Public License v2.0
36 stars 39 forks source link

Monitor latest source - PHP Error Backtrace #142

Closed anarkia1976 closed 2 years ago

anarkia1976 commented 3 years ago

Hi guys,

i have updated to the latest source, when i add a new device this error is raised into logs:

2021-03-04 08:44:06 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php[70]:form_actions(), /host.php[502]:api_plugin_hook_function(), /lib/plugins.php[130]:api_plugin_run_plugin_hook_function(), /lib/plugins.php[237]:monitor_device_action_prepare(), /plugins/monitor/setup.php[297]:CactiErrorHandler()) 2021-03-04 08:44:06 - ERROR PHP NOTICE in Plugin 'monitor': Trying to access array offset on value of type null in file: /var/www/html/cacti/plugins/monitor/setup.php on line: 297

Thanks a lot.

TheWitness commented 2 years ago

This is resolved now.