首页 > 解决方案 > 无法使用 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()
',
)]

标签: phpwordpresswoocommercepluginsthemes

解决方案


推荐阅读