質問 > フロント機能 > (訂正)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 |