My reactor got destroyed

Hey, we are working with E. coli and M9 Medium right now, and i thought yesterday, that all of my reactors would work. Sadly today morning i saw how my reactor was wet and the raspberry pi was burned out. It should have removed waste at 20ml but somehow it was filled until about 30ml and medium floated a little out of the reactor, also the HAT got corroded and pio5 showed me it isnt reachable and everything showed: LOST.
Does someone know how to prevent such problems and to keep the electronic completely dry especially because of the M9?

Greetings, Alex

Oh no! I’m sorry about this! We will email you to help determine what went wrong.