Cannot modify header information – headers already sent
-
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″”?>
- The topic ‘Cannot modify header information – headers already sent’ is closed to new replies.