Question: how to fix a garage door opener light?
Answer: Unplug the garage door opener, then immediately plug the opener back into the electrical outlet. Listen for the light relay on the logic board to click.
If you hear a click, replace the light socket.
If you do not hear a click, replace the logic board.