easyJet flight U23211 departed Edinburgh to Fuerteventura Island at 10:59 GMT.
After cruising at 38,000 feet during 2 hours, the crew of the Airbus A320 (registration G-EZWK) declared an emergency (squawk 7700).
UPDATE #1
The flight is descending and diverting to Porto due to a technical issue.
UPDATE #2
Touch down on runway 17.
UPDATE #3
The aircraft is now parked on remote stand of the airport. The airline confirmed the flight has been diverted due to an issue with the aircraft.
UPDATE #4
A replacement aircraft was sent to Porto to continue the flight later to Fuerteventura Island.
