Uncaught ReferenceError: Toolset is not defined
at ToolsetCommon.UserEditor.VisualComposerEditor.self.init (backend_editor.js?ver=2.5.2:62)
at new ToolsetCommon.UserEditor.VisualComposerEditor (backend_editor.js?ver=2.5.2:67)
at HTMLDocument.<anonymous> (backend_editor.js?ver=2.5.2:72)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,thickbox,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jque&load[]=ry-ui-button,jquery-ui-position,jquery-ui-dialog,utils,underscore,jquery-ui-sortable,shortcode,media-upload,wp-util,jquery-ui-pr&load[]=ogressbar,backbone,plupload&ver=4.8.2:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,thickbox,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jque&load[]=ry-ui-button,jquery-ui-position,jquery-ui-dialog,utils,underscore,jquery-ui-sortable,shortcode,media-upload,wp-util,jquery-ui-pr&load[]=ogressbar,backbone,plupload&ver=4.8.2:2)
at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,thickbox,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jque&load[]=ry-ui-button,jquery-ui-position,jquery-ui-dialog,utils,underscore,jquery-ui-sortable,shortcode,media-upload,wp-util,jquery-ui-pr&load[]=ogressbar,backbone,plupload&ver=4.8.2:2)
at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,thickbox,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jque&load[]=ry-ui-button,jquery-ui-position,jquery-ui-dialog,utils,underscore,jquery-ui-sortable,shortcode,media-upload,wp-util,jquery-ui-pr&load[]=ogressbar,backbone,plupload&ver=4.8.2:2)
And this line inside the JS is red Toolset.hooks.addFilter( 'wpv-filter-wpv-shortcodes-gui-before-do-action', self.secureShortcodeFromSanitization );