Esri / public-information-map-template-js

An ArcGIS Online mapping template to showcase social media on a map for disaster response and public information.
http://esri.github.io/public-information-map-template-js/
Apache License 2.0
69 stars 51 forks source link

Uncaught TypeError: Cannot read property '3' of null #53

Closed ghost closed 5 years ago

ghost commented 5 years ago

Clicked on sample link: http://esri.github.io/public-information-map-template-js/ and webpage gets stuck on loading splash screen. Opened up developer tools and clicked on the console tab and found this.

Uncaught TypeError: Cannot read property '3' of null
    at new k (init.js:457)
    at Object.b.urlToObject (init.js:724)
    at Object._sanitizeUrl (init.js:2008)
    at Object.getCredential (init.js:1993)
    at Object.checkAppAccess (init.js:2000)
    at Object.checkSignInStatus (init.js:1999)
    at Object._checkSignIn (template.js:299)
    at Object._init (template.js:123)
    at Object.startup (template.js:84)
    at (index):139

Any ideas on how to fix?  ​

ghost commented 5 years ago

Closing this issue since the new pull request fixes the error. See https://github.com/Esri/public-information-map-template-js/pull/54