I moved my blog from a subdirectory to the root and now my Google Sitemap Generator plugin has problems. I followed the WordPress move doc (including the doc to update the addresses in my database) and everything else works great, including all plugins, all images appear, all posts, etc. However, when I click on the admin page link to activate the sitemaps plugin, I get these errors:
Warning: Invalid argument supplied for foreach() in /home/content/y/u/m/myid/html/wp-content/plugins/sitemap/sitemap.php on line 347
Warning: Cannot modify header information - headers already sent by (output started at /home/content/y/u/m/myid/html/wp-content/plugins/sitemap/sitemap.php:347) in /home/content/y/u/m/yumadoug/html/wp-includes/pluggable-functions.php on line 270
I downloaded a new copy of the plugin and saved new, blank sitemap.xml and sitemap.xml.gz files with 777 permissions to the root directory, but still get the same errors.