[Plugin: Google XML Sitemaps] warning: sitemap-core.php on line 1909
-
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 1909line 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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Google XML Sitemaps] warning: sitemap-core.php on line 1909’ is closed to new replies.