Skip to content

Receiving undefined index errors when working with some Data Queries #3180

Closed

Description

@karkaaa

Hello,

Then i add MikroTik - Device - Queues

get this error:

2020.01.12 08:51:28 - CMDPHP PHP ERROR NOTICE Backtrace: (/graphs_new.php[41]:form_save(), /graphs_new.php[149]:html_graph_new_graphs(), /lib/html_graph.php[434]:html_graph_custom_data(), /lib/html_graph.php[547]:draw_nontemplated_fields_graph_item(), /lib/html_form_template.php[219]:CactiErrorHandler())
--
2020.01.12 08:51:28 - ERROR PHP NOTICE: Undefined index: task_item_id in file: /opt/cacti/lib/html_form_template.php on line: 219
2020.01.12 08:51:28 - CMDPHP PHP ERROR NOTICE Backtrace: (/graphs_new.php[41]:form_save(), /graphs_new.php[149]:html_graph_new_graphs(), /lib/html_graph.php[434]:html_graph_custom_data(), /lib/html_graph.php[547]:draw_nontemplated_fields_graph_item(), /lib/html_form_template.php[181]:CactiErrorHandler())
2020.01.12 08:51:28 - ERROR PHP NOTICE: Undefined index: task_item_id in file: /opt/cacti/lib/html_form_template.php on line: 181
2020.01.12 08:51:28 - CMDPHP PHP ERROR NOTICE Backtrace: (/graphs_new.php[41]:form_save(), /graphs_new.php[149]:html_graph_new_graphs(), /lib/html_graph.php[434]:html_graph_custom_data(), /lib/html_graph.php[547]:draw_nontemplated_fields_graph_item(), /lib/html_form_template.php[180]:CactiErrorHandler())
2020.01.12 08:51:28 - ERROR PHP NOTICE: Undefined index: task_item_id in file: /opt/cacti/lib/html_form_template.php on line: 180

How to fix?

Mikrotik RBD52G-5HacD2HnD
Cacti version: 1.2.8
Spine version: 1.2.2
Mikrotik plugin version: 2.4

Thank you.

Activity

  1. cigamit commented on Jan 12, 2020

    @cigamit
    Member

    Can you be more specific as to what you are doing?

  2. cigamit commented on Jan 12, 2020

    @cigamit
    Member

    Turns out this is a Cacti bug.

  3. changed the title [-]Error MikroTik - Device - Queues[/-] [+]Receiving undefined index errors when working with some Data Queries[/+] on Jan 12, 2020
  4. added a commit that references this issue on Jan 12, 2020
  5. added this to the v1.2.9 milestone on Jan 12, 2020
  6. cigamit commented on Jan 12, 2020

    @cigamit
    Member

    This issue is resolved. Update the file in question from the 1.2.x branch and you will stop receiving this warning.

  7. karkaaa commented on Jan 12, 2020

    @karkaaa
    Author

    i update graphs_new.php, html_form_template.php and get same error,

  8. locked and limited conversation to collaborators on Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions