Help with a blown PCB

No the 12 V connection you have burnt somehow is only needed if you have, as example an proximity sensor as switch.

So never connect the 12 v to COM because COM is also same as GND

You can read some more about that here Work switch problem