# Collections Error

**URL:** <https://forums.realmacsoftware.com/t/collections-error/46292>\
**Category:** Elements API\
**Created:** [February 16, 2025, 7:13pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292 "2025-02-16T19:13:42Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 16, 2025, 7:13pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/1 "2025-02-16T19:13:42Z")

</div>

I am using a collection and try to do somehting similiar like with the linklist.

In Safari Preview I get this:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/c/7/c7343fac4097ba4b0f5ddec874de19c31a9ea2bd.png)

In Elements it shows up:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/6/1/613c3413c4b8f1541c3ee0e190adc41cb3f76c15.png)

When publishing it, its the same like in the Safari Preview

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 17, 2025, 1:32pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/2 "2025-02-17T13:32:12Z")

</div>

It might just be a coding error in your component somewhere (or it might be us 😬). Can you share the devpack with us and we can take a look?

You can email it to [dan@realmacsoftware.com](mailto:dan@realmacsoftware.com)

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 17, 2025, 1:35pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/3 "2025-02-17T13:35:07Z")

</div>

done. Send it.

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 17, 2025, 1:41pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/4 "2025-02-17T13:41:43Z")

</div>

Looks like google does not want to send it. I try to zip it. In case you get more then one email now sorry 🫣

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 17, 2025, 3:10pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/5 "2025-02-17T15:10:51Z")

</div>

Hey @Beblebroks,

I’ve tested it here and it renders the HTML just fine in Safari 🤔

 ![CleanShot 2025-02-17 at 2 .39.52@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/5/c/5cb8d4e7e61f05ce861badd6d11af5ea4775e256.png)

Can you try removing and re-adding the component to the page? I’m wondering if it got a little funky while you were developing it…

If you still get the issue can you send me the test project showing the issue?

Cheers!

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 17, 2025, 5:17pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/6 "2025-02-17T17:17:36Z")

</div>

Adding and readding still gives the same error. Maybe its the beta version that I am using and in the new one its fixed? I can try with the new beta and give you a feedback.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 17, 2025, 5:31pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/7 "2025-02-17T17:31:06Z")

</div>

How strange, give it a try with the new beta tomorrow and if it still doesn’t work send over the project. We’ll get to the bottom of this 💪

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 18, 2025, 3:55pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/8 "2025-02-18T15:55:57Z")

</div>

Hi @dan,

I might figured out the problem. As long as my collection is not part of a “Globals” component it works. In the screenshot I have 2 times each component. Above “Global” below just a component on the page.

Behaves differently.

 ![Screenshot 2025-02-18 at 23.52.33](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/e/9/e9ef997a858aa2ad1bd379fdebfbe1177c25723b.png)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 18, 2025, 5:01pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/9 "2025-02-18T17:01:59Z")

</div>

Ah-ha! That sounds like a bug then, I’ll add it to the list!

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 19, 2025, 2:22am UTC](https://forums.realmacsoftware.com/t/collections-error/46292/10 "2025-02-19T02:22:24Z")

</div>

Also something i found (Testing now not in Global anymore)

The “visible” props, does not have any effect when used in a collection. Works in the normal props so.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/5/4/54ed2aa52322a97c1bf8e2db4337e0636254a8e1.png)

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [February 19, 2025, 9:44am UTC](https://forums.realmacsoftware.com/t/collections-error/46292/11 "2025-02-19T09:44:54Z")

</div>

> [@Beblebroks](#):
>
> The “visible” props, does not have any effect when used in a collection

Visible isn’t currently hooked up for collection items as it’s a fairly complex problem to solve. For now, you should be able to use “enable” instead.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 28, 2025, 5:50pm UTC](https://forums.realmacsoftware.com/t/collections-error/46292/12 "2025-02-28T17:50:49Z")

</div>

> [@Beblebroks](#):
>
> I might figured out the problem. As long as my collection is not part of a “Globals” component it works.

@Beblebroks I have good news! In [todays release (build v0.6.4)](https://forums.realmacsoftware.com/t/elements-0-6-4-23313/46520) Collections now work in Globals 🙌
