Pixhawk 6C PM07

I make a USV (Unmanned Surface Vehicle) using Pixhawk 6C and Power Management Module (PM07). The wiring I made was in accordance with the existing instructions. I soldered the 2 power cables from esc on M1 and M3 on PM07. But when I connected them to the 6s battery, a fire came out from the direction of the ESC towards the BLDC motor from M1 at PM07, while the ESC at M3 did not happen anything. By the naked eye and the checks I have made, the wires that I have soldered are not connected for positive and negative. Has anyone experienced the same problem as me? How can I check the condition of my PM07 or my ESC after the incident? If indeed port M1 on my PM07 is damaged, are M2 to M8 on my PM07 fine? Or does it have a problem too? Please help me :pray: