Switch 51 detects if the wall target (the wall is where the balls are held with a magnet before getting whisked back to be locked) is down - it is probably a wire off under the playfield. You'll need to turn the power off, remove the balls from the game and pull the playfield forward (all the way) then lift up. Look for the drop target and see if you can see a loose wire off a switch or coil in that area.
The other switches it is complaining about is because the wall is not working so you are not locking any balls (switches 63, 64, 65). Once a switch has not been activated in x number of games it will complain so that you are aware that there may be a potential problem with the game. So yes directly related to switch 51 not working. I would not go in the backbox to try and resolve this problem. If there is no wire off under the playfield then that may be a different matter.