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

When viewing User Admins, a division by zero error can sometimes be seen #4100

Closed
kim-fitness opened this issue Jan 27, 2021 · 0 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@kim-fitness
Copy link
Contributor

Somehow, the 'num_rows_table' is not set in the 'settings' table during Cacti upgrade from older version. And then, when navigate to the user_admin.php page, 'Division by zero' error occurs, and no user shown in the page.

@kim-fitness kim-fitness added bug Undesired behaviour unverified Some days we don't have a clue labels Jan 27, 2021
TheWitness pushed a commit that referenced this issue Jan 28, 2021
* Update CHANGELOG

* Update functions.php

* Update functions.php

Remove the redundant function array_key_exists, it can be covered by function isset
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Jan 28, 2021
@TheWitness TheWitness added this to the v1.2.17 milestone Jan 28, 2021
@netniV netniV changed the title absence of 'num_rows_table' leads to Division by zero error in user_admin.php page When viewing User Admins, a division by zero error can sometimes be seen Apr 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants