It looks like the error is coming directly from R.
There may be a missing variable for the operation.
The answer from the following Stackoverflow may help:
ATTR([Churn_Transformed]) is the most likely culprit. Probably it is returning * instead of the value you expect since it is * you would get a factor with no levels which is causing this error.
Here is how you could replicate this error purely in R
> mydata<-data.frame(o=as.factor(c(NA,NA,NA,NA)),p=c(1,2,3,4), a=c(10,10,20,30))
> lrmodel <- glm(o ~ ., data = mydata, family = "binomial")
Error in model.matrix.default(mt, mf, contrasts) :
variable 1 has no levels
One way to test it is to add ATTR([Churn_Transformed]) to the sheet and "view data".
If that's the case you may want to add a row level identifier or turn aggregation off so ATTR doesn't return *.