If anyone is still having trouble with this, I think I've figured out the problem. The gamlss wp() function have problems when your data is called "df" or "data". Give your dataset any other name than these two, and you will probably no longer get this error.