Cacti / plugin_thold

Thold Plugin for Cacti
GNU General Public License v2.0
68 stars 63 forks source link

Thold 1.5.2 CMD PHP ERROR in combination with Cacti 1.2.26 #654

Closed enrikio closed 8 months ago

enrikio commented 8 months ago
Hello, I am having trouble with plugin Thold. It automatically disables itself after a few minutes and returns an error in log bellow. My cacti version is 1.2.26. First I tried plugin version Thold 1.5.2. then Thold version 1.5., but in both cases I get the same error. What could be done regarding this error? Error from log: 2024-01-12 14:50:04 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'thold' 2024-01-12 14:50:04 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler()) 2024-01-12 14:50:04 - ERROR PHP ERROR in Plugin 'thold': Uncaught PDOException: There is no active transaction in /var/www/html/cacti/plugins/thold/includes/polling.php:253 Stack trace: #0 /var/www/html/cacti/plugins/thold/includes/polling.php(253): PDO->commit() #1 /var/www/html/cacti/lib/plugins.php(231): thold_poller_bottom() #2 /var/www/html/cacti/lib/plugins.php(89): api_plugin_run_plugin_hook() #3 /var/www/html/cacti/poller.php(917): api_plugin_hook() #4 {main} thrown in file: /var/www/html/cacti/plugins/thold/includes/polling.php on line: 253 Thanks!
TheWitness commented 8 months ago

Please update to the develop branch and report if this problem persists.

TheWitness commented 8 months ago

Closing as duplicate.