I was on Twitter trying to send a tweet with a picture. I got that error message « e is undefined« .
Thanks to this tweet I found the reason : the picture I was sharing was a « PNG » file. I saved the picture as « JPG » and tried again. It worked !
I had the same problem with PNG picture. Changed it to JPG and problem disappeared. At least for that time 🙂
— Rūta (@rutamos) 21 août 2017