# Site not loading and breaking after doing upgrade from admin UI due to theme errors

**URL:** https://meta.discourse.org/t/site-not-loading-and-breaking-after-doing-upgrade-from-admin-ui-due-to-theme-errors/230674
**Category:** Support
**Created:** [June 21, 2022, 8:44pm UTC](https://meta.discourse.org/t/site-not-loading-and-breaking-after-doing-upgrade-from-admin-ui-due-to-theme-errors/230674 "2022-06-21T20:44:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Faizan\_Zahid](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@Faizan\_Zahid](https://meta.discourse.org/u/Faizan_Zahid)
#### Post date: [June 21, 2022, 8:44pm UTC](https://meta.discourse.org/t/site-not-loading-and-breaking-after-doing-upgrade-from-admin-ui-due-to-theme-errors/230674/1 "2022-06-21T20:44:56Z")

</div>

My site [https://howtodiscuss.com/](https://howtodiscuss.com/) is showing a blank page when i load it.  
This is happening after i upgraded from admin UI on 21st June 2022 on latest beta version.

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/1/b/21b576a3f84b0dfdaa6b8b5f03188f3051c5fc8d.jpeg)

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/4/3/c4356424a9809cf84c5c1a3e595e0e72e58614d8.jpeg)

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/f/1/bf1a480db29bc66f0ddaadfe0544f53b0a2a05cf.png)

I even tried doing rebuild from terminal using below command

```plaintext
 ./launcher bootstrap web_only && ./launcher destroy web_only && ./launcher start web_only

```

but still its not getting up. Can anyone please help me up my site again?  
@pfaffman Can you check it please?

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [June 21, 2022, 9:05pm UTC](https://meta.discourse.org/t/site-not-loading-and-breaking-after-doing-upgrade-from-admin-ui-due-to-theme-errors/230674/2 "2022-06-21T21:05:05Z")

</div>

Your theme is throwing errors. You can use [safe mode](https://meta.discourse.org/t/53504?silent=true) to bypass the theme and fix them.

You have this added in the `<head>` field in your main theme or one of its components.

```plaintext
<script src="https://howtodiscuss.com/uploads/default/original/2X/6/6bc74544c62dcf344715cbc6f2bc10c734af4814.js"></script>

```

find that and add `defer` to it like so

```plaintext
<script defer src="https://howtodiscuss.com/uploads/default/original/2X/6/6bc74544c62dcf344715cbc6f2bc10c734af4814.js"></script>

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 21, 2022, 9:05pm UTC](https://meta.discourse.org/t/site-not-loading-and-breaking-after-doing-upgrade-from-admin-ui-due-to-theme-errors/230674/3 "2022-07-21T21:05:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
