Module Error when trying to add item

Hello,

I’m getting an error when trying to add a item with a module (based on a simple title loop) : when i click on "+ add " link

react-dom.production.min.js:189 TypeError: Cannot read properties of undefined (reading ‘hs_meta’)
at ce.renderValue (OccurrencesTable.tsx:282:27)
at Array.map (<anonymous>)
at ce.renderValues (OccurrencesTable.tsx:323:28)
at ce.render (OccurrencesTable.tsx:406:53)
at qu (react-dom.production.min.js:204:189)
at Uu (react-dom.production.min.js:203:149)
at Ls (react-dom.production.min.js:292:172)
at zl (react-dom.production.min.js:280:389)
at jl (react-dom.production.min.js:280:320)
at Tl (react-dom.production.min.js:280:180)
at El (react-dom.production.min.js:273:245)
at ei (react-dom.production.min.js:127:105)
at Ol (react-dom.production.min.js:274:82)
at Ae (react-dom.production.min.js:52:375)
at eo (react-dom.production.min.js:109:469)
at rn (react-dom.production.min.js:74:59)
at tn (react-dom.production.min.js:73:73)
at HTMLDivElement.o (raven.js:363:21)
at HTMLDivElement.nrWrapper (VM21 104780453196:3:30816)

Thanks for your help

Hi there!

Not sure on this, check in backend if it has any error. If you are using any hubl tags or html tags or some other specialcases it might be throw some errors.
If need assistance please feel free to reach out custom support to log a ticket. or connect with me in DM will resolve on it.
Thank you! Happy HubSpoting!!

Thanks for your reply

I tried to remove all hubl code and not working better

What is weird is that previewing of the module is working perfectly (i can add, delete, etc…) and is not triggering th Js error (about hs_meta). The issue when update the module through the blog article

@SPelamourgues, I am experiencing the same issue. It is also occurring with a new, empty module. I can replicate the issue with the steps below:

  1. Creating a new custom module available to blog posts
  2. Add a text field and turn on repeating
  3. Publish the module
  4. Add the custom module to a blog post
  5. Click to add a text field repeater item
  6. The editor will break and throw the error described previously
  7. Refreshing the page will not fix the error and that instance of the module will not be usable

This is occurring in every portal I have access to.

I have contacted Hubspot support yesterday

They didn’t find anything wrong in my module etc..

The problem seems to be on their react sides

They are investigating

Hubpost just emailed me

they fixed the problem (great support team :slightly_smiling_face: )