wordpress - WordPress 自定义页面不显示
问题描述
当我尝试访问我的 WordPress 项目上的自定义页面时,我收到一个错误。禁用Redux plugin后错误消失。问题是,我真的需要项目中的 redux 插件,因为许多其他插件都依赖于它。下面的错误
Fatal error: Uncaught TypeError: Argument 3 passed to Redux_Extension_Customizer::add_section()
must be an instance of object, instance of WP_Customize_Manager given,
called in C:\laragon\www\church-site\wp-content\plugins\redux-framework\redux-core\inc\extensions\customizer\class-redux-extension-customizer.php on line 411
and defined in C:\laragon\www\church-site\wp-content\plugins\redux-framework\redux-core\inc\extensions\customizer\class-redux-extension-customizer.php:574
Stack trace:
#0 C:\laragon\www\church-site\wp-content\plugins\redux-framework\redux-core\inc\extensions\customizer\class-redux-extension-customizer.php(411): Redux_Extension_Customizer->add_section('redux_demo-mt_g...', Array, Object(WP_Customize_Manager))
#1 C:\laragon\www\church-site\wp-includes\class-wp-hook.php(303): Redux_Extension_Customizer->register_customizer_controls(Object(WP_Customize_Manager))
#2 C:\laragon\www\church-site\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#3 C:\laragon\www\church-site\wp-includes\plugin.php(470): WP_Hook->do_action(Array)
#4 in C:\laragon\www\church-site\wp-content\plugins\redux-framework\redux-core\inc\extensions\customizer\class-redux-extension-customizer.php on line 574
解决方案
推荐阅读
- android - Xamarin Android 阻止后台应用 toast 显示
- javascript - 有没有一种方法可以让“React Redux”提供者和消费者混合使用 - React 和非 React (Riot) 应用程序?
- python - 如果多个列上的条件,熊猫数据框中的新列无法获得预期值基础
- python - 如何在 Python3 中实现 Javascript String.fromCharCode 以接受减号
- hibernate - Hibernate:为什么 createAll(Batch Inserts) in Loop 创建问题,而 create 执行良好?
- javascript - Unity 比例不适用于从 3DSMAX 导入的模型
- snowflake-cloud-data-platform - 已打开的工作簿已被 Snowflake 刷新
- javascript - 用 css 单位计算表达式
- c# - XmlRpcResponse 序列化到 c# 对象
- android - 将活动“如登录页面”中的数据传递到选项卡式片段