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

Undefined variable warnings when updating RRD data #2432

Closed
netniV opened this issue Feb 19, 2019 · 1 comment
Closed

Undefined variable warnings when updating RRD data #2432

netniV opened this issue Feb 19, 2019 · 1 comment

Comments

@netniV
Copy link
Member

netniV commented Feb 19, 2019

Describe the bug

2019/02/19 13:59:22 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold.php[135]:thold_edit(), /plugins/thold/thold.php[1195]:get_current_value(), /plugins/thold/thold_functions.php[3623]:rrdtool_function_fetch(), /lib/rrd.php[823]:CactiErrorHandler())
2019/02/19 13:59:22 - ERROR PHP NOTICE: Undefined variable: graph_end in file: /usr/share/cacti/site/lib/rrd.php on line: 823
2019/02/19 13:59:22 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold.php[135]:thold_edit(), /plugins/thold/thold.php[1195]:get_current_value(), /plugins/thold/thold_functions.php[3623]:rrdtool_function_fetch(), /lib/rrd.php[823]:CactiErrorHandler())
2019/02/19 13:59:22 - ERROR PHP NOTICE: Undefined variable: graph_start in file: /usr/share/cacti/site/lib/rrd.php on line: 823

Additional context
This is caused when thold attempts to retrieve value information. The correct parameters should have been $start_time and $end_time.

@netniV
Copy link
Member Author

netniV commented Feb 19, 2019

This has now been committed to the development code.

@netniV netniV closed this as completed Feb 19, 2019
@netniV netniV changed the title Undefined variable: graph_start and Undefined variable: graph_end in lib/rrd.php Undefined variable warnings when updating RRD data Feb 24, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant