XML-RPC error message "parse error. not well formed"

  1. Hi,

    I can't log into my self-hosted site. I can confirm that the xmlrpc and rsd links are present in the header as they should be, and xmlrpc.php responds to requests fine (eg, I don't have any weird security plugins installed). However, the app seems to be choking somewhere. Using the XML-RPC validator here:, there seems to be a problem processing the basic test request.

    The host is a Debian 8 with PHP 7. Everything else works fine. I cannot figure out why XML-RPC is broken.

    Please advise. Thanks!

  2. Hi trotsky,

    I'm sorry to hear about the trouble.

    I took a look at the info in the log at and the issue seems to be something server-side. Notice that the XML-RPC response reads:

    <?xml version="1.0" encoding="UTF-8"?>
                            <string>parse error. not well formed</string>

    even though the XML-RPC request *is* properly formatted. I'm afraid the app won't be able to communicate with your blog until this issue is resolved.

    You might try contacting your host's support staff and see if they can provide any clues.

  3. Hi Eric,

    Thanks for the response. I figured it out. Turns out I had installed the php-xmlrpc package but NOT the php-xml package. Fun times.

  4. Hi @trotsky,

    Thanks for letting us know. Happy to hear you got it sorted out. :)


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.