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 "environment_name" instead so in order to fix these errors the user.location needs to be replaced by user.environment_name.
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 "environment_name" instead so in order to fix these errors the user.location needs to be replaced by user.environment_name.