She has been fasting to make up days from Ramadan without forming the intention the night before, and she used to form the intention in the morning. What must she do now?
The fasts that your friend did to make up for missed Ramadan fasts with an intention formed during the day are not valid according to the majority of scholars. So she has to repeat the fasts of those days, but she does not have to offer expiation. This ruling to repeat her fasts applies to making up the fasts from last year, if there is still time to do that. With regard to previous years, some scholars, such as Shaykh al-Islam Ibn Taymiyah (may Allah have mercy on him), favoured the view that the one who does an act of worship in a wrong manner, but he was unaware of the right way to do it, and the time for it has ended, does not have to repeat it. If your friend follows this scholarly view, then we hope that there will be no blame on her.