Select to view content in your preferred language

Help! Error: "Cannot read properties of undefined (reading '0')"

318
9
3 weeks ago
LayerItOn
Frequent Contributor

One of my pages in exp.b. is throwing up this error when I go to check the pending items. No other pages are have this problem. If I duplicate the page (Viveros), the error persists (Viveros 2). Anyone experience this before?

LayerItOn_0-1762903813511.png

 

0 Kudos
9 Replies
NicoleJohnson
Frequent Contributor

@LayerItOn, I've had this happen from time to time, but especially during the week or so after the October ArcGIS Online update. If you open your app in a new tab (you will lose your unsaved work), does the message go away? 

0 Kudos
LayerItOn
Frequent Contributor

No luck, message still shows up for that page. Hmmm, I didn't think that it might be related to the recent update

0 Kudos
NicoleJohnson
Frequent Contributor

@LayerItOn, do you remember what you had done just before seeing the message? Most frequently this has happened to me right after setting a custom color somewhere on the style pane of a widget (but I've seen it after doing all sorts of things). I think maybe the JSON sometimes gets messed up, so if you can functionally reset it by going back to whatever widget you last interacted with and changing something about it (or deleting and reconfiguring it), maybe that will work?

0 Kudos
LayerItOn
Frequent Contributor

I deleted a hidden page, but that page was not linked to anything else in this page

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

Try to duplicate your whole EXB and start from a new one (essentially copy it and see if the error goes away)

0 Kudos
LayerItOn
Frequent Contributor

Error persists with copy 😞 

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

hm when I've had the error support made me re-create it but to do for a whole page vs a widget is more of a hassle. I know it's simple but did you clear cache/history and try again?

0 Kudos
LayerItOn
Frequent Contributor

Darn, that is a good idea, but no luck.  I tried to clear the cache/history, but still have the error. 

0 Kudos
ShengdiZhang
Esri Regular Contributor

Hi @LayerItOn ,

Could you share a sample app with me so we can take a close look at it?

Thanks,

Shengdi

0 Kudos