php - Woocommerce 插件与主题冲突
问题描述
我是 Wordpress 的新手。我正在尝试包含信用卡和 PayPal 支付网关的插件。所以我安装了 Woocommerce。安装后当我尝试激活它时显示以下错误。下面的错误我进入我的电子邮件。
WordPress version 5.4.1
Current theme: (version )
Current plugin: (version )
PHP version 7.2.19-5+bionic
Error Details =============
An error of type E_COMPILE_ERROR was caused in line 739 of the file /var/www/html/wp-
content/themes/../woo-functions.php. Error message: require(): Failed opening required
'/var/www/html/wp-content/themes/../widget/vnt-woo-filter-price.php' (include_path='.:')
我检查了第 739 行的 woo-functions.php 是否包含以下代码:
...
require get_template_directory() . '/widget/vnt-woo-filter-price.php';
...
请帮助我。我试图从过去几天解决。
解决方案
推荐阅读
- google-chrome - 元素点击被拦截:元素在该点不可点击..其他元素将收到点击
- python - Python Selenium 在哪个 iframe 中?
- ringcentral - 参数 [extensionId] 问题
- flutter - 我想在颤动中更改焦点 otp 文本字段的单个元素的颜色
- macos - :cached 和 :delegated 在 OSX 中挂载的卷性能
- javascript - 如何在 selenium java 中设计一个逻辑以根据问题在 2 个不同的路径之间切换
- c - FreeType 颜色渲染 FT_Load_Glyph 返回“未实现的功能”
- wpf - 将 XML 输入 XAML/PowerShell WPF 表单
- python - 拆分 Pandas 数据框
- cucumber - 黄瓜标签:类型不匹配:无法从 String[] 转换为 String