The object is plural ("years") and in the next sentence, it's singular. I'd probably switch it to something like "She still remembers being in school; it was a pleasant time in her life" or "She still remembers her school years; they were a pleasant part of her life."