grapes.min.js:2 Uncaught TypeError: Cannot read property 'length' of undefined
Question
I got this error when add the
<iframe src="https://app.conversiobot.com/boot/fvMEvO" width="100%" height="500" frameBorder="0" allow="geolocation"></iframe> used the custom code component.my code works fine with 0.17.4, but got below error with 0.17.19
grapes.min.js:2 Uncaught TypeError: Cannot read property 'length' of undefined at r.loadTraits (grapes.min.js:2) at r.initTraits (grapes.min.js:2) at r.initialize (grapes.min.js:2) at r.e.Model (grapes.min.js:2) at r [as constructor] (grapes.min.js:2) at r [as constructor] (grapes.min.js:2) at r [as constructor] (grapes.min.js:2) at new r (grapes.min.js:2) at new model (grapes.min.js:2) at r._prepareModel (grapes.min.js:2)
Answers (2)
Thanks for the report, the fix is ready for the next release.
I am encountering a similar issue with v0.19.5 when I try to add an iframe inside of a custom code block
TypeError: m.render is not a function
at a.value (ComponentsView.js:86:23)
at a.value (ComponentsView.js:39:10)
at y (backbone.js:371:57)
at m (backbone.js:356:19)
at h (backbone.js:155:16)
at u.trigger (backbone.js:346:5)
at n._onModelEvent (backbone.js:1187:20)
at y (backbone.js:372:58)
at m (backbone.js:357:22)
at h (backbone.js:155:16) {level: 'error'}
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2498
[Bug] Error when trying to move cell from row.
Bug #2478 after release still exists. Repeat steps and you will get error Uncaught TypeError: Cannot read property 'indexEl' of undefined....
Issue #2681
[BUG]: destroy() method didn't fully remove events
version: latest: v-0.16.3. important: update from v-0.15.9 to v-0.16.3 while keep everything same, the error will show in console: This err...
Issue #2771
[BUG] component with textable:1 not working since version 0.16.12
Hello, I've just updated to the lasted version 0.16.12 and have a bug when trying to move a component that has the property textable:1 into...
Issue #3267
BUG: Cannot set 0px box shadow blur
For some reason, the editor does not allow to set the blur to 0px. 0 always magically turns into 5px. <img width="243" alt="Screenshot 2021...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.