Invalid argument supplied for foreach() in /home/.../public_html/generator/pages/class.gping.inc.php on line 102

Error occurs when crawling. It seems to finish the crawl, however, doesn't write to the sitemap or index any pages.
Hello,

please check with SE bot simulator that your site is visible to bots:
http://www.xml-sitemaps.com/se-bot-simulator.html
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.
Hi, i having the same issue, sitemap generator worked for 5 times in 5 weeks, now it give this error 
1 | 0 | 0.0 | 0:00:47 | 0:00:00 | 1 | 1,876.0 Kb | 0 | 0 | 1876
<h4>Completed</h4>Total pages indexed: 0
<br>Creating sitemaps...
<div id="percprog"></div>
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
PHP Warning:  Invalid argument supplied for foreach() in /var/www/vhosts/xxxxxxx/httpdocs/sitemap/pages/class.gping.inc.php on line 102
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br>Sending email notification... |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page. <script> top.location = 'index.php?op=view' </script>
Hello,

please let me know your generator URL/login in private message to check this.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.