hi,
i found this warning while build the sitemap manually:
Warning: mysql_fetch_object(): 240 is not a valid MySQL result resource in /-----/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 1909
line 1909 code:
while($post = mysql_fetch_object($postRes)) {
seem that problem on $postRes variable, which is setted null on line 1848: $con = $postRes = null;
or if safemode is used (line 1855 and 1856):
if($this->GetOption("b_safemode")===true) {
$postRes = mysql_query($sql,$wpdb->dbh);
suggest:
maybe its better to use unset instead of setting with null at line 1848.
regards,
dwi