I once had an electrical outlet with a light switch next to it, in a bathroom. When I replaced the outlet with a GFCI, the light switch quit working.
When you have a GFCI and a light switch is involved, you have to wire things a bit differently so it all works.
Here’s how I fixed it, using a length of wire (use black, or if you only have white wire, put some electrical tape on it) and a wire nut.

David Farquhar is a computer security professional, entrepreneur, and author. He has written professionally about computers since 1991, so he was writing about retro computers when they were still new. He has been working in IT professionally since 1994 and has specialized in vulnerability management since 2013. He holds Security+ and CISSP certifications. Today he blogs five times a week, mostly about retro computers and retro gaming covering the time period from 1975 to 2000.






