PHP error Invalid Argument

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
nolimitz
Posts: 1
Joined: Mon Oct 05, 2009 10:44 am

PHP error Invalid Argument

Post by nolimitz »

Hello All,

I have Cacti installed on a windows server 2k3 box.

In the "Monitor" page (cacti/plugins/monitor/monitor.php) i receive this warning before all the host's appear:

Code: Select all

Warning: Invalid argument supplied for foreach() in C:\wamp\www\cacti\plugins\monitor\monitor.php on line 199
Checking the file at like 199, I see (starting at line 199)

Code: Select all

	foreach ($result as $row) {
		$thold_alerts[] = $row['rra_id'];
	}
looks ok to me, anyone have any ideas?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

wrong forum, moving.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests