2017-04-14 74 views
1

我的woocommerce商店结账页面上收到500错误页面。我注意到,当车是空的,没有错误,只有当我添加的产品在它Wordpress/Woocommerce结账页面500错误

地址为https://www.belizajec.si/webshop/checkout/

当调试模式启用我得到这个错误

Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Translator For Header" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/apartkri/public_html/webshop/wp-includes/functions.php on line 4137 

Fatal error: Class 'WC_Gateway_Paypal' not found in /home/apartkri/public_html/webshop/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php on line 105 

感谢

+0

请在wp-config.php中启用WP_DEBUG并在此发布任何错误代码。 –

+0

我更新了该页面上的错误问题。我还注意到,当我尝试打开W​​oocommerce设置页面时,出现同样的错误消息 –

回答

1

你有没有更新到WooCommerce 3.0?确保您使用的主题与WooCommerce 3.0兼容。如果它是您用于PayPal的插件,请先禁用它,然后查看是否是导致问题的插件。

似乎有些不兼容。

+0

我还没有更新到Woo 3,但问题是我现在无法访问Woo设置页面,同样的错误消息出现。我确实有“Braintree For WooCommerce Pro”插件,但是在我禁用它之后,问题仍然存在 –

+0

尝试手动重新上传WooCommerce。也许文件包含失踪?先前版本的第2版,网址为https://downloads.wordpress.org/plugin/woocommerce.2.6.14.zip。也可以尝试通过将wp-content/plugins /重命名为wp-content/plugins-old /等来禁用所有其他插件。尽管做了备份。 –

0

这似乎是插件/主题冲突问题,说实话不能直接判断。

不过,也有你可以遵循一些主要步骤,如下: -

  1. 禁用所有插件,除了 “Woocommerce”
  2. 激活WordPress的默认主题

该检查通过后遵循相同的程序。

让我知道如果我能帮助您进一步...

+0

做了所有这一切,问题仍然存在 –

+0

正如已经说过,很难判断问题。你能否让我看看你的系统进一步检查问题? – WildProgrammers

1

OK,问题是由重新上传服务器上超过现有文件中的所有文件Woocommerce解决。