Error taking gps data and putting it into a string

No, of course not.
Use dtostrf instead.