首页 > 解决方案 > 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';
...

请帮助我。我试图从过去几天解决。

标签: phpwordpresswoocommercee-commercewoocommerce-rest-api

解决方案


推荐阅读