how to shield arduino uno from external mag fields?

So the only point in common between solenoids and arduino is the 220v power.

You seem to be remarkably reluctant to accept advice once you have asked for it.

Interference can also be airborne as well as conducted. I am not sure what else we can tell you. You have an interference problem and unless you treat it at the source then your project stands little chance that it will work.