I am running Magento 1.9.2.2
I have a random problem where the customer's email, account ID, first name and last name are not being written to the table sales_flat_order Also table sales_flat_order_grid the customer ID missing. This results in the email address not being recorded in Sales\Orders - account information and the sales order not being linked to the customer's account.
The missing data values can be manually entered.
I am not sure how to fix this issue