バージョン選択

フォーラム

メニュー

オンライン状況

76 人のユーザが現在オンラインです。 (67 人のユーザが フォーラム を参照しています。)
登録ユーザ: 1
ゲスト: 75
tonos もっと...

サイト内検索

質問 > フロント機能 > (訂正)Invalid argument supplied for foreach() が warningが出る

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
yosako
投稿日時: 2013/7/29 18:14
対応状況: −−−
一人前
登録日: 2011/12/3
居住地:
投稿: 101
(訂正)Invalid argument supplied for foreach() が warningが出る
2.12.5ですが、前回の「Warning:従来互換用の HTTP_Request が読み込まれました を止めたい」の問題が解決したと思ったら、決済時にWarning(E_WARNING): Invalid argument supplied for foreach() が出ていることがわかりました。

Warningなので、決済自体は完了します。

そのエラーログを添付します。

2013/07/29 17:25:25 [/shopping/payment.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(300)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:25 [/shopping/payment.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/pages/shopping/LC_Page_Shopping_Payment.php(286)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:34 [/shopping/payment.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(300)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:34 [/shopping/payment.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/pages/shopping/LC_Page_Shopping_Payment.php(286)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:34 [/shopping/payment.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/pages/shopping/LC_Page_Shopping_Payment.php(350)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:34 [/shopping/confirm.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(300)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:34 [/shopping/confirm.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(368)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:38 [/shopping/confirm.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(300)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:38 [/shopping/confirm.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(368)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:38 [/shopping/confirm.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(300)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:38 [/shopping/confirm.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(84)] from xxx.xxx.xxx.xxx
2013/07/29 17:25:38 [/shopping/confirm.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/xxxxx/public_html/data/class/helper/SC_Helper_Purchase.php(732)] from xxx.xxx.xxx.xxx

ダウンロード商品の販売なのですが、SC_Helper_Purchase.phpの300, 368行をみると、配送先や配送先都道府県を返すところで出ているようです。LC_Page_Shopping_Payment.phpの286, 350行では、お届け時間のパラメータ初期化と配送情報保存のようなのです。

これは何が原因かヒントでもあれば教えてください。

フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
 » (訂正)Invalid argument supplied for foreach() が warningが出る yosako 2013/7/29 18:14
     Re: PayPal決済でwarningが出る shutta 2013/7/29 19:55
       (訂正)Invalid argument supplied for foreach() が warningが出る yosako 2013/7/30 9:52

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,301名です
総投稿数は109,692件です

投稿数ランキング

1
seasoft
7365
2
468
3217
3
AMUAMU
2712
4
nanasess
2303
5
umebius
2085
6
yuh
1818
7
h_tanaka
1610
8
red
1568
9
mcontact
1240
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
796
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.