You do not state which Avast product this relates to.
If it relates to Avast Mobile Security app on Samsung phone, then it is a known problem. Web Shield is regularly turned off and you will have to go to settings and turn Avast activation off then on again.