WordPressにてwoocommerce-table-rate-shippingのプラグインを入れたところ、下記のWarningが表示されました。
array_unique() expects parameter 1 to be array, null given in wp-content/plugins/woocommerce-table-rate-shipping/woocommerce-table-rate-shipping.php on line 2238
in_array() expects parameter 2 to be array, null given in /wp-content/plugins/woocommerce-table-rate-shipping/woocommerce-table-rate-shipping.php on line 2243
lang
1foreach( $_available_methods as $key => $value ) 2 $shipping_methods[] = $value->method_id; 3$shipping_methods = array_unique( $shipping_methods );
$shipping_methodsにnullが入ってしまっているのが原因なのかなと思っておりますが、
対処法が分かりません…
WordPressにログイン状態で、サイト確認(商品をカートに入れ、カートの中身を確認)をすると、問題無く表示されます。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。