Skip to content

When viewing data sources, an undefined variable error may be seen #5464

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

Closed
xmacan opened this issue Aug 21, 2023 · 1 comment
Closed

When viewing data sources, an undefined variable error may be seen #5464

xmacan opened this issue Aug 21, 2023 · 1 comment
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@xmacan
Copy link
Member

xmacan commented Aug 21, 2023

Actual 1.2.x branch

When I was apparently working incorrectly with data profiles, part of my data source now reports:
File RRA '0' has same CF/steps (AVERAGE, 1) as '1'
File RRA '1' has same CF/steps (AVERAGE, 1) as '0'
File RRA '5' has same CF/steps (MAX, 1) as '6'
File RRA '6' has same CF/steps (MAX, 1) as '5'
File RRA '6' has same CF/steps (MAX, 1) as '5'

There is few php warning too:
Warning: Undefined variable $i in /usr/local/share/cacti/lib/rrd.php on line 3034
Warning: Undefined variable $i in /usr/local/share/cacti/lib/rrd.php on line 3034
Warning: Undefined variable $i in /usr/local/share/cacti/lib/rrd.php on line 3034
Warning: Undefined variable $i in /usr/local/share/cacti/lib/rrd.php on line 3034

@xmacan xmacan added bug Undesired behaviour unverified Some days we don't have a clue labels Aug 21, 2023
TheWitness added a commit that referenced this issue Sep 30, 2023
PHP warning when view data source info mode with new data source.
TheWitness added a commit that referenced this issue Sep 30, 2023
PHP warning when view data source info mode with new data source.
@TheWitness TheWitness added resolved A fixed issue confirmed Bug is confirm by dev team and removed unverified Some days we don't have a clue labels Sep 30, 2023
@TheWitness TheWitness added this to the 1.2.26 milestone Sep 30, 2023
@TheWitness
Copy link
Member

Okay, this is fixed now.

@netniV netniV changed the title PHP warning when view data source When viewing data sources, an undefined variable error may be seen Dec 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2024
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

2 participants