You should not get all the doors in the door BP, and you definitely must not use Foreach loop in your Door BP. Set one opening function for only one door (self) in the door BP. Each door in your level will implement the door BP separately just for itself.
You don’t need to create door arrays here. Each individual door is referenced in the hit result when it’s hit by trace.