[25.11.x] Fix empty channels being passed to solver handling _h_env creation
#5869
+28
−48
_h_env creation
#5869