The correct version of the sentence that fixes the error in the compound adjective is:
Millie might not be able to attend the play tonight because she still has to find someone to watch her two-year-old daughter for the night.
This version properly hyphenates "two-year-old" as a compound adjective.