gpt4 book ai didi

Wordpress DIVI 主题 - 无法添加图像(Uncaught TypeError : Cannot read property 'replace' of undefined)

转载 作者:行者123 更新时间:2023-12-05 07:15:39 25 4
gpt4 key购买 nike

我很难理解发生了什么。一切都完美无缺。当我尝试使用 DIVI 视觉生成器添加或替换图像时,单击时没有任何反应。这是我在控制台中发现的:

    Uncaught TypeError: Cannot read property 'replace' of undefined
at Function.v.template (underscore.min.js?ver=1.8.3:1)
at i.template (wp-util.min.js?ver=5.3.2:1)
at i.render (wp-backbone.min.js?ver=5.3.2:1)
at i.attach (media-views.min.js?ver=5.3.2:1)
at i.open (media-views.min.js?ver=5.3.2:1)
at i.<computed> [as open] (media-views.min.js?ver=5.3.2:1)
at t._onClick (bundle.modals.c075dc5f.js:18)
at Object.Gg (react-dom.production.min.js?ver=16.7.0:155)
at Fg (react-dom.production.min.js?ver=16.7.0:13)
at Ig (react-dom.production.min.js?ver=16.7.0:13)
v.template @ underscore.min.js?ver=1.8.3:1
(anonymous) @ wp-util.min.js?ver=5.3.2:1
render @ wp-backbone.min.js?ver=5.3.2:1
attach @ media-views.min.js?ver=5.3.2:1
open @ media-views.min.js?ver=5.3.2:1
i.<computed> @ media-views.min.js?ver=5.3.2:1
_onClick @ bundle.modals.c075dc5f.js:18
Gg @ react-dom.production.min.js?ver=16.7.0:155
Fg @ react-dom.production.min.js?ver=16.7.0:13
Ig @ react-dom.production.min.js?ver=16.7.0:13
be @ react-dom.production.min.js?ver=16.7.0:15
Jg @ react-dom.production.min.js?ver=16.7.0:156
Ic @ react-dom.production.min.js?ver=16.7.0:15
Kc @ react-dom.production.min.js?ver=16.7.0:16
hh @ react-dom.production.min.js?ver=16.7.0:39
mg @ react-dom.production.min.js?ver=16.7.0:149
se @ react-dom.production.min.js?ver=16.7.0:23
Yb @ react-dom.production.min.js?ver=16.7.0:40
og @ react-dom.production.min.js?ver=16.7.0:150
Te @ react-dom.production.min.js?ver=16.7.0:40

我尝试但没有帮助我的事情:

  • 清除缓存
  • 更换浏览器
  • 禁用 divi 的 js 和 css 缩小功能
  • 将 divi 回滚到旧版本
  • 更改php版本(7.3实际版本)

在最新版本的 wordpress v5.3.2 上运行。我的选择不多了。任何建议都会有所帮助。谢谢!

最佳答案

作为旁注,当我遇到这个问题时,最终被追踪到全局页脚中一些格式不正确的 javascript 代码。

关于Wordpress DIVI 主题 - 无法添加图像(Uncaught TypeError : Cannot read property 'replace' of undefined),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59556470/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com