# Locations Plugin 🌍

**URL:** <https://meta.discourse.org/t/locations-plugin/69742>\
**Category:** Plugin\
**Tags:** paid-support\
**Created:** [September 10, 2017, 10:36am UTC](https://meta.discourse.org/t/locations-plugin/69742 "2017-09-10T10:36:41Z")\
**Posts on this page:** 1\
**Showing post:** 1128

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [February 15, 2025, 9:42pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1128 "2025-02-15T21:42:25Z")

</div>

Robert, quick issue when running qunit tests unrelated to this plugin. It makes the tests fail.

 ![The image displays a TypeError traceback with a message stating "Cannot read properties of undefined (reading 'location_enabled')" related to the Chrome location controls manager. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/5/b/1/5b1db5cccc85e03b0c7de5800f129cfdb388c64b.png)  
 ![chrome_bqIAYg4Ry5](https://global.discourse-cdn.com/meta/original/4X/7/a/1/7a1bf4c85c0dec98d1b907e30ab960dc5c76baf0.png)

I think writing `custom_fields?.location_enabled` should be enough.

---

_[View the full topic](https://meta.discourse.org/t/locations-plugin/69742)._
