# TypeError: E is not iterable and script versions

**URL:** https://meta.discourse.org/t/typeerror-e-is-not-iterable-and-script-versions/320755
**Category:** Development
**Created:** [August 8, 2024, 3:54pm UTC](https://meta.discourse.org/t/typeerror-e-is-not-iterable-and-script-versions/320755 "2024-08-08T15:54:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cogdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cogdog/32/116536_2.png) [@cogdog](https://meta.discourse.org/u/cogdog)
#### Post date: [August 8, 2024, 3:54pm UTC](https://meta.discourse.org/t/typeerror-e-is-not-iterable-and-script-versions/320755/1 "2024-08-08T15:54:35Z")

</div>

I’m mostly a dabbler in the code, dangerously trying things. On an overdue update, our use of this how to (on adding a featured topics to home page) vanished.

[https://meta.discourse.org/t/add-a-featured-topic-list-to-your-discourse-homepage/132949](https://meta.discourse.org/t/add-a-featured-topic-list-to-your-discourse-homepage/132949)

On investigating our theme component where this is applied to the `<head>` I spot errors

`TypeError: E is not iterable (cannot read property undefined)`

I can’t find any things identified as E. For some reason, in looking through posts here I noted that many times the script tags have a wide range of versions numbers, I used the given

`<script type="text/discourse-plugin" version="0.8">`

but see other code with various version numbers, Sometimes 0.8, 0,.8.11, even 0.11. I am not 100% sure how this is is used, but on whim, I changed mine to 0.8.11 and BOOM, the error cleared.

I know this might be basic, but what is the use here and how does it affect my template? Thanks for some discourse 101 advice.
