-1

每当我尝试在 wordpress 中使用 elementor 编辑我的主页时。它说

The site is experiencing technical difficulties. 
Please check your site admin email inbox for instructions.

我联系了我的主机提供商,但他们无法解决此问题 他们向我提供了此代码并说错误与您的 woocommerce 插件有关 我还删除了该插件并再次安装了它,但同样的情况发生了

[02-Aug-2019 07:28:19 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_cart() on null in /home/hazaraxp/public_html/wp-content/plugins/woocommerce-quick-buy/includes/common-functions.php:50
Stack trace:
#0 /home/hazaraxp/public_html/wp-content/plugins/woocommerce-quick-buy/includes/class-frontend.php(120): wc_qb_product_in_cart(269)
#1 /home/hazaraxp/public_html/wp-content/plugins/woocommerce-quick-buy/includes/class-quick-buy-auto-add.php(83): WooCommerce_Quick_Buy_FrontEnd->generate_button(Array)
#2 /home/hazaraxp/public_html/wp-includes/class-wp-hook.php(286): WooCommerce_Quick_Buy_Auto_Add->add_shop_quick_buy_button('')
#3 /home/hazaraxp/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /home/hazaraxp/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#5 /home/hazaraxp/public_html/wp-content/plugins/woocommerce/templates/content-product.php(65): do_action('woocommerce_aft...')
#6 /home/hazaraxp/public_html/wp-includes/template.php(724): require('/home/hazaraxp/...')
#7 /home/ha in /home/hazaraxp/public_html/wp-content/plugins/woocommerce-quick-buy/includes/common-functions.php on line 50
4

1 回答 1

0

存在未正确设置的问题或错误修改 WordPress 内部对象缓存的插件(这基本上是无操作)。这也可以由您的主机配置。

尝试禁用所有插件以查看是否仍然发生这种情况。

不过,您的 Woo Sync 错误完全不同。如果需要,您应该在单独的线程中询问。

谢谢 !!

于 2019-08-06T06:31:45.907 回答