WordPress: xmlRPC error when using live writer

Published by

Posted on February 28, 2010

Error: An error occurred while attempting to connect to your weblog: Invalid Server Response – The response to the blogger.getUsersBlogs method received from the weblog server was invalid. You must correct this error before proceeding. or Invalid response document returned from XmlRpc server
Other:
Invalid response document returned from XmlRpc server

Possible solution Solution : find the class.IXR.php file (under wp-includes), edit the file, and look for function output($xml) FInd the line that calculates the length $length = strlen($xml); and replace it by $length = strlen($xml)+3;

or if modsecurity is enabled set the following in an .htaccess file
SecFilterInheritance Off