Material editor does not open, Static mesh editor does not open

cheers same thing happened to me and could not open or edit a material resetting the layout in UE5 did the trick