This is an issue with the MySQL database when you moved servers the auto-number attribute didn't get set in the orders table for the OrderUserID column.
Most likely this issue exists on all of your tables if it is on this one, so you may need to re-import the database to the new site using the correct settings.