No loop but this error "ReferenceError: currentLoop is not defined"

Do you have a column called Set in your spreadsheet?