问题
i created one application which uses google analytics api ie https://apis.google.com/js/client.js?onload=load
and i was using nicely but suddenly now one error is coming Uncaught TypeError: Cannot read property 'sub' of null after popup comes for username and password,
it was working fine before but now it is showing this error. can anyone please help me out with this.
Thanks, Mayank
回答1:
This is a bug in the Google API Javascript Client, and my production site is being affected as well. A bug report was filed at https://code.google.com/p/google-api-javascript-client/issues/detail?id=110, and it is currently labeled critical priority by the development team. They have "identified the cause and are working on a fix". Hopefully we'll get one by the end of today.
来源:https://stackoverflow.com/questions/19508859/uncaught-typeerror-cannot-read-property-sub-of-null-in-google-analytics-api