Disconnected wire cable (?)

It appears that one of the wires to the switch may be disconnected or loose. Please check the electrical connections to see if they are secure. If they all look good, you can try switching the light switch out for a new one. If that doesn't work, I'd recommend calling a qualified electrician to have them sort the issue.