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

Setting business hours can cause PHP errors #4980

Closed
anarkia1976 opened this issue Oct 27, 2022 · 1 comment
Closed

Setting business hours can cause PHP errors #4980

anarkia1976 opened this issue Oct 27, 2022 · 1 comment
Assignees
Labels
bug Undesired behaviour resolved A fixed issue unverified Some days we don't have a clue
Milestone

Comments

@anarkia1976
Copy link

Hi Guys,

if you enable the new feature I see a large number of PHP errors in the cacti log.

image

2022-10-27 09:22:51 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_json.php[159]:rrdtool_function_graph(), /lib/rrd.php[2293]:add_business_hours(), /lib/rrd.php[3968]:mktime(), CactiErrorHandler())
--
2022-10-27 09:22:51 - ERROR PHP NOTICE: A non well formed numeric value encountered in file: /var/www/html/cacti/lib/rrd.php on line: 3968
2022-10-27 09:22:51 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_json.php[159]:rrdtool_function_graph(), /lib/rrd.php[2293]:add_business_hours(), /lib/rrd.php[3967]:mktime(), CactiErrorHandler())
2022-10-27 09:22:51 - ERROR PHP NOTICE: A non well formed numeric value encountered in file: /var/www/html/cacti/lib/rrd.php on line: 3967
2022-10-27 09:22:51 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_json.php[159]:rrdtool_function_graph(), /lib/rrd.php[2293]:add_business_hours(), /lib/rrd.php[3968]:mktime(), CactiErrorHandler())
2022-10-27 09:22:51 - ERROR PHP NOTICE: A non well formed numeric value encountered in file: /var/www/html/cacti/lib/rrd.php on line: 3968
2022-10-27 09:22:51 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_json.php[159]:rrdtool_function_graph(), /lib/rrd.php[2293]:add_business_hours(), /lib/rrd.php[3967]:mktime(), CactiErrorHandler())
2022-10-27 09:22:51 - ERROR PHP NOTICE: A non well formed numeric value encountered in file: /var/www/html/cacti/lib/rrd.php on line: 3967
2022-10-27 09:22:51 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_json.php[159]:rrdtool_function_graph(), /lib/rrd.php[2293]:add_business_hours(), /lib/rrd.php[3951]:mktime(), CactiErrorHandler())
2022-10-27 09:22:51 - ERROR PHP NOTICE: A non well formed numeric value encountered in file: /var/www/html/cacti/lib/rrd.php on line: 3951
2022-10-27 09:22:51 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_json.php[159]:rrdtool_function_graph(), /lib/rrd.php[2293]:add_business_hours(), /lib/rrd.php[3950]:mktime(), CactiErrorHandler())
2022-10-27 09:22:51 - ERROR PHP NOTICE: A non well formed numeric value encountered in file: /var/www/html/cacti/lib/rrd.php on line: 3950

Thanks a lot.

@anarkia1976 anarkia1976 added bug Undesired behaviour unverified Some days we don't have a clue labels Oct 27, 2022
@thurban
Copy link
Contributor

thurban commented Oct 27, 2022

thanks. I'll look into it

@netniV netniV added resolved A fixed issue unverified Some days we don't have a clue and removed unverified Some days we don't have a clue labels Oct 31, 2022
@netniV netniV added this to the v1.2.23 milestone Oct 31, 2022
@netniV netniV closed this as completed Oct 31, 2022
@netniV netniV changed the title [CACTI 1.2.23 - Latest Source] Business Hour php errors Setting business hours can cause PHP errors Dec 31, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 1, 2023
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 unverified Some days we don't have a clue
Projects
None yet
Development

No branches or pull requests

3 participants