Licenses Valid but program won't update and says I am not protected!!

Hi my program is not running automatically like it used to, and it says I am not protected. If I try to update virus defiinitions it says theres a problem with the server and will not do anything. I have Avast Pro License that is valid. Whats going on? Can anyone help please?

As the problem is with the server there is not much you can do as avast has to check/solve that.

You can do these things, but if the problem really is with the server I very much doubt any of them will solve the problem.
Perform a repair of avast and see if the problem is solved.
If not, perform a clean installation and check again.

Repair Avast:
Control Panel> Program and Features (Add/remove program)>Select Avast> Select Repair. Reboot when completed
https://www.avast.com/faq.php?article=AVKB204
If Repair doesn’t fix the problem, try the following:
Clean Install of Avast:
https://goo.gl/4Ptzkf