That appears to be a bug that only shows up on MySQL 5 when running in strict mode.
The workaround is to edit the /includes/classes/order.php file and change these lines:
to:Code:'format_id' => $customer_address->fields['address_format_id'],and:Code:'format_id' => (int)$customer_address->fields['address_format_id'],
to:Code:'format_id' => $shipping_address->fields['address_format_id']);Code:'format_id' => (int)$shipping_address->fields['address_format_id']);
and:
to:Code:'format_id' => $billing_address->fields['address_format_id']);
Code:'format_id' => (int)$billing_address->fields['address_format_id']);





