バージョン選択

フォーラム

メニュー

オンライン状況

42 人のユーザが現在オンラインです。 (33 人のユーザが フォーラム を参照しています。)
登録ユーザ: 2
ゲスト: 40
red onx_it もっと...

サイト内検索

プラグイン > バグ報告・利用に関する質問 > クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合

バグ報告・利用に関する質問

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
maron_mnt
投稿日時: 2020/5/1 12:01
対応状況: −−−
新米
登録日: 2020/5/1
居住地:
投稿: 10
クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
▼テンプレート
[EC-CUBE] 3.0.16
[レンタルサーバ] x-server
[OS] Linux sv7481.xserver.jp 4.4.0-169-generic #198-Ubuntu SMP Tue Nov 12 10:38:00 UTC 2019 x86_64
[PHP] 7.3.14
[データベース] MySQL 5.7.27
[WEBサーバ] Apache
[ブラウザ] Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36
[導入プラグインの有無] クロネコヤマト カード・後払い一体型決済モジュール 会員登録後に注文画面へ移動するプラグイン(3.0系) PAGE TOP プラグイン 配送伝票番号プラグイン おすすめ商品管理プラグイン 最近チェックした商品
[カスタマイズの有無] xserver簡単インストールにてインストール、脆弱性対応済み
[現象] クロネコヤマト カード・後払い一体型決済サービス(3系)にてクレジットカード、コンビニ決済など当プラグインを使用した決済完了後、商品購入完了ページに移行する際に500 Internal Server Errorが発生します。
その状態から再読み込みを行うとeccubeからシステムエラーの画面に移り、トップページへ移行するとHPが一部分しか表示されなくなります。おそらく下記部分がエラーが出ている部分のログかと思います。

[2020-05-01 11:18:49,422576] eccube.WARNING [NULL] [0de72135] [NULL] [Application:loadPlugin:993] - Service provider class for plugin OrderStatusColor not exists. {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"} [GET, /shop/?utm_source=yahoo&utm_medium=cpc&utm_campaign=YSL_%E8%8C%B6%E9%81%93%E5%85%B7&utm_content=eyJpdiI6Ik1nK280bEp0VmlNSGJKdXlVN0tQaXc9PSIsInZhbHVlIjoiNzlON1plNW5vMlljRDJPM3JqWmZCUEtEaUtleGNjbzZGaHhFTG0wSWg3YjJvcXNJbENNSEhaM3kyaXJsN0lHeVhnZklBdkhweSt1cFF5QlhWXC9TaGFBPT0iLCJtYWMiOiI2Y2FlOWViOWJkMTE1NGI5MDM5YjFmMWUwNzAxODZkMzAxZGFlYzdhMzFhNWVmNDA3MWNhMTkzOTNlODZmNGFkIn0=__shirofune__:1856382361:68210583045:kwd-316417159:421448415574:c&utm_term=%E8%8C%B6%E9%81%93&yclid=YSS.1001073847.EAIaIQobChMIyPTV_8aR6QIVzdaWCh2tuQj9EAEYASAAEgJllfD_BwE, 153.221.97.207, https://search.yahoo.co.jp/, Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko]
[2020-05-01 11:18:12,468076] eccube.INFO [aea47624] [e11c64f4] [1] [LogListener:logResponse:94] - < 302 https://www.xxxxxx/shopping/complete [POST, /shop/shopping/yamato_payment?mode=3dTran, 121.117.244.64, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:18:10,983354] eccube.INFO [aea47624] [e11c64f4] [1] [LogListener:logRequest:83] - > POST /shop/shopping/yamato_payment?mode=3dTran [POST, /shop/shopping/yamato_payment?mode=3dTran, 121.117.244.64, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:18:10,965524] eccube.INFO [NULL] [e11c64f4] [NULL] [RouterListener:onKernelRequest:145] - Matched route "yamato_shopping_payment". {"route_parameters":{"_controller":"\\Plugin\\YamatoPayment\\Controller\\PaymentController::index","_route":"yamato_shopping_payment"},"request_uri":"https://www.xxxxxx/shopping/yamato_payment?mode=3dTran"} [POST, /shop/shopping/yamato_payment?mode=3dTran, 121.117.244.64, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:18:10,954372] eccube.WARNING [NULL] [e11c64f4] [NULL] [Application:loadPlugin:993] - Service provider class for plugin OrderStatusColor not exists. {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"} [POST, /shop/shopping/yamato_payment?mode=3dTran, 121.117.244.64, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:18:03,755709] eccube.INFO [aea47624] [546a9cc3] [1] [LogListener:logResponse:96] - < 200 [POST, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping/yamato_payment, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:18:00,998315] eccube.INFO [aea47624] [546a9cc3] [1] [LogListener:logRequest:83] - > POST /shop/shopping/yamato_payment [POST, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping/yamato_payment, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:18:00,975371] eccube.INFO [NULL] [546a9cc3] [NULL] [RouterListener:onKernelRequest:145] - Matched route "yamato_shopping_payment". {"route_parameters":{"_controller":"\\Plugin\\YamatoPayment\\Controller\\PaymentController::index","_route":"yamato_shopping_payment"},"request_uri":"https://www.xxxxxx/shopping/yamato_payment"} [POST, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping/yamato_payment, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:18:00,961722] eccube.WARNING [NULL] [546a9cc3] [NULL] [Application:loadPlugin:993] - Service provider class for plugin OrderStatusColor not exists. {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"} [POST, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping/yamato_payment, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:45,356560] eccube.INFO [aea47624] [668981a9] [1] [LogListener:logResponse:96] - < 200 [GET, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:45,182113] eccube.INFO [aea47624] [668981a9] [1] [RouterListener:onKernelRequest:145] - Matched route "block_checkeditem". {"route_parameters":{"_controller":"\\Plugin\\CheckedItem\\Controller\\CheckedItemController::index","_route":"block_checkeditem"},"request_uri":"https://www.xxxxxx/block/checkeditem"} [GET, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:45,127496] eccube.INFO [aea47624] [668981a9] [1] [LogListener:logRequest:83] - > GET /shop/shopping/yamato_payment [GET, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:45,110626] eccube.INFO [NULL] [668981a9] [NULL] [RouterListener:onKernelRequest:145] - Matched route "yamato_shopping_payment". {"route_parameters":{"_controller":"\\Plugin\\YamatoPayment\\Controller\\PaymentController::index","_route":"yamato_shopping_payment"},"request_uri":"https://www.xxxxxx/shopping/yamato_payment"} [GET, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:45,102194] eccube.WARNING [NULL] [668981a9] [NULL] [Application:loadPlugin:993] - Service provider class for plugin OrderStatusColor not exists. {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"} [GET, /shop/shopping/yamato_payment, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:45,034406] eccube.INFO [aea47624] [db0501fe] [NULL] [LogListener:logResponse:94] - < 302 https://www.xxxxxx/shopping/yamato_payment [POST, /shop/shopping/confirm, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:44,957724] eccube.INFO [NULL] [db0501fe] [NULL] [RouterListener:onKernelRequest:145] - Matched route "shopping_confirm". {"route_parameters":{"_controller":"\\Eccube\\Controller\\ShoppingController::confirm","_route":"shopping_confirm"},"request_uri":"https://www.xxxxxx/shopping/confirm"} [POST, /shop/shopping/confirm, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-01 11:16:44,947763] eccube.WARNING [NULL] [db0501fe] [NULL] [Application:loadPlugin:993] - Service provider class for plugin OrderStatusColor not exists. {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"} [POST, /shop/shopping/confirm, 121.117.244.64, https://www.xxxxxx/shopping, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]

また、デバッグモードにて確認するとクロネコヤマト カード・後払い一体型決済サービス(3系)プラグインに移ったページ(確認したのはカード決済選択時のカード入力画面)の時点でエラーになってしまいました。デバッグモードでない場合には正常にカード情報入力から手続きが完了し、上記の状態になります。こちらは以下のように表示されます

in RegistCreditType.php line 132
at ErrorHandler->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', '/xxxxx/app/Plugin/YamatoPayment/Form/Type/RegistCreditType.php', '132', array('event' => object(FormEvent), 'builder' => object(FormBuilder), 'app' => object(Application), 'registcard_list' => null, 'form' => object(Form)))
at count(null) in RegistCreditType.php line 132
at RegistCreditType->Plugin\YamatoPayment\Form\Type\{closure}(object(FormEvent), 'form.post_set_data', object(EventDispatcher))
at call_user_func(object(Closure), object(FormEvent), 'form.post_set_data', object(EventDispatcher)) in EventDispatcher.php line 161
at EventDispatcher->doDispatch(array(array(object(DataCollectorListener), 'postSetData'), object(Closure)), 'form.post_set_data', object(FormEvent)) in EventDispatcher.php line 46
at EventDispatcher->dispatch('form.post_set_data', object(FormEvent)) in ImmutableEventDispatcher.php line 43
at ImmutableEventDispatcher->dispatch('form.post_set_data', object(FormEvent)) in Form.php line 391
at Form->setData(null) in Form.php line 490
at Form->initialize() in FormBuilder.php line 226
at FormBuilder->getForm() in PaymentController.php line 183
at PaymentController->creditProcess(object(Order), object(Application), object(Request)) in PaymentController.php line 101
at PaymentController->index(object(Application), object(Request))
at call_user_func_array(array(object(PaymentController), 'index'), array(object(Application), object(Request))) in HttpKernel.php line 144
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 64
at HttpKernel->handle(object(Request), '1', true) in Application.php line 586
at Application->handle(object(Request)) in Application.php line 563
at Application->run() in index_dev.php line 111

当方プログラム的なことが全く分からないために手の打ちようがありません。どうぞ皆様のお力をお貸しください。よろしくお願いいたします。
468
投稿日時: 2020/5/4 10:25
対応状況: −−−
登録日: 2008/10/26
居住地:
投稿: 3217
Re: クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
OrderStatusColor not exists
というエラーが出ている事から
mtb_order_status_colorテーブルの内容がおかしくなっているのかもしれません。
(もしかしたらプラグインが受注ステータスを追加しているのかもしれませんが)
ただ、気になるのは\Plugin\\OrderStatusColorでエラーが起きているようですのでクロネコヤマトの問題が解決できるか分かりません。
(プラグインを組み合わせた時だけ起こるエラーかもしれません)

とりあえず管理画面の設定>システム情報設定>マスターデータ管理の画面で
mtb_order_status_color
mtb_customer_order_status
mtb_order_status
のデータ件数が一致しているかどうか?
IDが揃っているかどうか?
を確認されてみては如何でしょうか?

あくまで予想ですがエラーログの状況から
mtb_customer_order_status
mtb_order_status
に比べて
mtb_order_status_color
の内容が少ないのではないでしょうか?

あと、デバッグモードで発生するエラーはログが
in RegistCreditType.php line 132
から始まっており、原因はその上に出力されていたのではないかと思いますのでこちらの情報ではよく分かりません。


----------------
株式会社シロハチ
■ECCUBE2系、3系構築カスタマイズご相談ください。
EC-CUBE3マニュアル
blog

maron_mnt
投稿日時: 2020/5/4 14:59
対応状況: −−−
新米
登録日: 2020/5/1
居住地:
投稿: 10
Re: クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
ご返信ありがとうございます。マスターデータの件ですが、確かにおっしゃられるとおりに件数が1件足りませんでした。修正いたしましたが、やはり不具合は改善されませんでした。

改めて調査を行ったところ、以下のようなログが見つかりました。問題点はこちらだったようです。申し訳ございません。

[2020-05-04 14:30:14,248743] eccube.INFO [63118482] [a67fb60a] [2] [LogListener:logResponse:96] - < 200 [GET, /shop/xxxxx/setting/system/log, xxx.xxx.xxx.xxx, https://xxxxx/xxxxx/setting/system/masterdata/Eccube-Entity-Master-OrderStatusColor/edit, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:14,191058] eccube.INFO [63118482] [a67fb60a] [2] [LogListener:logRequest:83] - > GET /shop/xxxxx/setting/system/log [GET, /shop/xxxxx/setting/system/log, xxx.xxx.xxx.xxx, https://xxxxx/xxxxx/setting/system/masterdata/Eccube-Entity-Master-OrderStatusColor/edit, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:14,182606] eccube.INFO [NULL] [a67fb60a] [NULL] [RouterListener:onKernelRequest:145] - Matched route "admin_setting_system_log". {"route_parameters":{"_controller":"\\Eccube\\Controller\\Admin\\Setting\\System\\LogController::index","_route":"admin_setting_system_log"},"request_uri":"https://xxxxx/xxxxx/setting/system/log"} [GET, /shop/xxxxx/setting/system/log, xxx.xxx.xxx.xxx, https://xxxxx/xxxxx/setting/system/masterdata/Eccube-Entity-Master-OrderStatusColor/edit, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:14,081404] eccube.WARNING [NULL] [a67fb60a] [NULL] [Application:loadPlugin:993] - Service provider class for plugin OrderStatusColor not exists. {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"} [GET, /shop/xxxxx/setting/system/log, xxx.xxx.xxx.xxx, https://xxxxx/xxxxx/setting/system/masterdata/Eccube-Entity-Master-OrderStatusColor/edit, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:09,508041] eccube.INFO [63118482] [1cc71bb4] [NULL] [LogListener:logResponse:96] - < 500 [GET, /shop/shopping/complete, xxx.xxx.xxx.xxx, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:09,505573] eccube.CRITICAL [63118482] [1cc71bb4] [NULL] [LogListener:logException:112] - Doctrine\ORM\ORMException: The identifier id is missing for a query of Eccube\Entity\Order (uncaught exception) at /xxxxx/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 259 {"exception":"[object] (Doctrine\\ORM\\ORMException(code: 0): The identifier id is missing for a query of Eccube\\Entity\\Order at /xxxxx/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:259)"} [GET, /shop/shopping/complete, xxx.xxx.xxx.xxx, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:09,455650] eccube.INFO [63118482] [1cc71bb4] [NULL] [LogListener:logRequest:83] - > GET /shop/shopping/complete [GET, /shop/shopping/complete, xxx.xxx.xxx.xxx, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:09,450813] eccube.INFO [NULL] [1cc71bb4] [NULL] [RouterListener:onKernelRequest:145] - Matched route "shopping_complete". {"route_parameters":{"_controller":"\\Eccube\\Controller\\ShoppingController::complete","_route":"shopping_complete"},"request_uri":"https://xxxxx/shopping/complete"} [GET, /shop/shopping/complete, xxx.xxx.xxx.xxx, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]
[2020-05-04 14:30:09,440146] eccube.WARNING [NULL] [1cc71bb4] [NULL] [Application:loadPlugin:993] - Service provider class for plugin OrderStatusColor not exists. {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"} [GET, /shop/shopping/complete, xxx.xxx.xxx.xxx, https://tdpa.nekonet.ne.jp/tk/3d_auth_res, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36]


後者のデバッグモードのエラーのログはこちらでしたでしょうか?

INFO - skip AnywhereProductInfo event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/AnywhereProductInfo/event.yml"}
INFO - skip ProductMetaCsv event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/ProductMetaCsv/event.yml"}
INFO - skip Recommend event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/Recommend/event.yml"}
INFO - skip SalesReport event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/SalesReport/event.yml"}
INFO - skip Securitychecker3 event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/Securitychecker3/event.yml"}
INFO - skip Shiro8NewProductBlock3 event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/Shiro8NewProductBlock3/event.yml"}
INFO - skip AnywhereProductInfo event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/AnywhereProductInfo/event.yml"}
INFO - skip ProductMetaCsv event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/ProductMetaCsv/event.yml"}
INFO - skip Recommend event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/Recommend/event.yml"}
INFO - skip SalesReport event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/SalesReport/event.yml"}
INFO - skip Securitychecker3 event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/Securitychecker3/event.yml"}
INFO - skip Shiro8NewProductBlock3 event.yml not found.
Context: {"path":"/xxxxx/app/Plugin/Shiro8NewProductBlock3/event.yml"}
WARNING - Service provider class for plugin OrderStatusColor not exists.
Context: {"class":"\\Plugin\\OrderStatusColor\\ServiceProvider\\ServiceProvider"}
INFO - INIT
INFO - Matched route "yamato_shopping_payment".
Context: {"route_parameters":{"_controller":"\\Plugin\\YamatoPayment\\Controller\\PaymentController::index","_route":"yamato_shopping_payment"},"request_uri":"https://www.kuriyamaen.jp/shop/index_dev.php/shopping/yamato_payment"}
INFO - PROCESS START
Context: ["yamato_shopping_payment"]
INFO - > GET /shop/index_dev.php/shopping/yamato_payment
INFO - LOGIC START
Context: ["yamato_shopping_payment"]
ERROR - Symfony\Component\Debug\Exception\ContextErrorException: Warning: count(): Parameter must be an array or an object that implements Countable (uncaught exception) at /xxxxx/app/Plugin/YamatoPayment/Form/Type/RegistCreditType.php line 132
Context: {"exception":"Exception(Symfony\\Component\\Debug\\Exception\\ContextErrorException): Warning: count(): Parameter must be an array or an object that implements Countable"}
CRITICAL - Symfony\Component\Debug\Exception\ContextErrorException: Warning: count(): Parameter must be an array or an object that implements Countable (uncaught exception) at /xxxxx/app/Plugin/YamatoPayment/Form/Type/RegistCreditType.php line 132
Context: {"exception":"Exception(Symfony\\Component\\Debug\\Exception\\ContextErrorException): Warning: count(): Parameter must be an array or an object that implements Countable"}
INFO - LOGIC END
Context: ["yamato_shopping_payment"]
INFO - < 500
INFO - PROCESS END
Context: ["yamato_shopping_payment"]

何度もお手を煩わせて申し訳ありません。どうぞご教示くださいますようお願い申し上げます。
468
投稿日時: 2020/5/4 16:14
対応状況: −−−
登録日: 2008/10/26
居住地:
投稿: 3217
Re: クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
[2020-05-04 14:30:09,505573] eccube.CRITICAL [63118482] [1cc71bb4] [NULL] [LogListener:logException:112] - Doctrine\ORM\ORMException: The identifier id is missing for a query of Eccube\Entity\Order (uncaught exception) at /xxxxx/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 259 {"exception":"[object] (Doctrine\\ORM\\ORMException(code: 0): The identifier id is missing for a query of Eccube\\Entity\\Order at /xxxxx/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:259)"} [GET, /shop/shopping/complete,

の部分ですが、指定したIDのOrderが見つからない、というような意味のエラーだと思うのですが
注文完了ページに何かカスタマイズを加えていますか?
例えばコンバージョン測定用のタグの為に注文データをtwigに渡している等。

デバッグモードのエラーは
/xxxxx/app/Plugin/YamatoPayment/Form/Type/RegistCreditType.php line 132で
count()関数を利用している箇所があり、そこで渡される引数が何らかの理由でnullになっているのではないでしょうか?

相変わらず
Service provider class for plugin OrderStatusColor not exists.
のエラーも出ているようですので、一度、\\Plugin\\OrderStatusColorのプラグインを無効にされてみては如何でしょうか?

2つのプラグインのログが混在しているような状況では問題の切り分けが難しいと思います。
プラグイン単体では問題無く動作しても、同時に有効化すると動かないといった事例もありますので。


----------------
株式会社シロハチ
■ECCUBE2系、3系構築カスタマイズご相談ください。
EC-CUBE3マニュアル
blog

maron_mnt
投稿日時: 2020/5/4 17:39
対応状況: −−−
新米
登録日: 2020/5/1
居住地:
投稿: 10
Re: クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
物をよく知らない素人のお相手をしていただいて本当にありがとうございます。問題の切り分けもなかなかできなくご迷惑をおかけしていると思いますが本当にすみません。

注文完了ページを含めてすべてのページに広告計測用のタグとGoogle analyticsの計測用タグを設定してありましたので、こちらと問題のOrderStatusColorを省いた後にテストしてみましたがやはりだめでした…。エラーの内容も同じです。

問題のORMException.phpの259行目は以下の行かと思います。こちらには一切手を加えておりません。

public static function missingIdentifierField($className, $fieldName)

デバッグモードのエラーについてのRegistCreditType.phpの132行はif(countで始まる以下の行です。こちらも特に手を加えてはいません。

if (count($registcard_list) == $app['config']['YamatoPayment']['const']['CREDIT_SAVE_LIMIT']) {
$form->add('register_card', 'checkbox', array(
'label' => ' このカードを登録する',
'required' => false,
'disabled' => true,
));

プラグインの競合の問題に関しましては今後メンテナンス日を設けてチェックしたいと思います…。ご返信誠にありがとうございます。
468
投稿日時: 2020/5/5 11:06
対応状況: −−−
登録日: 2008/10/26
居住地:
投稿: 3217
Re: クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
手元にクロネコヤマトカード・後払い一体型決済プラグインのソースがあり、少し調べてみました。

まず、デバッグモードでWarningが表示される件ですが、
以下のリンク先と同じでPHP7.2以降のcount()関数に関する仕様変更が原因かと思います。
https://qiita.com/masaki-ogawa/items/1671d110b2286ececd09

カード情報をクロネコ側で3件まで預かる機能があるようで
RegistCreditType.phpの132行では既に預かっている件数の上限を判定しているようですが
未登録の場合、$registcard_list=NULLで処理が進むようで
PHP7.2未満のバージョンではcount(NULL)は0と処理されていたのですが
仕様変更に伴い、Warningを出すようになったようです。
以下のように$registcard_listに対してNULLかどうかの判定を追加すればWarningは解消されるのではないかと思います。
if ($registcard_list && count($registcard_list) == $app['config']['YamatoPayment']['const']['CREDIT_SAVE_LIMIT']) {

あと、上記の件で気が付いたのですがPHPのバージョンを7.3で構築されているようですが
もしかしたらPHPのバージョンが原因で決済も完了しないのではないでしょうか?
3系は動作確認が7.1で行われていると思いますので
一旦、PHP7.1に変更されたほうが良いのではないかと思います。
XserverはサーバのコントロールパネルでPHPのバージョンをいくつか切り替える事が出来たのではないかと思います。
PHPのバージョンを7.1にされるのであれば、上記デバッグモードのエラーに対応するif文の変更は不要かと思います。


----------------
株式会社シロハチ
■ECCUBE2系、3系構築カスタマイズご相談ください。
EC-CUBE3マニュアル
blog

maron_mnt
投稿日時: 2020/5/5 12:05
対応状況: −−−
新米
登録日: 2020/5/1
居住地:
投稿: 10
Re: クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
いろいろと調べていただきまして誠にありがとうございました。PHPのバージョンを7.1に設定したところ無事正常に作動することを確認いたしました。本当にありがとうございました。これを機に自分もPHPを勉強してみようと思いました。お手数おかけしました。長々とお付き合いいただきありがとうございます。
468
投稿日時: 2020/5/5 21:52
対応状況: −−−
登録日: 2008/10/26
居住地:
投稿: 3217
Re: クロネコヤマト カード・後払い一体型決済サービス(3系)の不具合
多分、プラグイン自体がPHP7.1の環境で開発されているのだと思います。
クロネコヤマト カード・後払い一体型決済サービスのサポートのほうに今回の件を報告いただければ、
PHP7.2以降に対応したプラグインをリリースいただけるのではないかと思います。


----------------
株式会社シロハチ
■ECCUBE2系、3系構築カスタマイズご相談ください。
EC-CUBE3マニュアル
blog

スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

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

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1638
8
red
1569
9
mcontact
1280
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
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.