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

Invalid uptime is not handled properly #3728

Closed
bmfmancini opened this issue Jul 27, 2020 · 0 comments
Closed

Invalid uptime is not handled properly #3728

bmfmancini opened this issue Jul 27, 2020 · 0 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@bmfmancini
Copy link
Member

Hello Everyone

I have seen this non-numerical value error come up again in 1.2.12 I had not seen this error for a few versions now
I believe this was fixed before

I periodically get these errors in the log but I cant pin point the steps to re-produce

below is the full output

2020/07/27 09:19:24 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[137]:api_device_ping_device(), /lib/api_device.php[1084]:CactiErrorHandler())
2020/07/27 09:19:24 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/lib/api_device.php on line: 1084
2020/07/27 09:19:24 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[137]:api_device_ping_device(), /lib/api_device.php[1083]:CactiErrorHandler())
2020/07/27 09:19:24 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/lib/api_device.php on line: 1083

Cacti 1.2.12
php 7.2

@bmfmancini bmfmancini added bug Undesired behaviour unverified Some days we don't have a clue labels Jul 27, 2020
@netniV netniV changed the title V1.2.12 ping_device_api A non-numeric value encountered in file: api_device.php on line: 1084 Invalid uptime is not handled properly Jul 31, 2020
@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 Jul 31, 2020
@netniV netniV added this to the v1.2.14 milestone Jul 31, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2020
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