# TypeError: r is not iterable

**URL:** https://meta.discourse.org/t/typeerror-r-is-not-iterable/234741
**Category:** Bug
**Created:** [August 1, 2022, 9:29pm UTC](https://meta.discourse.org/t/typeerror-r-is-not-iterable/234741 "2022-08-01T21:29:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Alshain](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alshain/32/268446_2.png) [@Alshain](https://meta.discourse.org/u/Alshain)
#### Post date: [August 1, 2022, 9:29pm UTC](https://meta.discourse.org/t/typeerror-r-is-not-iterable/234741/1 "2022-08-01T21:29:23Z")

</div>

Hi guys, I’m new to discourse.

I’m getting an error but I couldn’t find the reason. Could you help me with this?

I refresh the page and it gives the error I shared below in the chrome console. What should I do?

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/e/9/9e9280ba4775d3655dcd8a97950f06dd52ef801d.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/d/d/8dd75e1410191f15092e3ae0e7b4689f6ad7c5c6.png)

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [August 2, 2022, 12:38am UTC](https://meta.discourse.org/t/typeerror-r-is-not-iterable/234741/2 "2022-08-02T00:38:43Z")

</div>

Hm, this is in “opcode-compiler”. What plugins do you have installed?

---

<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: [August 2, 2022, 1:14am UTC](https://meta.discourse.org/t/typeerror-r-is-not-iterable/234741/3 "2022-08-02T01:14:52Z")

</div>

Can you test in [safe mode](https://meta.discourse.org/t/53504?silent=true) as well? Does it work?

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [August 2, 2022, 2:39am UTC](https://meta.discourse.org/t/typeerror-r-is-not-iterable/234741/4 "2022-08-02T02:39:59Z")

</div>

I have seen this same error locally, and I thought it was a regression but while I was trying to determine when this would have regressed (via `git bisect`) it magically got solved. I believe it was because there was a corrupt build cache that got reset while bisecting.

In a production environment, you can try rebuilding your site, there is a good chance that it will resolve the issue.

---

<div class="post-metadata">

### Author: ![Alshain](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alshain/32/268446_2.png) [@Alshain](https://meta.discourse.org/u/Alshain)
#### Post date: [August 2, 2022, 11:40am UTC](https://meta.discourse.org/t/typeerror-r-is-not-iterable/234741/5 "2022-08-02T11:40:35Z")

</div>

Thanks for the safe-mode feature 🙂 I didn’t know that.  
There was no problem in the default theme, after switching to the Discourse-Air theme, I found that the problem was there.

After removing the default plugins in the Discourse-Air theme, my problem was resolved. But which plugin etc. I haven’t been able to check.
