未捕获的TypeError:无法读取未定义的属性'refreshContentEditable'

时间:2019-08-01 09:48:39

标签: javascript wordpress

我们拥有具有最新wordpress版本5.2.2的多站点 我有一个最新的插件“适用于WordPress的PDF查看器” 7.5

现在,当我单击pdf弹出窗口的“确定”按钮时,出现以下错误

enter image description here

enter image description here

未捕获的TypeError:无法读取未定义的属性'refreshContentEditable'

在此文件中../ wp-includes / js / tinymce / wp-tinymce.js?ver = 4940-20190515

at wp-tinymce.js?ver=4940-20190515:1
at Wp (wp-tinymce.js?ver=4940-20190515:1)
at zw.focus (wp-tinymce.js?ver=4940-20190515:1)
at lp.execCommand (wp-tinymce.js?ver=4940-20190515:1)
at zw.execCommand (wp-tinymce.js?ver=4940-20190515:1)
at zw.insertContent (wp-tinymce.js?ver=4940-20190515:1)
at i.onsubmit (tnc-pdf-button.js?wp-mce-4940-20190515:365)
at dp.c.fire (wp-tinymce.js?ver=4940-20190515:1)
at i.fire (wp-tinymce.js?ver=4940-20190515:1)
at i.fire (wp-tinymce.js?ver=4940-20190515:1)
Uncaught TypeError: Cannot read property 'hasClass' of undefined

在此文件中../ wp-includes / js / wp-auth-check.min.js?ver = 5.2.2

at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.2.2:1)
at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:3)
at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:3)
at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:3)
at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:8)
at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:3)
at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:2)
at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:2)
at a.fn.init.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,underscore,moxiejs,plupload&ver=5.2.2:3)
at Object.<anonymous> (heartbeat.min.js?ver=5.2.2:1)

1 个答案:

答案 0 :(得分:0)

我已经解决了这个问题,其中一个插件WP-tree被创建为冲突离子,因为我已停用它,因此pdf可以正常工作