Ok we are working with a script and we get the following error
Warning: Invalid argument supplied for foreach() in /xxx/xxx/xxx/spider.php on line 149
Im not sure what the problem is and I havent had any luck fixing it, here is the line in question
foreach ($array as $value) {
We are attaching a copy of the file this is in incase someone needs to see it.
Any help on this is greatly appreciated.