CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
188 stars 163 forks source link

JS conflict from Caldera-Forms and WooCommerce #2239

Closed dariovar closed 6 years ago

dariovar commented 6 years ago

Hi, there is a JS conflict from Caldera-Forms and the Coupon section in WooCommerce. I found the same problem with the Orders section… I'm sure that is Caldera-Forms that causes this issue because when I deactive the plug-in, the tabs are shown correctly and the fields are editable. I'm not so good in debugging, so please could you help me?

The error is in the ../assets/build/js/shortcode-insert.min.js

load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9 JQMIGRATE: Migrate is installed, version 1.4.1 shortcode-insert.min.js?ver=1.5.6.2:1 Uncaught TypeError: Cannot read property 'views' of undefined at HTMLDocument. (shortcode-insert.min.js?ver=1.5.6.2:1) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) wp-seo-admin-global-490.min.js?ver=4.9:1 Uncaught TypeError: Cannot read property 'length' of undefined at wp-seo-admin-global-490.min.js?ver=4.9:1 at dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) (anonymous) @ wp-seo-admin-global-490.min.js?ver=4.9:1 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 (index):13 [Violation] Avoid using document.write(). renderFrameContents @ (index):13 componentDidMount @ (index):13 e.notifyAll @ (index):8 close @ (index):11 closeAll @ (index):11 perform @ (index):11 perform @ (index):11 perform @ (index):11 S @ (index):11 closeAll @ (index):11 perform @ (index):11 batchedUpdates @ (index):10 c @ (index):11 r @ (index):11 enqueueSetState @ (index):11 r.setState @ (index):12 (anonymous) @ (index):14 (index):14 [Violation] 'setTimeout' handler took 106ms [Violation] Forced reflow while executing JavaScript took 45ms wp-seo-admin-global-490.min.js?ver=4.9:1 Uncaught TypeError: Cannot read property 'length' of undefined at wp-seo-admin-global-490.min.js?ver=4.9:1 at dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9) at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at a (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:88) (anonymous) @ wp-seo-admin-global-490.min.js?ver=4.9:1 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 a.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9 (anonymous) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 a @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:88 util.js:216 Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version uB.j @ util.js:216 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:131 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:53 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:50 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:53 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:104 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:50 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:104 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:50 (anonymous) @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:104 Sc @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:52 Rc.eb @ js?v=3.27&key=AIzaSyDpxL670136Z3tcBh31rd37fVOFDFU3x44:104 (anonymous) @ util.js:1 wp-seo-admin-global-490.min.js?ver=4.9:1 Uncaught TypeError: Cannot read property 'length' of undefined at wp-seo-admin-global-490.min.js?ver=4.9:1 at dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) (anonymous) @ wp-seo-admin-global-490.min.js?ver=4.9:1 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 wp-seo-admin-global-490.min.js?ver=4.9:1 Uncaught TypeError: Cannot read property 'length' of undefined at wp-seo-admin-global-490.min.js?ver=4.9:1 at dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9) at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at a (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:88) (anonymous) @ wp-seo-admin-global-490.min.js?ver=4.9:1 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 a.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9 (anonymous) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 a @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:88 setTimeout (async) c @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:88 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673) at HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at HTMLDocument.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9) at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object. (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430) (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 a.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9 (anonymous) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 y @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 c @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 XMLHttpRequest.send (async) send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 j @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 k @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 m @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673) at HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at HTMLDocument.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9) at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object. (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430) (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 a.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9 (anonymous) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 y @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 c @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 XMLHttpRequest.send (async) send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 j @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 setTimeout (async) k @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2 y @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 c @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 XMLHttpRequest.send (async) send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:4 j @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 k @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 m @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 (anonymous) @ load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430 dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3 load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:673) at HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at HTMLDocument.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:9) at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:2) at a.fn.init.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable&ver=4.8.2:3) at Object. (load-scripts.php?c=0&load[]=jquery-ui-droppable,shortcode,backbone,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-edito&load[]=r,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,wor&load[]=d-count,post,hoverIntent,common,thickbox,media-upload,admin-bar,heartbeat,autosave,svg-painter,wp-auth-check&ver=4.8.2:430)

georgestephanis commented 6 years ago

You'd get more readable backlog of the issues if you define( 'SCRIPT_DEBUG', true ); in your wp-config to disable concatenation.

Shelob9 commented 6 years ago

Best solution would be to remove that script from loading in the coupons screen

https://calderaforms.com/doc/remove-caldera-forms-shortcode-button-post-editor/

dariovar commented 6 years ago

Hi Shelob9, thanks for your reply, but even removing the script from loading, it doesn't work! Sigh!

cdhassell commented 6 years ago

I have the same issue as described by @dariovar. The only solution I could find was to install the plugin-organizer plugin and configure it to prevent loading CF on certain pages.

Shelob9 commented 6 years ago

This will be resolved via #2527 in version 1.7. See this comment for an immediate workaround: https://github.com/CalderaWP/Caldera-Forms/issues/2527#issuecomment-390653283

Shelob9 commented 6 years ago

Fixed in #2527 see: https://github.com/CalderaWP/Caldera-Forms/issues/2527#issuecomment-391488156