I found a way around the problem but you can't add a field if you are in edit mode. For some feature classes I could use the Field Calculator and for others I couldn't, which was unusual. I just added all of the fields first and then went into edit mode and used the field calculator.