I was having the same problem, but I patched the xmlrpc.php file to fix it. Go to the line number in xmlrpc.php that the error is indicating. You should see some code that looks similar to this (depending on your WordPress version):
// Do some timestamp voodoo
$dateCreatedd = $content_struct['dateCreated'];
if (!empty($dateCreatedd)) {
$dateCreated = $dateCreatedd->getIso();
$post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated));
$post_date_gmt = iso8601_to_datetime($dateCreated. "Z", GMT);
} else {
$post_date = current_time('mysql');
$post_date_gmt = current_time('mysql', 1);
}
Modify your source to look like the following:
// Do some timestamp voodoo
$dateCreatedd = $content_struct['dateCreated'];
if (!empty($dateCreatedd)) {
$dateIXR = new IXR_Date($dateCreatedd);
$dateCreated = $dateIXR->getIso();
$post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated));
$post_date_gmt = iso8601_to_datetime($dateCreated. "Z", GMT);
} else {
$post_date = current_time('mysql');
$post_date_gmt = current_time('mysql', 1);
}
You see the problem lies in the fact that the original code is trying to call the getIso()
on a string, which is definitely not an IXR_Date class. So I just modified it to create the IXR_Date class before calling that method and it works fine.
this fix sets the dates of my posts to 12/31/69
nada