Don't worry about the update, I fixed the bug on our end and it will be included in the next release.
The final line will be:
$body=str_replace('</head>', '<script type="text/javascript" src="http'.$this->https.'://assets.pinterest.com/js/pinit.js"></script></head>', $body);
if you want to replace it, it should work as well.
About the error message and according to this topic:
www.inmotionhosting.com/support/communit...t-button-not-working
it looks like it comes from pinterest and their specific restriction on images so I'm not sure we can help you on this point.