Skip to content

PHP Error with THOLD Cacti Plugin #723

@msfraticelli

Description

@msfraticelli

I've installed the new Cacti 1.2.30 version on a Debian 6.1.135-1 server. The php version installed is 8.2.28. The THOLD plugin installed is the 1.8.2. These packages were downloaded from the latest Github available versions.

I'm observing the threshold plugin gets disabled sporadically. According to the logs, the errors are the following:

2025-06-25 07:18:22 - CMDPHP ERROR: debounce key was truncated from debounce_page_error_thold_graph.php?headercontent=true to debounce_page_error_thold_graph.php?headercontent= Backtrace: (/help.php[43]:debounce_run_notification(), /lib/functions.php[7442]:cacti_debug_backtrace())
2025-06-25 07:18:22 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'thold'
2025-06-25 07:18:22 - ERROR PHP ERROR in Plugin 'thold': Uncaught TypeError: Unsupported operand types: string * int in /var/www/html/cacti/plugins/thold/thold_graph.php:388 Stack trace: #0 /var/www/html/cacti/plugins/thold/thold_graph.php(56): tholds() #1 {main} thrown in file: /var/www/html/cacti/plugins/thold/thold_graph.php on line: 388

Any idea what can cause the errors or why the cacti application disables the plugin?

Thank you,

Metadata

Metadata

Labels

bugduplicateresolvedIssue potentially resolved, person opening should close

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions