# Discourse.getURL is not a function error

**URL:** https://meta.discourse.org/t/discourse-geturl-is-not-a-function-error/162710
**Category:** Support
**Created:** [September 1, 2020, 8:34pm UTC](https://meta.discourse.org/t/discourse-geturl-is-not-a-function-error/162710 "2020-09-01T20:34:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Lynne\_Fetterman1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lynne_fetterman1/32/149227_2.png) [@Lynne\_Fetterman1](https://meta.discourse.org/u/Lynne_Fetterman1)
#### Post date: [September 1, 2020, 8:34pm UTC](https://meta.discourse.org/t/discourse-geturl-is-not-a-function-error/162710/1 "2020-09-01T20:34:14Z")

</div>

I upgraded to 2.6.0.beta2 last night, now my nav doesn’t come up on the homepage, but clicking in to any category brings it up- however, at that point it doesn’t work (links don’t resolve). It is also creating 4 sequential copies of the home page.

In the console I find the above error and see elsewhere in Meta that this is something that is meant to be resolved before 2.6. Is there a solution to this now? It’s rendering our site unusable. Thanks,

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [September 1, 2020, 8:35pm UTC](https://meta.discourse.org/t/discourse-geturl-is-not-a-function-error/162710/2 "2020-09-01T20:35:52Z")

</div>

We removed the `Discourse.` functions in core. Please be sure to upgrade any theme components you have installed, if any. If you can’t log in, try using safe-mode.

---

<div class="post-metadata">

### Author: ![Lynne\_Fetterman1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lynne_fetterman1/32/149227_2.png) [@Lynne\_Fetterman1](https://meta.discourse.org/u/Lynne_Fetterman1)
#### Post date: [September 1, 2020, 9:31pm UTC](https://meta.discourse.org/t/discourse-geturl-is-not-a-function-error/162710/3 "2020-09-01T21:31:06Z")

</div>

Thanks, that fixed it! Now I know for future… ☀

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [September 2, 2020, 12:53am UTC](https://meta.discourse.org/t/discourse-geturl-is-not-a-function-error/162710/4 "2020-09-02T00:53:01Z")

</div>


