# 'qa-topic-tip' Ember is not defined error

**URL:** https://meta.discourse.org/t/qa-topic-tip-ember-is-not-defined-error/291314
**Category:** Support
**Created:** [January 11, 2024, 3:31pm UTC](https://meta.discourse.org/t/qa-topic-tip-ember-is-not-defined-error/291314 "2024-01-11T15:31:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lubezniy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lubezniy/32/137694_2.png) [@lubezniy](https://meta.discourse.org/u/lubezniy)
#### Post date: [January 11, 2024, 3:31pm UTC](https://meta.discourse.org/t/qa-topic-tip-ember-is-not-defined-error/291314/1 "2024-01-11T15:31:23Z")

</div>

I have Ember problem after the latest update today. Discourse site opens (root and /admin directories in URL), but i see animated Loading picture only. JavaScript console shows error:

```plaintext
Uncaught (in promise) ReferenceError: Ember is not defined
    <anonymous> qa-topic-tip.js:8
    exports loader.js:106
    requireModule loader.js:27
    Ember 8
    initialize component-templates.js:44
    eachThemePluginTemplate component-templates.js:95
    initialize component-templates.js:32
    runInstanceInitializers Ember
    each dag-map.js:191
    walk dag-map.js:120
    each dag-map.js:66
    topsort dag-map.js:72
    Ember 4
    invoke backburner.js.js:280
    flush backburner.js.js:197
    flush backburner.js.js:358
    _end backburner.js.js:798
    _boundAutorunEnd backburner.js.js:523
    promise callback*n/< backburner.js.js:26
    flush Ember
    _scheduleAutorun backburner.js.js:964
    _ensureInstance backburner.js.js:955
    schedule backburner.js.js:648
    Ember 5
    <anonymous> start-app.js:4
    <anonymous> discourse-boot.js:20
    <anonymous> discourse-boot.js:1

```

When rebuilding without any third-party plugins, i see the message:

```plaintext
warning " > @glint/environment-ember-loose@1.1.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > @glint/environment-ember-template-imports@1.1.0" has unmet peer dependency "ember-template-imports@^3.0.0".
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"

```

I don’t understand what to do with it.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [January 11, 2024, 3:43pm UTC](https://meta.discourse.org/t/qa-topic-tip-ember-is-not-defined-error/291314/2 "2024-01-11T15:43:16Z")

</div>

Info on the Ember upgrade can be found here: [Preparing for Discourse's upgrade to Ember 5](https://meta.discourse.org/t/preparing-for-discourses-upgrade-to-ember-5/287211)

~~Have you tried loading your site in [safe mode](https://meta.discourse.org/t/53504?silent=true)? My guess would be that you have a theme installed which defines a component called ‘qa-topic-tip’.~~

~~If you can share a screenshot of the error message and backtrace that would also be useful. The copy/pasted versions of browser console logs are missing a lot of information.~~

qa-topic-tip is from the old [Pavilion discourse-question-answer](https://github.com/paviliondev/discourse-question-answer?tab=readme-ov-file) plugin. That plugin is no longer maintained, so you should remove it from your app.yml file and do a full rebuild.

---

<div class="post-metadata">

### Author: ![lubezniy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lubezniy/32/137694_2.png) [@lubezniy](https://meta.discourse.org/u/lubezniy)
#### Post date: [January 11, 2024, 7:41pm UTC](https://meta.discourse.org/t/qa-topic-tip-ember-is-not-defined-error/291314/3 "2024-01-11T19:41:56Z")

</div>

Thanks for reply.  
I have commented all third-party plugins in app.yml, wrote EMBER\_VERSION: 5 in ENV section and rebuilt Discourse. Now i have following error in JavaScript console:

```plaintext
Uncaught (in promise) ReferenceError: Ember is not defined
    <anonymous> media-overlay.js:15
    exports loader.js:106
    requireModule loader.js:27
    Ember 8
    initialize component-templates.js:44
    eachThemePluginTemplate component-templates.js:95
    initialize component-templates.js:32
    runInstanceInitializers Ember
    each dag-map.js:191
    walk dag-map.js:120
    each dag-map.js:66
    topsort dag-map.js:72
    Ember 4
    invoke backburner.js.js:280
    flush backburner.js.js:197
    flush backburner.js.js:358
    _end backburner.js.js:798
    _boundAutorunEnd backburner.js.js:523

```

And the same Loading animated picture. What’s wrong?

UPD: [Safe mode](https://meta.discourse.org/t/53504?silent=true) with safe\_mode=no\_themes%2Cno\_unofficial\_plugins works.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [January 12, 2024, 10:24am UTC](https://meta.discourse.org/t/qa-topic-tip-ember-is-not-defined-error/291314/4 "2024-01-12T10:24:59Z")

</div>

A post was merged into an existing topic: [Media Overlay component](https://meta.discourse.org/t/media-overlay-component/81418/46)
