Sounds like the sensor has gone bad and needs replacement, I'm not sure if you have one or two of them in your car though, you'll also want to check the wiring on the plugs for them for signs of damage, wear, corrosion etc.
Check in with this forum, they'll know much more than me on this issue.
A forum community dedicated to BMW owners and enthusiasts. Come join the discussion about Bimmerfest events, production numbers, programming, performance, modifications, classifieds, troubleshooting, maintenance, and more! Bringing the BMW community together.