BMW Repair: Electronic throttle throthhle potentiometer, throttle position sensor, air flow sensor


Question
I drive a 2000  BMW X5 4.4.There was a problem with the air flow sensor,it was disconnected and i've been driving the car like that for about two months.Recently i went to scan the car and discovered a fault; Throttle position sensor.So the technician erased the fault and did adaptation according to him,since then the car can't idle or move as the throttle is not working.on scanning again,throttle position sensor and throttle potentiometer keeps coming up.What could have caused this?

Answer
that car has an electronic throttle motor, most likely, that has gone bad and will need to be replaced as the computer is getting poor information from the electronic throttle motor. after replacing, it will need to be cleared and adapted to the vehicle