WordPress.org

Ready to get started?Download WordPress

Forums

Social
[resolved] Cannot modify header information - headers already sent (3 posts)

  1. Technolero
    Member
    Posted 1 year ago #

    I am using Windows Live Writer to compose my posts. When I click the publish button, I get an XmlRpc error in Windows Live Writer. It appears that the post does get posted to my blog despite the error, but I would prefer to fix the problem so I don't have to double-check to see if the post actually was published. Below is an excerpt from my Windows Live Writer log:

    WindowsLive.Writer.CoreServices.XmlRpcClientInvalidResponseException: Invalid response document returned from XmlRpc server ---> System.Xml.XmlException: There are multiple root elements. Line 2, position 2.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
    at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.LoadXml(String xml)
    at WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText)
    --- End of inner exception stack trace ---
    at WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText)
    at WindowsLive.Writer.CoreServices.XmlRpcClient.CallMethod(String methodName, XmlRpcValue[] parameters)

    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/foo/public_html/wp-content/plugins/social/lib/social/controller/broadcast.php</b> on line <b>480</b>

    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/foo/public_html/wp-content/plugins/social/lib/social/controller/broadcast.php:480) in <b>/home/foo/public_html/wp-includes/class-IXR.php</b> on line <b>475</b>

    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/foo/public_html/wp-content/plugins/social/lib/social/controller/broadcast.php:480) in <b>/home/foo/public_html/wp-includes/class-IXR.php</b> on line <b>476</b>

    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/foo/public_html/wp-content/plugins/social/lib/social/controller/broadcast.php:480) in <b>/home/foo/public_html/wp-includes/class-IXR.php</b> on line <b>478</b>

    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/foo/public_html/wp-content/plugins/social/lib/social/controller/broadcast.php:480) in <b>/home/foo/public_html/wp-includes/class-IXR.php</b> on line <b>481</b>
    <?xml version=""1.0"" encoding=""UTF-8""?>

    http://wordpress.org/extend/plugins/social/

  2. Alex King
    Member
    Plugin Author

    Posted 1 year ago #

    Suppressing PHP warnings will fix this for you now. We will look at addressing the condition that generates the warning for a future release.

  3. Technolero
    Member
    Posted 1 year ago #

    Thank you for the response Alex. Great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.