# "dt7948 is not defined" error on Discourse desktop site

**URL:** <https://meta.discourse.org/t/dt7948-is-not-defined-error-on-discourse-desktop-site/320464>\
**Category:** Product Support\
**Created:** [August 6, 2024, 11:42pm UTC](https://meta.discourse.org/t/dt7948-is-not-defined-error-on-discourse-desktop-site/320464 "2024-08-06T23:42:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [August 7, 2024, 8:13pm UTC](https://meta.discourse.org/t/dt7948-is-not-defined-error-on-discourse-desktop-site/320464/4 "2024-08-07T20:13:25Z")

</div>

It’s hard to say for sure without being able to see your theme code. But we have seen this before if you have `<script>` in your theme which is then loading Discourse code via `require()`.

If you change it to `<script type="text/discourse-plugin" version="0.8">`, then it will load slightly later, and should not have the `dt7948` problem.

---

_[View the full topic](https://meta.discourse.org/t/dt7948-is-not-defined-error-on-discourse-desktop-site/320464)._
