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

Invalid argument supplied for foreach() #4

Open
timbonne opened this issue Sep 27, 2013 · 1 comment
Open

Invalid argument supplied for foreach() #4

timbonne opened this issue Sep 27, 2013 · 1 comment

Comments

@timbonne
Copy link

Hello,

After installing the php pages by following your instructions, I get the following error at the bottom when browsing to the webpage:

Invalid argument supplied for foreach() [snmp_builder.php:476]
Invalid argument supplied for foreach() [snmp_builder.php:481]
Invalid argument supplied for foreach() [snmp_builder.php:486]

Do you have any idea what might be causing this?

Thanks a lot,
Kind Regards,

Tim.

@khraimh
Copy link

khraimh commented Feb 12, 2014

I have changed
hostid to 'templateid and it is working fine at line 959
Hassan
array_push($template, array('key' => $temp['templateid'], 'host' => $temp['name']));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants