If anyone has the same problem I finally found a solution. I created a new profile in Firefox and it seemed to have fixed it. I think something may have corrupted in my other profile and that's why I was getting those errors. Type about:profiles in firefox and create a new one and it should fix it. OK NEVERMIND. it didnt fix it. I think i just got lucky one time cause now its back.