Widows Live Writer Error “Invalid response document returned from XmlRpc server” After WordPress Update Fix

My solution for the Windows Live Writer (WLW) error:

The response to the metaWeblog.newPost method received from the blog server was invalid:  Invalid response document returned from XmlRpc server

Warning: This solution entails editing a WordPress core file and is therefore generally not recommended. If some PHP guru knows how to fix this with code in the functions.php file or something, I’m all ears!

  1. Find class-wp-xmlrpc-server.php in wp-includes folder
  2. In the code, locate the line “if ( strpos( $post_content, $file->guid ) !== false )”
  3. Directly before it add another line of code…
if($file->guid && !($file->guid == NULL))

I’m usually not big on editing core files, but I use WLW to blog daily and this error keeps cropping up. It’s highly frustrating and there are numerous fixes around the web that are both more time consuming and not necessarily effective. This is a quick, down-and-dirty fix that will get you up and running.

Solution Courtesy “Stuff I Stumbled Upon Blog

Share Button

3 thoughts on “Widows Live Writer Error “Invalid response document returned from XmlRpc server” After WordPress Update Fix”

  1. FYI, after moving my WP multisite, I could not get Windows Live Writer to recognize my WP signin at ALL. I saw a proposed fix of adding a new user that is not SuperAdmin, as that user role is not assigned to any blog. Instead, I opted for using BlogJet.

Leave a Reply

Your email address will not be published. Required fields are marked *