[英]Woocommerce cart problems and errors
So I am getting following error after trying to delete 所以尝试删除后出现以下错误
Warning: Cannot modify header information - headers already sent by (output started at /home/melkypie/public_html/index.php:2) in /home/melkypie/public_html/wp-includes/pluggable.php on line 1196
警告:无法修改标头信息-行1196上/home/melkypie/public_html/wp-includes/pluggable.php中已经发送过的标头(输出始于/home/melkypie/public_html/index.php:2)
This is the code around pluggable.php line 1196 `if ( ! $location ) return false; 这是关于pluggable.php第1196行的代码,如果if(!$ location)返回false;
$location = wp_sanitize_redirect($location);
if ( !$is_IIS && PHP_SAPI != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
header("Location: $location", true, $status);//Line 1196
return true;`
Also when I am not logged in with my admin account I cannot add products to my cart. 另外,当我未使用管理员帐户登录时,也无法将产品添加到购物车中。 It shows that the product has successfuly been added to the cart but when I go to there.
它表明该产品已成功添加到购物车,但是当我去那里时。 It shows that the cart is empty.
它表明购物车是空的。 I have checked the woocommerce system status and it is showing that everything is fine there Can anyone help me with it
我检查了woocommerce系统的状态,发现那里一切正常,有人可以帮我吗
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.