You are not alone. See here: Unable to reactivate Avast Free antivirus
Some have reported success by first uninstalling Avast Free using avastclear.exe which you can download from here: Avast Removal Tool | Download Avast Clear | Avast
Then install Avast Free again from the offline installer (not online installer), which can be found here: New version 25.7