Bug in editor on reload (viewdestroyederror – backbone.marionette.min.js)
-
Hi,
First thanks for your great plugin.
Let me explain the bug I discovered :
– I made Custom Post Type single template with Elementor and want to show ACF fields in certains conditions
– Everything’s fine excepts in this kind of case :• I made a section with one column. In this column, I put a static “title” elementor widget (always the same for every posts) and a “content editor” filled with ACF text content (we can call it the “X”).
• If I want to hide entire section with conditional check on “X” field (if empty, don’t show the section). It first look fine in editor and on frontend of the website.
But, but, but…if you reload the editor page (eg. if you want to edit your template later), Elementor doesn’t load well. It triggers a Javascript error on backbone.marionette.min.js :
“Constructor {name : “ViewDestroyedError”, message “View (cid: “view1033″) has already been destroyed and cannot be used.”, stack…….}
This errors causes others problem to edit the template (I loose a template because of this)Some precisions:
• If I remove my condition on section and reload my editor, everything’s fine.
• If I put the same condition on the “title” widget to hide it, everything’s fine.
• If I put the same condition on an other section (which is not filled by an ACF field), everything’s fine and the section is hidden when necessaryI hope you can reproduce the bug.
Do you think it’s a big deal ?
Thanks in advance if you can take a look 😉Renaud
—-
I’m with last version of Elementor & Elementor Pro:
Elementor : 2.5.14
Elementor Pro : 2.5.5
- The topic ‘Bug in editor on reload (viewdestroyederror – backbone.marionette.min.js)’ is closed to new replies.