Skip to content

Setting business hours can cause PHP errors #4980

@anarkia1976

Description

@anarkia1976

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.

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourresolvedA fixed issueunverifiedSome days we don't have a clue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions