我在上传图片和更改WooCommerce类别上的图片时遇到问题

时间:2020-09-21 08:09:48

标签: wordpress woocommerce

点击按钮后,我无法单击上传按钮,并且出现此错误

media-models.min.js?ver=5.5.1:2 
Uncaught TypeError: Cannot read property 'defaults' of undefined
    at Object.wp.media (media-models.min.js?ver=5.5.1:2)
    at HTMLButtonElement.<anonymous> (edit-tags.php?taxonomy=product_cat&post_type=product:444)
    at HTMLDocument.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=5.5.1:3)
    at HTMLDocument.r.handle (load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=5.5.1:3)
wp.media @ media-models.min.js?ver=5.5.1:2
(anonymous) @ edit-tags.php?taxonomy=product_cat&post_type=product:444
dispatch @ load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=5.5.1:3
r.handle @ load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=5.5.1:3

0 个答案:

没有答案