# 如果主题组件引入设置，网站会出现大量错误

**URL:** <https://meta.discourse.org/t/lots-of-errors-on-site-if-theme-component-introduces-settings/110954>\
**Category:** Bug\
**Created:** [2019年三月7日 06:33 UTC](https://meta.discourse.org/t/lots-of-errors-on-site-if-theme-component-introduces-settings/110954 "2019-03-07T06:33:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2019年三月7日 06:33 UTC](https://meta.discourse.org/t/lots-of-errors-on-site-if-theme-component-introduces-settings/110954/1 "2019-03-07T06:33:11Z")

</div>

If a theme component starts **without any theme settings** , and then you update via the admin section to one with theme settings (by pulling a new commit). There is an edge case where you can have error central cause certain critical assets are not quite ready.

Work around is simple, change one of the new settings, but it often can require switching to [safe mode](https://meta.discourse.org/t/53504?silent=true).

---

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [2019年三月8日 11:50 UTC](https://meta.discourse.org/t/lots-of-errors-on-site-if-theme-component-introduces-settings/110954/3 "2019-03-08T11:50:55Z")

</div>

Fixed in:

[https://github.com/discourse/discourse/pull/7131](https://github.com/discourse/discourse/pull/7131)

---

<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:** [2019年三月9日 18:00 UTC](https://meta.discourse.org/t/lots-of-errors-on-site-if-theme-component-introduces-settings/110954/4 "2019-03-09T18:00:07Z")

</div>

This topic was automatically closed after 25 hours. New replies are no longer allowed.
