After upgrading to WordPress 3.1.3 i get this error when I post news articles via Windows Live Writer:
“Invalid Server Response – The response to the metaWeblog.newPost method received from the weblog server was invalid: Invalid response document returned from XmlRpc server.” .
The error in the log is
PHP Warning: strpos() [<a href=’function.strpos’>function.strpos</a>]: Empty delimiter in /usr/home/zoso/www/zoso.ro/wp-includes/class-wp-xmlrpc-server.php on line 2379
I just removed the line 2379 from wp-includes/class-wp-xmlrpc-server.php
if ( strpos( $post_content, $file->guid ) !== false )
And everything is back to normal.
I’ve found a lot of solutions that didn’t work, but yours did! Great & thx!
Thx for you solution vali! I was ignoring this bug for a year or so, but I didn’t knew what todo. Now it’s finally fixed.
Do you know why this isn’t fixed in the original xmlrpc WordPress install file? Now everyone needs to cope with this problem their-selves.