Sometimes we make changes to settings in Avast and then forget we made them. I know I've done that at times. (One time I meant to make program updates manual settings but made the virus settings manual too.)
See picture below for correct virus update settings and, if different, set to what you see below.
If your settings are correct, then reset your DNS settings to Google DNS, 8.8.8.8