This error message means your transaction is trying to do something invalid. It's hard to know what exactly went wrong without seeing the transaction.
You're saying you run into the problem when trying to "take out a loan, borrow, unstake, withdraw". It's strange for all of these actions to bug out. Without more info, my first guess would be to wonder whether you're using the same address you previously deposited DAI with.
You might get better support on the Discord server.