Skip to content

Creating graphs from templates may sometimes result in errors #4352

@cafetera

Description

@cafetera

I'm getting the following error int the logs everytime I add a new graph

2021-07-20 17:38:19 - ERROR PHP NOTICE: Undefined index: cg in file: C:\inetpub\wwwroot\cacti\lib\template.php on line: 1723
2021-07-20 17:38:19 - CMDPHP PHP ERROR NOTICE Backtrace: (C:\inetpub\wwwroot\cacti\graphs_new.php[42]:form_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[150]:html_graph_new_graphs(), C:\inetpub\wwwroot\cacti\lib\html_graph.php[465]:host_new_graphs_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[243]:create_save_graph(), C:\inetpub\wwwroot\cacti\lib\template.php[1723]:CactiErrorHandler())

2021-07-20 17:38:19 - ERROR PHP NOTICE: Undefined index: cg in file: C:\inetpub\wwwroot\cacti\lib\template.php on line: 1723
2021-07-20 17:38:19 - CMDPHP PHP ERROR NOTICE Backtrace: (C:\inetpub\wwwroot\cacti\graphs_new.php[42]:form_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[150]:html_graph_new_graphs(), C:\inetpub\wwwroot\cacti\lib\html_graph.php[465]:host_new_graphs_save(), C:\inetpub\wwwroot\cacti\graphs_new.php[243]:create_save_graph(), C:\inetpub\wwwroot\cacti\lib\template.php[1723]:CactiErrorHandler())

THANks

Cafetera

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourresolvedA fixed issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions