I was about to log a bug after posting this in the upgrade help forum and it still being unresolved, but would be grateful for any advice on diagnosing this:

After upgrading to 6.2.3 (Build 6658) I am unable to save a Contact. After entering Contact details and clicking on Save the contact detail page is displayed with all fields blank. I'm getting the following error reported in sugarcrm.log:

Conversion of 0000-00-00 00:00:00 from Y-m-d H:i:s to d-m-Y H:i failed: DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (@) at position 0 (@): Unexpected character

I've found that the error is from line 597 of ContactFormBase.php:

PHP Code:
$focus->user_sync->delete($focus->id$current_user->id); 
if I comment out this line the new contact saves correctly and is displayed in the detail view. I've tried amending and it works as well.

I'm not sure what this line is doing or what is causing the error, and I'd be grateful for any advice.

Dan

Apache 2.2.16
MySQL 5.1.52
PHP 5.3.6