Issue with lofting of multiple closed curves

This thread is very similar:

If you post your geometry/code, you’ll get a better response.