Error in feature table generation in metaboanalystR

My issue is there is a problem to generate a feature table and specifically PCA score plot of all features can’t generate A PCA table with FormatPealList the error is following.

mSet ← FormatPeakList(mSet = mSet, annParams, filtIso = TRUE, filtAdducts = FALSE, missPercent = 1)
Error in [.data.frame(ma_feats, , (ma_feats[1, ] == as.character(grps_info[1]))) :
undefined columns selected

In later stage when I exporting the mSet object it generating an annotated peak list but empty peak table. The error is following -

Export.PeakTable(mSet)
Done!

Everything has been finished Successfully ! (2024-12-03 14:53:07.474108)
Warning message:
In data.table::fwrite(dat, file, row.names = row.names) :
Input has no columns; creating an empty file at ‘D:/Abhisek/metaboanalystR/metaboanalyst_input.csv’ and exiting.