When a user logs in using a service such as Google or Facebook, meteor-admin generates an error when viewing the users collection.
TypeError: Cannot read property '0' of undefined
at render (http://localhost:3000/packages/yogiben_admin.js?hash=cbfd8ed62678a0a41dc066c81cba0b8684e0b5d4:653:23)
at http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:1334:12
at Object.oCol.fnGetData (http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:820:5)
at _fnGetCellData (http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:1227:28)
at _fnCreateTr (http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:1809:22)
at _fnAddData (http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:1152:4)
at _fnAjaxUpdateDraw (http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:2817:4)
at http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:2662:6
at callback (http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:2554:4)
at jQuery.ajax (http://localhost:3000/packages/aldeed_tabular.js?hash=bc7b7794bb103b791907b465681e002a4720ee3d:15712:7) undefined
The issue is return value[0].address at marker //192
When a user logs in using a service such as Google or Facebook, meteor-admin generates an error when viewing the users collection.
The issue is
return value[0].address
at marker //192Here is a look at the user data from a Google login: