Error when submitting newPost using XMLRPC due to incompatible date formatting
|Reported by:||chazegh||Owned by:|
I get the following error when I try to submit a new post using the PHPXMLRPC library (http://phpxmlrpc.sourceforge.net/). I can make the problem go away by not submitting a date, but that shouldn't be a problem. The error is as follows:
Fatal error</b>: Call to a member function on a non-object in <b>..../site/xmlrpc.php</b> on line <b>549</b>
I solved the problem by making the following changes.
547: $dateCreatedd = $content_structdateCreated?;
547: $dateCreatedd = new IXR_Date($content_structdateCreated?);
642: $dateCreatedd = $content_structdateCreated?;
642: $dateCreatedd = new IXR_Date($content_structdateCreated?);
Apologies for the nonstandard diff format.
Also, this bug applies to 184.108.40.206, not 220.127.116.11 as the metadata for this report suggests. 18.104.22.168 is not an option currently.