Vip & plotIndiv not working

[1] mixOmics_6.24.0 and R 4.3.0. But it says " Error: ‘vip’ is only implemented for the following objects: pls, plsda, spls, splsda" even though my plsda_result is a plsda object. I also couldnt use plotIndv and says