First I watched several YouTube videos. The directions ranged from taking the dryer completely apart to simply reaching inside the drum and unscrewing the parts with a screwdriver. I chose the latter. Removing the parts was a snap. Disconnecting the wiring required a pair of pliers and some struggle. There are two sensor bars and no way to know which is the bad one. My guess was neither. But I replaced one of them and gently cleaned the other with superfine sandpaper. Re-assembly was easy and my dryer functions normally again.
My best advice: try cleaning the sensor bars (no need to even remove them) before replacing them. I have read that fabric softener sheets can leave a coating on the sensor bars rendering them ineffective. If that doesn't work, replace both of them. They're cheap and it only takes a moment to replace the second one. Just remember to order two.