I recently upgraded this blog to WordPress 2.7.1 and had trouble accessing old posts via Windows Live Writer. I get the following error message “The response to the metaWeblog.getRecentPosts method received from the blog server was invalid: Invalid response document returned from XmlRpc server”:
After searching the web, I found that many people have been seeing the same error message too. There are numerous reasons why this error appears and even more ways to fix this issue. Most of the explanations I found were too complicated and technical. It took me a long time to figure them out, so to spare you the technical jargon, I’ll only share how I fixed my problem.
- Open all the *.php files in your blog default directory and remove all the trailing spaces after the closing tag ?> at the end. Likely culprit files are wp-blog-header.php, wp-config.php, and xmlprc.php. However, I found that several other *.php files also have trailing spaces after the ?>.
- Deactivate all the WordPress plugins on your blog and reactivate them one at a time. Each plugin you activate, click Open in Windows Live Writer to see if you can access any of the old posts. For me, the plugin that caused problem was Dagon Design Sitemap Generator. Other people had problems with Google Sitemap and Smart Archive plugins.