I've installed the latest version of the WMI plugin in Cacti 1.2.4 and today again after upgrading to 1.2.5. Two issues: It's not possible to delete saved WMI queries and it's not possible to delete stored credentials. In both cases, the confirmation popup appears but upon confirmation button, nothing happens. I can find some according entries in clog.
Attempt to delete a query:
Attempt to delete credentials:2019/07/18 17:20:36 - CMDPHP PHP ERROR Backtrace: (/plugins/wmi/wmi_queries.php:actions_queries(), /plugins/wmi/wmi_queries.php:each(), CactiErrorHandler())
2019/07/18 17:20:36 - ERROR PHP DEPRECATED in Plugin 'wmi': The each() function is deprecated. This message will be suppressed on further calls in file: /xxxxxxxxxx/plugins/wmi/wmi_queries.php on line: 147
2019/07/18 17:24:55 - CMDPHP PHP ERROR Backtrace: (/plugins/wmi/wmi_accounts.php:actions_accounts(), /plugins/wmi/wmi_accounts.php:each(), CactiErrorHandler())
2019/07/18 17:24:55 - ERROR PHP DEPRECATED in Plugin 'wmi': The each() function is deprecated. This message will be suppressed on further calls in file: /data/apache2_wwwroot/plugins/wmi/wmi_accounts.php on line: 122
2019/07/18 17:24:47 - CMDPHP SQL Backtrace: (/plugins/wmi/wmi_accounts.php:show_accounts(), /plugins/wmi/wmi_accounts.php:db_fetch_cell_prepared(), /lib/database.php:db_execute_prepared())
2019/07/18 17:24:47 - CMDPHP ERROR: A DB Cell Failed!, Error: Unknown column 'wmi_account' in 'field list'
- - DB: 5.7.26-0ubuntu0.18.04.1
- PHP: 7.2.19-0ubuntu0.18.04.1
Appreciate any help on this!