# Critical Bug in weweb - weweb is broking my app - element undefined - Anyone has a fix?

**URL:** <https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506>\
**Category:** Ask us anything\
**Created:** [August 28, 2024, 1:01pm UTC](https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506 "2024-08-28T13:01:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kivo](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Kivo](https://community.weweb.io/u/Kivo)\
**Post date:** [August 28, 2024, 1:01pm UTC](https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506/1 "2024-08-28T13:01:23Z")

</div>

Hello,

Yesterday, I encountered a serious issue while editing my WeWeb app. Suddenly, all elements stopped displaying on my pages, showing an error message saying “element undefined.” This issue is also occurring in the production version of my app.

I submitted a support ticket yesterday, but the response from WeWeb support has been very slow. This is a critical problem—my users are complaining that they can’t use the app properly, and it’s impacting their experience.

I’m starting to lose confidence in WeWeb as a reliable no-code platform. If the support remains unresponsive and the platform continues to cause bugs in my production app, I might need to reconsider using it.

Can anyone assist me with this issue?  
Video link from the problem: [Dashboard \_ WeWeb - Google Chrome 2024-08-28 09-31-52.mp4 - Google Drive](https://drive.google.com/file/d/1l2gwkK8Rr8kBhXblfVojZ1kwZjvlvNfn/view?usp=sharing)

@Joyce @QuentinDty @Quentin

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 28, 2024, 1:09pm UTC](https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506/2 "2024-08-28T13:09:56Z")

</div>

Hi, have you tried reverting to a previous version of your published application to solve the problem in the meantime?

---

<div class="post-metadata">

**Author:** ![Kivo](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Kivo](https://community.weweb.io/u/Kivo)\
**Post date:** [August 28, 2024, 1:12pm UTC](https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506/3 "2024-08-28T13:12:32Z")

</div>

No, How can I do this? Can you please give me a step by step?  
Every page I click, this bug happens (on pages that was working fine before, its starts to happen)  
I am afraid that If I restore to a backup version this also happens again.  
But maybe it is worth a shot

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 28, 2024, 1:21pm UTC](https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506/4 "2024-08-28T13:21:21Z")

</div>

I think I found out your issue, you have many text bound on some page that come from your database, and some seems to contain invalid html like this one

 ![CleanShot 2024-08-28 at 15.19.07](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/13be70209adbc47f5b56357408775bfb38d8b097.png)

Please review them and either use the option “sanitize” so it doesn’t interpret the HTML inside or use our HTML element or rich text element to render it

It should fix the issue for Target audience page and most probably every side effect linked to this issue

On your pages, you can search for text elements and check all those that have a binding.

 ![CleanShot 2024-08-28 at 15.23.16](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/931348f8db873623951bb0dd5c6f42e832f9a538.png)

---

<div class="post-metadata">

**Author:** ![Kivo](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Kivo](https://community.weweb.io/u/Kivo)\
**Post date:** [August 28, 2024, 2:09pm UTC](https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506/5 "2024-08-28T14:09:17Z")

</div>

It worked, thank you for your help!  
But do you know why a broken field on this “target audience” page broke all my other pages?  
All the elements from the other pages like “strategy”, “product”, etc, stopped to work as well

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 28, 2024, 2:39pm UTC](https://community.weweb.io/t/critical-bug-in-weweb-weweb-is-broking-my-app-element-undefined-anyone-has-a-fix/10506/6 "2024-08-28T14:39:51Z")

</div>

I don’t think they really stopped to work, it’s just once you visited the bugged one it broke the editor

Also, be aware change in the editor does not affect the published app, so, if you did not publish, the issue was probably already there but showed up only later after a change in the data you was binding to the page (broken html introduced in your database afterward for exemple) as you may use the same dataset in the editor and in the published app it probably broke both
