Strange JS Backbone issue w/ stripping ver tags
-
Hello. I’ve been developing with Elementor since early 9.X on this particular site and upon upgrade to 0.10.2 I was not longer able to edit Elementor items. The preview area showed controls but the right side Elementor editor bar in which you edit each element, column, section settings was empty (vertical grey bar only).
Upon further inspection I found that when I removed a filter from my functions.php the js error went away and the editor begind working again. This was in my functions.php
add_filter( ‘script_loader_src’, ‘sdt_remove_ver_js’, 99 );
function sdt_remove_ver_js( $src ) {
if ( strpos( $src, ‘ver=’ ) )
$src = remove_query_arg( ‘ver’, $src );
return $src;
}This is a pretty common thing to do to eliminate caching css/js during development and used to work up until the recent version. Any ideas on how I can restore this without breaking Elementor?
JS console error (when clicking on edit icon):
Uncaught ChildViewContainerMissingError: The specified “childViewContainer” was not found: div.elementor-controls
…/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.jsps – also note the little spinner in the image above that doesn’t go away either.
- The topic ‘Strange JS Backbone issue w/ stripping ver tags’ is closed to new replies.