Thank you very much John for your invaluable information. I managed to replace the offending solenoid and all those warning lights have disappeared. However, the car seems to drag gears when shifting and when it shifts to gear 6 at around 80km/h, the transmission suddenly shifts to safe mode (gear 3). I thought it could be that the transmission fluid is contaminated so i flushed it as much as i could with the Toyota TV 4 transmission fluid but there has not been any improvement. What could be causing this?