GAMLSS CV error when ga() is used for any term

Solution for GAMLSS CV error when ga() is used for any term
is Given Below:

library(gamlss)
library(gamlss.add)

Basic cross-validation for a GAMLSS model: works fine

model_1=gamlssCV(y~cs(x), data=abdom,family=NO, K.fold=10)

GAMLSS model with ga() (function link): doesn’t works

model_2=gamlssCV(y~ga(~s(x),method="REML"), data=abdom,family=NO, K.fold=10)