# Latest.rss no longer works when using Babble

**URL:** https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244
**Category:** Support
**Created:** [04.Январь.2018 13:40:26 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244 "2018-01-04T13:40:26Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)
#### Post date: [04.Январь.2018 13:40:26 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/1 "2018-01-04T13:40:26Z")

</div>

The RSS feed URL for Latest posts (/latest.rss) no longer works, and now just shows a blank page. Looking at the error logs I found this:

```
ActionView::Template::Error (undefined method `name' for nil:NilClass)
/var/www/discourse/app/views/list/list.rss.erb:20:in `block in _app_views_list_list_rss_erb___410690641174059981_69912794204760'

```

Here is the full text of the error log for this:  
[https://pastebin.com/jDDqZ5ND](https://pastebin.com/jDDqZ5ND)

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [04.Январь.2018 13:47:32 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/2 "2018-01-04T13:47:32Z")

</div>

Are You on the latest version?

Seems Specific to Your forum. Can’t repro this either on meta or on my own sandbox!

---

<div class="post-metadata">

### Author: ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)
#### Post date: [04.Январь.2018 14:09:04 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/3 "2018-01-04T14:09:04Z")

</div>

I’ve been running the newest available version, currently at `v2.0.0.beta1 +4`. The issue has been ongoing for about a month or so. I do have a few plugins I use, but doubt they’re the cause:

```
hooks:

  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-bbcode-color.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/gdpelican/retort
          - git clone https://github.com/cpradio/discourse-plugin-checklist.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/iunctis/discourse-formatting-toolbar.git
          - git clone https://github.com/discourse/discourse-staff-notes.git

```

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [04.Январь.2018 14:10:48 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/4 "2018-01-04T14:10:48Z")

</div>

> [@romdos](#):
>
> `- git clone https://github.com/gdpelican/retort`

`Shouldn't it be - git clone https://github.com/gdpelican/retort.git instead?`

---

<div class="post-metadata">

### Author: ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)
#### Post date: [04.Январь.2018 14:11:43 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/5 "2018-01-04T14:11:43Z")

</div>

> [@itsbhanusharma](#):
>
> - git clone [GitHub - gdpelican/retort: A reactions plugin for Discourse · GitHub](https://github.com/gdpelican/retort.git)

Good catch! I’ll change that now and rebuild..

Update: that wasn’t it.. Trying now with all plugins disabled.

---

<div class="post-metadata">

### Author: ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)
#### Post date: [04.Январь.2018 14:35:52 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/6 "2018-01-04T14:35:52Z")

</div>

Same issue with all plugins disabled (except `docker_manager`). 😕

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [04.Январь.2018 14:39:19 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/7 "2018-01-04T14:39:19Z")

</div>

Perhaps this is beyond my understanding now. I hope someone more experienced may be able to help You with a better solution.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [04.Январь.2018 14:52:38 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/8 "2018-01-04T14:52:38Z")

</div>

Looks like [this topic](https://forum.grangerhub.com/t/grangerhub-shoutbox/4354) is the cause of the issue.

---

<div class="post-metadata">

### Author: ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)
#### Post date: [04.Январь.2018 14:58:03 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/9 "2018-01-04T14:58:03Z")

</div>

Indeed. I deleted that topic and things are working again! To anyone else having this issue, the topic in question was created by the Babble chat plugin, which creates a topic without a category.

@vinothkannans how did you determine that was the source of the issue?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [04.Январь.2018 15:05:09 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/10 "2018-01-04T15:05:09Z")

</div>

As per your error log one of your topic having `null` category value.

---

<div class="post-metadata">

### Author: ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)
#### Post date: [04.Январь.2018 15:11:33 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/11 "2018-01-04T15:11:33Z")

</div>

@vinothkannans I must be blind, because I don’t see how that was discerned from the error log. What line number exactly in the error log is indicating this? Thanks!

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [04.Январь.2018 15:14:58 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/12 "2018-01-04T15:14:58Z")

</div>

As per the first and second lines **`undefined method 'name' for nil:NilClass`**.

---

<div class="post-metadata">

### Author: ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)
#### Post date: [04.Январь.2018 15:21:36 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/13 "2018-01-04T15:21:36Z")

</div>

I guess what I’m asking is: how would anyone know/guess/decipher what is wrong based on that (IMHO, totally ambiguous) error message, without deep knowledge of Discourse?

`undefined method 'name'` (Okay there’s a undefined method called ‘name’ that is being called)  
`for nil:NilClass` (this means nothing at all to me, should it?).

How does one interpret this error as having anything to do with a topic, let alone a topic without a category?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [04.Январь.2018 15:30:33 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/14 "2018-01-04T15:30:33Z")

</div>

As I mentioned you should look at second line too. Error is coming from [this line](https://github.com/discourse/discourse/blob/master/app/views/list/list.rss.erb#L20). So the `topic.category` should be `nil`.

---

<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: [08.Июнь.2024 12:43:34 UTC](https://meta.discourse.org/t/latest-rss-no-longer-works-when-using-babble/77244/15 "2024-06-08T12:43:34Z")

</div>

Эта тема была автоматически закрыта через 2346 дней. Новые ответы больше не принимаются.
