I was flying around the local football field and suddenly I recieved "compass error"....it happened so fast I'm not exactly sure what was on the phone screen but later found this in flight log....abnormal compass function or gps function detected switching to atti mode...I was close to the metal...