美好的一天,我有一个新安装的 WordPress 网站。没有安装任何插件或第 3 方主题,只有 WordPress 的库存版本。然而,在我自定义网站之前似乎出现了问题。
它显示了一个错误列表,显示像 jquery/jquery-ui 问题(或更多,我不确定),如果有人遇到此类问题,也许你可以帮助兄弟。我已经用尽了所有选项,即使是干净安装的 WordPress 也无法工作。
Uncaught TypeError: o.widget is not a function
at mouse.min.js?ver=1.13.2:11:163
at mouse.min.js?ver=1.13.2:11:84
at mouse.min.js?ver=1.13.2:11:94
draggable.min.js?ver=1.13.2:11
Uncaught TypeError: P.widget is not a function
at draggable.min.js?ver=1.13.2:11:135
at draggable.min.js?ver=1.13.2:11:103
at draggable.min.js?ver=1.13.2:11:113
slider.min.js?ver=1.13.2:11
Uncaught TypeError: r.widget is not a function
at slider.min.js?ver=1.13.2:11:135
at slider.min.js?ver=1.13.2:11:103
at slider.min.js?ver=1.13.2:11:113
iris.min.js?ver=1.1.1:5
Uncaught TypeError: a.widget is not a function
at iris.min.js?ver=1.1.1:5:16724
at iris.min.js?ver=1.1.1:5:16808
color-picker.min.js?ver=6.3.1:2
Uncaught TypeError: i.widget is not a function
at color-picker.min.js?ver=6.3.1:2:3449
at color-picker.min.js?ver=6.3.1:2:3478
accordion.min.js?ver=1.13.2:11
Uncaught TypeError: h.widget is not a function
at accordion.min.js?ver=1.13.2:11:125
at accordion.min.js?ver=1.13.2:11:93
at accordion.min.js?ver=1.13.2:11:103
resizable.min.js?ver=1.13.2:11
Uncaught TypeError: z.widget is not a function
at resizable.min.js?ver=1.13.2:11:135
at resizable.min.js?ver=1.13.2:11:103
at resizable.min.js?ver=1.13.2:11:113
controlgroup.min.js?ver=1.13.2:9
Uncaught TypeError: r.widget is not a function
at controlgroup.min.js?ver=1.13.2:9:165
at controlgroup.min.js?ver=1.13.2:9:95
at controlgroup.min.js?ver=1.13.2:9:105
checkboxradio.min.js?ver=1.13.2:9
Uncaught TypeError: t.widget is not a function
at checkboxradio.min.js?ver=1.13.2:9:140
at checkboxradio.min.js?ver=1.13.2:9:95
at checkboxradio.min.js?ver=1.13.2:9:105
button.min.js?ver=1.13.2:11
Uncaught TypeError: o.widget is not a function
at button.min.js?ver=1.13.2:11:633
at button.min.js?ver=1.13.2:11:93
at button.min.js?ver=1.13.2:11:103
dialog.min.js?ver=1.13.2:11
Uncaught TypeError: l.widget is not a function
at dialog.min.js?ver=1.13.2:11:187
at dialog.min.js?ver=1.13.2:11:155
at dialog.min.js?ver=1.13.2:11:165
menu.min.js?ver=1.13.2:11
Uncaught TypeError: a.widget is not a function
at menu.min.js?ver=1.13.2:11:138
at menu.min.js?ver=1.13.2:11:106
at menu.min.js?ver=1.13.2:11:116
autocomplete.min.js?ver=1.13.2:11
Uncaught TypeError: o.widget is not a function
at autocomplete.min.js?ver=1.13.2:11:147
at autocomplete.min.js?ver=1.13.2:11:115
at autocomplete.min.js?ver=1.13.2:11:125
sortable.min.js?ver=1.13.2:11
Uncaught TypeError: u.widget is not a function
at sortable.min.js?ver=1.13.2:11:135
at sortable.min.js?ver=1.13.2:11:103
at sortable.min.js?ver=1.13.2:11:113
droppable.min.js?ver=1.13.2:11
Uncaught TypeError: a.widget is not a function
at droppable.min.js?ver=1.13.2:11:186
at droppable.min.js?ver=1.13.2:11:117
at droppable.min.js?ver=1.13.2:11:127
tabs.min.js?ver=1.13.2:11
Uncaught TypeError: l.widget is not a function
at tabs.min.js?ver=1.13.2:11:125
at tabs.min.js?ver=1.13.2:11:93
at tabs.min.js?ver=1.13.2:11:103
wpdialog.min.js?ver=6.3.1:2
Uncaught TypeError: e.widget is not a function
at wpdialog.min.js?ver=6.3.1:2:16
at wpdialog.min.js?ver=6.3.1:2:229
updates.min.js?ver=6.3.1:2
Uncaught TypeError: Cannot read properties of undefined (reading 'aysDeleteUninstall')
at HTMLAnchorElement.<anonymous> (updates.min.js?ver=6.3.1:2:28397)
at HTMLFormElement.dispatch (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:39997)
at v.handle (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:37968)
最后一个是...
updates.min.js?ver=6.3.1:2 Uncaught TypeError: Cannot read properties of undefined (reading 'aysDeleteUninstall')
...是因为在安装插件后尝试删除它。我尝试从主 WordPress 插件页面安装一个插件,但它没有显示任何内容,而且它也会引发错误。所以我必须手动上传并安装插件,但是一旦我想删除插件,它就会显示该错误。
尝试过的解决方案:
可能有一个简单的解决方案,我真的需要它。 预先感谢那些可以提供帮助的人。
干杯~
解决我的问题的简单方法是 PURGE CLOUDFLARE CACHE🤦