# Discourse forum continuous loading

**URL:** https://meta.discourse.org/t/discourse-forum-continuous-loading/276183
**Category:** Support
**Created:** [August 22, 2023, 1:20pm UTC](https://meta.discourse.org/t/discourse-forum-continuous-loading/276183 "2023-08-22T13:20:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Adekunle\_Odujoko](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Adekunle\_Odujoko](https://meta.discourse.org/u/Adekunle_Odujoko)
#### Post date: [August 22, 2023, 1:20pm UTC](https://meta.discourse.org/t/discourse-forum-continuous-loading/276183/1 "2023-08-22T13:20:58Z")

</div>

The discourse forum just keeps loading and the error below is logged on the browser console while trying to load the discourse forum.

```plaintext
Compile error: TypeError: \"Cannot assign to read only property 'message' of object 'SyntaxError: Unterminated string constant. (1:28) - make sure this is an expression.\\n\u003e 1 | (function() { console.error(\\\"/discourse/theme-4/discourse/widgets/header-contents: SyntaxError: Unexpected token (17:8) - make sure this is an expression.\\n | ^\\n 2 | 15 | _r.push(this.attach(\\\"floating-search-input\\\", attrs));\\n 3 | 16 | _r.push(\\\"\\\\n \\\");\\n 4 | \u003e 17 | _r.push(if);'\" (discourse/widgets/header-contents.js)"

```

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 22, 2023, 1:22pm UTC](https://meta.discourse.org/t/discourse-forum-continuous-loading/276183/2 "2023-08-22T13:22:38Z")

</div>

> [@Adekunle\_Odujoko](#):
>
> `discourse/theme-4/discourse/widgets/header-contents:`

It seems one of your themes is having some issues. If you enter [safe mode](https://meta.discourse.org/t/53504?silent=true) you should be able to disable it and debug it further from there. 👍
