As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
MIA - CREW REPORTED TRAILING EDGE FLAP DISAGREE AND FLAP ISOLATION VALVE STATUS MESSAGE. EMERGENCY DECLARED LANDED MIA WITHOUT INCIDENT. AIRCRAFT REMOVED FROM SERVICE. ACCOMPLISHED FIM 25-51-00, NO FAULTS NOTED. REPLACED DEPRESSURIZATION RELAY AS A PRECAUTION. SYSTEM GROUND CHECKED NORMAL OPERATION.