Apparently user.location is no longer existing which breaks probably all location related functions. While looking at the js object of user it's now "environmentname" instead so in order to fix these errors the user.location needs to be replaced by user.environmentname.
user.location returns undefined
Apparently user.location is no longer existing which breaks probably all location related functions. While looking at the js object of user it's now "environmentname" instead so in order to fix these errors the user.location needs to be replaced by user.environmentname.