php - 无法使用 elementor 在购物车模板中加载预览
问题描述
我在 elementor 中添加了 cartflow 模板。当我尝试编辑购物车流程模板时,它显示无法加载预览。单击预览调试后,它显示:
json_decode() 期望参数 1 是字符串,给定数组
如果我启用安全模式,它会重定向到发布编辑页面。我尝试一一重新激活主题和插件,但这并没有解决问题。
/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined index: data [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
elementor/includes/template-library/manager.php::238] Undefined index: types_data [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
解决方案
推荐阅读
- jenkins - Jenkins git commit 使用变量
- json - 有没有办法可以阻止默认图标出现并阻止它被单击?
- java - Selenium 中的异常处理
- python - 如何使用烧瓶从 JSON webhook 获取单个键的值列表?
- c++ - 如何对齐 HeapAlloc
- javascript - 如何在每次更改时更改 javascript 中的字体宽度
- python-3.x - 将使用 pip 安装的站点包/模块从较旧版本的 python 迁移到较新/最新版本的 python
- java - 当主题有多个分区时,KTable-KTable 外键连接不会产生所有消息
- latex - 如何在 Pandoc PDF 输出中正确呈现包含的 LaTeX?
- azure-functions - 通过守护进程创建 Microsoft Teams 组