This happens because the data between terminals has not synchronized. The order has already been closed on your phone, but your computer still shows it. If you try to close it again on your computer, the server returns an "Invalid trade parameters" error.
Solution: Log out of MT4/MT5 on all devices, then log back in. Check the actual status of the order in the Trade tab before taking any further action.