I have an interesting problem with loading google charts. I can load the javascript without any issues when running my website on localhost, but when running on my production website the javascript fails to load.
The error message I get is from the call google.charts.load('current', {'packages':['corechart']});
This is the error:
uncaught exception: AssertionError: Failure: Argument is not a HTMLScriptElement (or a non-Element, non-Location mock); got: HTMLUnknownElement
Has anybody seen this error before? I'm not sure how to debug, I mostly work on backend so my js skills are not that great.
Thanks,
Thomas