Emailed Error Messages - More Information

If you are one of the (un)lucky people to have received emails from the AMA system with errors that were detected while publishing articles to your site, then please take note of the following.

If you receive an error message and the article was actually successfully published on your site, the most likely cause was a plugin on your site that either crashed or generated PHP warning messages.

Some plugins run after WordPress has published a post. When we publish to the blog, we expect a well-formed XML document back from WordPress to tell the AMA system that the post was successfully published.

The trouble is, if a plugin (or any other PHP script) generates errors or warnings on your site at that point, those error or warning messages are included in the response we get back from WordPress.

That extra content breaks the XML, and then AMA cannot understand the response we received from your site.

Check the “error_log” of your site for any PHP error or warning messages generated by plugins. If possible, please deactivate those plugins.

You can usually find the “error_log” file in the root (home) folder of your site.

We’ve noticed that the OnlyWire plugin is one of those that crashes the XML-RPC interface on some blogs.

Tags: wordpress

Leave a Reply