Thank you @leninkster, I apologise for the delay to get it fixed. Please check version 1.0.7 it is working fine and not throwing any error.
PHP 5.5.16
WP 4.0
File: addthis/includes/addthis_addjs.php
Lines: 168 and 169
File: addthis/includes/addthis_addjs.php
Lines: 192 and 210
File: addthis/includes/addthis_addjs.php
Line: 244
Hello malay.vivacious can you give me more information on what version of wordpress and what version of the plugin are you using?
I’ll investigate it and if I can replicate I’ll do an update.