On the backend, when this creates a course or unit, I can't switch from the visual editor to HTML. I am getting the following error on the console.
It happen since 4.0 update.
How can I fix this?
Uncaught TypeError: Cannot read property 'hasClass' of undefined
at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5:2)
at HTMLDocument.dispatch (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:3)
at HTMLDocument.r.handle (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:3)
at Object.trigger (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:3)
at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:3)
at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:2)
at n.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:2)
at n.fn.init.trigger (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:3)
at Object.<anonymous> (load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,wp-hooks,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-&load[chunk_1]=query,admin-comments,suggest,wp-dom-ready,wp-a11y,postbox,jquery-ui-position,jquery-ui-menu,jquery-ui-autocomplete,tags-suggest,&load[chunk_2]=tags-box,underscore,word-count,wp-sanitize,clipboard,post,editor-expand,thickbox,shortcode,backbone,wp-util,wp-backbone,media-mo&load[chunk_3]=dels,wp-plupload&ver=5.5:13)
at i (load-scripts.php?c=1&load[chunk_0]=jquery,utils&ver=5.5:2)
Hi sorry for this issue .can you please share us screenshot or url where you are getting this error .
Please try disable script minfication or caching plugins your have .
also share admin creds to check the issue .