What happened to the articles?
You might have noticed that our support portal looks a bit different. We decided to do a little tidying up, so moving forward, support articles will be updated and housed on the AddThis Academy. For the most up to date articles, as well as other support documentation, please visit us at If you need additional help, you can submit a help ticket using the form below. Thanks!
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

getelementsbyclassname - error appearing

irashkin Mar 06, 2012 @ 11:57AM EST
Hi, my client has incorporated an addthis button for quite some time, but suddenly it started throwing errors. We noticed it this morning, heavily, but looking back at our error logs, it has been happening for some time, but never as bad as today. Furthermore, I can't 100% confirm, but it seemed to be breaking some other javascript on our page
(presumably by not reaching the required lines) thus breaking the site; again, I can't confirm a direct correlation, but as soon as I removed addthis, we stopped having issues.

Anyway, the were seeing in IE 9; we were experiencing similar symptoms in Firefox and Chrome too, at least, but most often in IE. As I say, I've removed the addthis code from our live pages, but I saved the source from one and posted it as - you can visit that page to see the problem in action. Any advice or solutions you can offer will be greatly appreciated.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MASA; BRI/2; .NET CLR 1.1.4322)
Timestamp: Tue, 6 Mar 2012 16:47:41 UTC

Message: Object doesn't support property or method 'getElementsByClassName'
Line: 2
Char: 65562
Code: 0

Paul Mar 06, 2012 @ 01:43PM EST AddThis Happiness Specialist
Thanks for pointing this out. I'll let our developers know and update this thread with their progress. Thanks for providing an example URL.
Up 0
Down rated
henry.lee Mar 07, 2012 @ 12:36PM EST
We also started experiencing this debilitating issue yesterday (3/6/12). The AddThis core000.js file is causing a JS conflict error with all calls to getElementsByClassName().

This is resulting in a cascading catastrophic failure in all subsequent Javascript that calls getElementsByClassName(), essentially breaking any client-side JS functionality on the page.

Due to the high incidence of user complaints we've received since yesterday, we've been forced to remove the AddThis widget, which has temporarily fixed the issue.

Mozilla, Firefox 9.01 (though it happens on all browsers)
Firebug Console Error Output:

elm.getElementsByClassName is not a function

evl(a=".addthis_toolbox")core000.js (line 2)
evl(j=".addthis_toolbox", b=null, k=null, l=true)core000.js (line 2)
evl()core000.js (line 2)
evl(a=undefined)core000.js (line 2)
evl()core000.js (line 2)
evl()core000.js (line 2)
Up 0
Down rated
jmagliol Mar 07, 2012 @ 06:30PM EST
We also have seen this problem in IE8 and below:

SCRIPT438: Object doesn't support property or method 'getElementsByClassName'
Up 0
Down rated
rerlinger Mar 08, 2012 @ 04:49AM EST
We also have this Problem:

SCRIPT438: Object doesn't support property or method 'getElementsByClassName' core000.js, line 2 character 65562
SCRIPT438: Object doesn't support property or method 'getElementsByClassName' core000.js, line 2 character 65562

Please provide a quick fix, because our clients cannot use addthis in IE7 and IE8
Up 0
Down rated
Paul Mar 08, 2012 @ 11:45AM EST AddThis Happiness Specialist
We pushed a release this morning that we think nailed the bug. Can you check it?
Up 0
Down rated
jmagliol Mar 08, 2012 @ 12:38PM EST
Our issue seems to be fixed. Thank you for the update.
Up 0
Down rated
jmagliol Mar 08, 2012 @ 12:43PM EST
I spoke too soon. We still see the problem in IE7.
Up 0
Down rated
Paul Mar 08, 2012 @ 01:43PM EST AddThis Happiness Specialist
Can you post the URL where you're seeing it and the full version of IE? For example: Internet Explorer 9.0.8112.16421
Up 0
Down rated
jmagliol Mar 08, 2012 @ 03:27PM EST

Widget appears in the upper right of the left (content) column.

Running IE 9.0.8112.16421 in IE7 mode.
Up 0
Down rated
jmagliol Mar 09, 2012 @ 02:19PM EST
Any updates on this? Much appreciated.
Up 0
Down rated
unifemfi Mar 12, 2012 @ 06:10AM EDT
We also had this error on our site which seems to be gone now but addthis buttons are still not visible:

Hope you guys get this fixed soon..
Up 0
Down rated
jmagliol Mar 15, 2012 @ 01:51PM EDT
Paul, is this issue still being worked on? A status update would be very helpful. Thank you.
Up 0
Down rated
Paul Mar 15, 2012 @ 03:10PM EDT AddThis Happiness Specialist
We rolled back the release from last Tuesday earlier today so we can nail this down without causing further problems for the users. Once we've got it fixed we'll re-release it, probably sometime early next week.
Up 0
Down rated
henry.lee Mar 27, 2012 @ 11:10AM EDT
Hi Paul,

Thanks for the update. Due to the number of threads regarding this issue (I counted 4 on Mar. 7th), it would be helpful to either consolidate the threads & name one "official" thread that you will update when a patch is rolled out and the issue has been resolved - and link all threads to that thread...

OR to update ALL threads with the same information (less ideal) so we don't have to guess where to look for an update.

Up 0
Down rated
henry.lee Mar 27, 2012 @ 11:18AM EDT
I've proposed on all duplicate threads (that I know of) regarding this issue to link to THIS thread.


Hopefully we can get a fix & update soon.
Up 0
Down rated

This question has received the maximum number of answers.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found