# WAIT: Phantom element?

**URL:** <https://forum.bricksbuilder.io/t/wait-phantom-element/29213>\
**Category:** Bugs\
**Tags:** v1-11-1-1\
**Created:** [January 7, 2025, 3:28pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213 "2025-01-07T15:28:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [January 7, 2025, 3:28pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/1 "2025-01-07T15:28:03Z")

</div>

A code review has highlighted that I am echoing the result of a function in:

Template: Service  
Element: Basic Text  
Settings: get\_current\_post\_parent\_id  
ID: opjlfs

I have checked the template, but there are no text elements anywhere with this ID. I looked in the database, and I can see it there in the serialized data, but it’s simply not there in the builder. I looked at the parent ID for this phantom element, which is in the builder, but there are no basic text elements within it.

Thinking that there could be a bug here where the data isn’t cleaned up? I thought perhaps it was due to revisions, but I have deleted all those too.

What are the next steps?

Thanks

---

<div class="post-metadata">

**Author:** ![Matej](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/matej/32/20184_2.png) [@Matej](https://forum.bricksbuilder.io/u/Matej)\
**Post date:** [January 7, 2025, 5:02pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/2 "2025-01-07T17:02:27Z")

</div>

Hi @jamie,

this might be the result of the issue that we had quite a few versions back with disappearing elements.

Can you send the temporary login credentials to your **test/staging** website and a link to this thread to [help@bricksbuilder.io](mailto:help@bricksbuilder.io) using the email address you used during the purchase, so we can take a look?

Then, I can check this template and see what it’s there.

Thanks,  
Matej

---

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [January 7, 2025, 7:09pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/3 "2025-01-07T19:09:27Z")

</div>

Hi

I started building from the latest version 1.11.1.1.

Details have been emailed as requested.

Thanks  
Jamie

---

<div class="post-metadata">

**Author:** ![Matej](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/matej/32/20184_2.png) [@Matej](https://forum.bricksbuilder.io/u/Matej)\
**Post date:** [January 7, 2025, 7:53pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/4 "2025-01-07T19:53:40Z")

</div>

Hmm, interesting. Thanks for this info and log in. I’ll check that tomorrow and get back to you.

Matej

---

<div class="post-metadata">

**Author:** ![Matej](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/matej/32/20184_2.png) [@Matej](https://forum.bricksbuilder.io/u/Matej)\
**Post date:** [January 8, 2025, 10:07am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/5 "2025-01-08T10:07:11Z")

</div>

Hello @jamie,

thank you for the login data. I checked the template, and it’s true, there was an element, that had a parent. But that parent element didn’t have this “phantom” element as a child, and that’s why this happened.

I fixed it by copying the elements, then I removed all, and past them back. This solved the issue.

I’m curious though, do you remember that element, and what you did with it? Did you remove it, or did it just disappear one day?  
I can’t reproduce this issue locally, and it would help me to narrow down the issue.

Thanks,  
Matej

---

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [January 8, 2025, 11:36am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/6 "2025-01-08T11:36:17Z")

</div>

Hi @Matej

Thank you for taking a look (and so quickly, too).

I remember adding a basic text element with that echo inside a loop because I wanted to debug/see what value was returned. I’m pretty sure I deleted it. Certainly, it was never meant to be kept.

Actually, I still have the database locally with all of the revisions and undo history intact that could be used to figure that out. It looks like I added the text element, then dragged it within a loop, then later deleted it.

Happy to supply the database or access with the history intact.

Thanks  
Jamie

---

<div class="post-metadata">

**Author:** ![Matej](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/matej/32/20184_2.png) [@Matej](https://forum.bricksbuilder.io/u/Matej)\
**Post date:** [January 8, 2025, 7:19pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/7 "2025-01-08T19:19:22Z")

</div>

Hi,

thank you. If you are sure you deleted it, then that’s all that I need for now. Let’s hope this was a one-in-a-lifetime occurrence, but if it happens again, let me know.

Thanks

---

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [January 8, 2025, 8:50pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/8 "2025-01-08T20:50:09Z")

</div>

The revision’s undo history says “deleted” and the element is gone. Not sure why it would still be saved in the serialized data though.

---

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [January 8, 2025, 10:32pm UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/9 "2025-01-08T22:32:32Z")

</div>

Well, I’ve just run in to a similar issue with the same template. A phantom loop query, containing an {echo} to a function that I have since removed. Somehow the query is still in the template data. This time global elements are in play. I appear to have both the global element and a phantom version of said element with old data. It’s entirely possible that the phantom element before was also inside a global element.

---

<div class="post-metadata">

**Author:** ![Matej](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/matej/32/20184_2.png) [@Matej](https://forum.bricksbuilder.io/u/Matej)\
**Post date:** [January 9, 2025, 8:15am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/10 "2025-01-09T08:15:33Z")

</div>

Hh, so, global elements with some `{echo:...}` functions. I’ll try to reproduce this locally, let’s see.

To temporarily solve this, just copy the top most section, then delete all (with the trash can icon above the elements in the structure panel), and then paste back the section - it should solve it.

Thanks,  
Matej

---

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [January 9, 2025, 9:26am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/11 "2025-01-09T09:26:34Z")

</div>

I actually tried copying the top most section, deleting all elements and re-pasting, but the issue persisted. What did work was deleting the global element from the template then re-adding it from the list of elements.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [October 28, 2025, 9:30am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/12 "2025-10-28T09:30:14Z")

</div>

Unlisted on October 28, 2025, 9:30am UTC



---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [October 28, 2025, 9:30am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/13 "2025-10-28T09:30:17Z")

</div>

Archived on October 28, 2025, 9:30am UTC



---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [October 28, 2025, 9:31am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/15 "2025-10-28T09:31:01Z")

</div>

Unarchived on October 28, 2025, 9:31am UTC



---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [October 28, 2025, 9:31am UTC](https://forum.bricksbuilder.io/t/wait-phantom-element/29213/16 "2025-10-28T09:31:04Z")

</div>

Listed on October 28, 2025, 9:31am UTC


