# 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:** 707

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [June 23, 2021, 9:32am UTC](https://meta.discourse.org/t/locations-plugin/69742/707 "2021-06-23T09:32:09Z")

</div>

Hey there, thanks for the report.

Yeah, this is a weird one, and actually I’m not fully convinced it’s Locations fault (although we may be following bad practice?!).

It appears during plugin Initialisation, a Discourse migration was causing the model (actually the Serializer) and the database to be in an inconsistent state.

The solution is really simple:

1. Remove Locations from app.yml
2. Rebuild (the crucial step is the database migration. Once that’s done …) \< – suspect you are here?.
3. Add Locations back into app.yml
4. Rebuild.

🎉

---

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