# Custom plugin broke with 3.2.0.beta2-dev (Replacing HomeLogo)

**URL:** https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482
**Category:** Development
**Created:** [October 7, 2023, 10:52pm UTC](https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482 "2023-10-07T22:52:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![felixoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felixoi/32/331959_2.png) [@felixoi](https://meta.discourse.org/u/felixoi)
#### Post date: [October 7, 2023, 10:52pm UTC](https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482/1 "2023-10-07T22:52:33Z")

</div>

Hey,

we’ve been using Discourse for a lot of years now. At some point a former dev of our organization created a plugin to replace the default Home-Logo widget with a custom one to fit our general navigation style. After the update to 3.2.0.beta2-dev discourse stopped working (infinite loading) and I figured it was the plugin which broke.

```plaintext
export default {
  name: 'spongepowered-navbar',
  initialize() {
    HomeLogo.default = createWidget('home-logo', {
      tagName: 'div.title',

```

now leads to

```plaintext
Uncaught (in promise) TypeError: Cannot set property default of #<Object> which has only a getter

```

The error references the line of `HomeLogo.default = ...`.  
It seems like the HomeLogo Widget cannot be replaced anymore somehow. I searched the changelog and couldnt find something. As I’m not very experienced with discourse plugins I’m seeking for help here. What’s the “new way” of doing this? The whole code can we found at [discourse-spongepowered-navbar/assets/javascripts/initializers/spongepowered-navbar.js.es6 at master · felixoi/discourse-spongepowered-navbar · GitHub](https://github.com/felixoi/discourse-spongepowered-navbar/blob/master/assets/javascripts/initializers/spongepowered-navbar.js.es6) (it’s only 133 lines in total).

Hoping someone can help me out here.

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [October 7, 2023, 11:42pm UTC](https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482/2 "2023-10-07T23:42:49Z")

</div>

So you’re just changing your logo? Wouldn’t these settings work for that?

 ![Logo settings](https://global.discourse-cdn.com/meta/original/4X/b/e/7/be708d7ed9b9325fe4a257497bb4744a04870de5.jpeg)  
(That’s an admin search for “logo”)

---

<div class="post-metadata">

### Author: ![felixoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felixoi/32/331959_2.png) [@felixoi](https://meta.discourse.org/u/felixoi)
#### Post date: [October 8, 2023, 6:31am UTC](https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482/3 "2023-10-08T06:31:06Z")

</div>

@Firepup650 No sadly it does not. If you take a look at the code you can see that we add a dropdown to the icon on hover.

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [October 9, 2023, 4:32am UTC](https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482/4 "2023-10-09T04:32:21Z")

</div>

It wouldn’t be directly on the logo, but would [Dropdown Header](https://meta.discourse.org/t/dropdown-header/226170) work for your use case?
