I doubt it is sites that generate the error but an avast one related to the web shield, I don't believe I have ever had one, it is I guess just a general debug option.
I haven't a clue what a hard error would be if it hit me on the head, ouch
If course they can't be deleted that what the self-defence module is doing, trying to protect all avast files and registry entries from deletion, modification, etc.