After 6 had been eaten there would be 812-6=806 left, but she would not be able to equally divide 806 amongst 6 or even 7 people (including herself) unless she broke up one of the cookies.
806÷6=134 for each guest and 2 cookies left over, which she ate herself.