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

When replicating to remote pollers, Undefined Variable errors may be seen #2723

Closed
ddb4github opened this issue Jun 9, 2019 · 1 comment
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@ddb4github
Copy link
Contributor

ddb4github commented Jun 9, 2019

Describe the bug
Undefined variable '$template_fields'.

I guess it should be $data_template_fields

For some fix-able(by me) issues, I'll summarize and log another ticket with diff

@netniV
Copy link
Member

netniV commented Jun 9, 2019

No, I believe the name is correct, the problem is that it isn't properly imitialised at the start as an array before it attempts to populate it after the !issset() check

@netniV netniV changed the title lib/utility.php:679: Undefined variable '$template_fields' Undefined variable message raised by push_out_host() in lib/utility.php Jun 9, 2019
@netniV netniV closed this as completed in 7f2a94b Jun 9, 2019
@netniV netniV added bug Undesired behaviour resolved A fixed issue labels Jun 9, 2019
@netniV netniV added this to the v1.2.5 milestone Jun 9, 2019
@netniV netniV changed the title Undefined variable message raised by push_out_host() in lib/utility.php When replicating to remote pollers, Undefined Variable errors may be seen Jul 14, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2020
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
Projects
None yet
Development

No branches or pull requests

2 participants