Navigation Menu

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

Automation attempts to call undefined debug function #4330

Closed
daedalus opened this issue Jun 29, 2021 · 1 comment
Closed

Automation attempts to call undefined debug function #4330

daedalus opened this issue Jun 29, 2021 · 1 comment
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@daedalus
Copy link

daedalus commented Jun 29, 2021

2021-06-29 20:16:07 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())

2021-06-29 20:16:07 - ERROR PHP ERROR: Uncaught Error: Call to undefined function debug() in /usr/share/cacti/lib/api_automation.php:3853 Stack trace: #0 /usr/share/cacti/lib/api_automation.php(3664): calculateNextStart(Array, 1625008567) #1 /usr/share/cacti/poller_automation.php(230): api_automation_is_time_to_start('3') #2 {main} thrown in file: /usr/share/cacti/lib/api_automation.php on line: 3853`

@daedalus daedalus added bug Undesired behaviour unverified Some days we don't have a clue labels Jun 29, 2021
@netniV
Copy link
Member

netniV commented Jun 30, 2021

That error seems to have been introduced a year ago as part of #3594 in commit 975aa05. I have just pushed a change to update the name to be automation_debug

@netniV netniV changed the title Uncaught Error: Call to undefined function debug() in /usr/share/cacti/lib/api_automation.php:3853 Automation attempts to call undefined debug function Jun 30, 2021
@netniV netniV added confirmed Bug is confirm by dev team resolved A fixed issue and removed unverified Some days we don't have a clue labels Jun 30, 2021
@netniV netniV added this to the 1.2.18 milestone Jun 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

3 participants