質問 > フロント機能 > 規格ありの商品のみカートに入らない |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
tomochika |
投稿日時: 2022/1/14 12:58
対応状況: −−−
|
新米 登録日: 2008/7/18 居住地: 投稿: 6 |
規格ありの商品のみカートに入らない [EC-CUBE] 4.1.0 新規インストール
[レンタルサーバ] 自社サーバー [OS] CentOs 7 [PHP] 7.3.25/FPM [データベース] MySQL 5.6.45 [WEBサーバ] Apache [導入プラグインの有無] WebAPI DeliveryPlus4(デフォルトプラグインも含めて停止済) [現象] お世話になります。上記環境にて運用中ですが、今回初めて規格有の商品を追加してみたところ、規格有の商品のみカートに入らない現象が発生しております。規格無しの商品は販売種別にかかわらず正常にカートに入ります。 発生するエラーは ポップアップにて「カートへの追加に失敗しました。」と表示されます。もちろんカートには追加されません。 規格を選択し、カートに入れるボタンを押した直近のログは以下になります。 --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/src/Eccube/Log/Logger.php, line: 68, class: Eccube\Log\Logger, function: log, uid: 3b682cb, user_id: 16, session_id: N/A } Commit executed. ___ APP ____________________________________________________________________________________________ "START TRANSACTION" ___ DOCTRINE _______________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/vendor/symfony/doctrine-bridge/Logger/DbalLogger.php, line: 71, class: Symfony\Bridge\Doctrine\Logger\DbalLogger, function: log, uid: 3b682cb, user_id: 16, session_id: N/A } "COMMIT" ___ DOCTRINE _______________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/src/Eccube/EventListener/LogListener.php, line: 133, class: Eccube\EventListener\LogListener, function: onKernelTerminate, uid: 3b682cb, user_id: 16, session_id: N/A } --> - product_add_cart PROCESS END ___ APP ____________________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/vendor/symfony/doctrine-bridge/Logger/DbalLogger.php, line: 71, class: Symfony\Bridge\Doctrine\Logger\DbalLogger, function: log, uid: 3b682cb, user_id: 16, session_id: '47008747' } t0.discriminator_type IN ('plugin') create_date_8, t0.update_date AS update_date_9, t0.discriminator_type FROM dtb_plugin t0 WHERE version_5, t0.source AS source_6, t0.initialized AS initialized_7, t0.create_date AS SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.enabled AS enabled_4, t0.version AS ___ DOCTRINE _______________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/vendor/symfony/security/Http/Firewall/ContextListener.php, line: 196, class: Symfony\Component\Security\Http\Firewall\ContextListener, function: onKernelResponse, uid: 3b682cb, user_id: 16, session_id: '47008747' } --> key: _security_customer Stored the security token in the session. ___ (!) SECURITY ___________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/src/Eccube/EventListener/LogListener.php, line: 124, class: Eccube\EventListener\LogListener, function: onKernelResponse, uid: 3b682cb, user_id: 16, session_id: '47008747' } --> - product_add_cart LOGIC END ___ APP ____________________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/vendor/symfony/doctrine-bridge/Logger/DbalLogger.php, line: 71, class: Symfony\Bridge\Doctrine\Logger\DbalLogger, function: log, uid: 3b682cb, user_id: 16, session_id: '47008747' } t0.discriminator_type IN ('plugin') create_date_8, t0.update_date AS update_date_9, t0.discriminator_type FROM dtb_plugin t0 WHERE version_5, t0.source AS source_6, t0.initialized AS initialized_7, t0.create_date AS SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.enabled AS enabled_4, t0.version AS ___ DOCTRINE _______________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/src/Eccube/EventListener/LogListener.php, line: 143, class: Eccube\EventListener\LogListener, function: onKernelException, uid: 3b682cb, user_id: 16, session_id: '47008747' } --> - 404 ___ APP ____________________________________________________________________________________________ --> extra: { url: /products/add_cart/1, ip: 192.168.100.50, http_method: POST, server: test.XXXXX.jp, referrer: 'https://test.XXXXX.jp/products/detail/1', user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36', file: /virtual/XXXXX/test/vendor/symfony/debug/ErrorHandler.php, line: 500, class: Symfony\Component\Debug\ErrorHandler, function: handleError, uid: 3b682cb, user_id: 16, session_id: '47008747' } --> exception: "O:14:\"ErrorException\":8:{s:10:\"\0*\0message\";s:172:\"User Deprecated: The \"Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent::getException()\" method is deprecated since Symfony 4.4, use \"getThrowable()\" instead.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:86:\"/virtual/XXXXX/test/vendor/symfony/http-kernel/Event/GetResponseForExceptionEvent.php\";s:7:\"\0*\0line\";i:57;s:16:\"\0Exception\0trace\";a:11:{i:0;a:5:{s:4:\"file\";s:61:\"/virtual/XXXXX/test/src/Eccube/EventListener/LogListener.php\";s:4:\"line\";i:141;s:8:\"function\";s:12:\"getException\";s:5:\"class\";s:63:\"Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent\";s:4:\"type\";s:2:\"->\";}i:1;a:5:{s:4:\"file\";s:78:\"/virtual/XXXXX/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php\";s:4:\"line\";i:126;s:8:\"function\";s:17:\"onKernelException\";s:5:\"class\";s:32:\"Eccube\\EventListener\\LogListener\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:72:\"/virtual/XXXXX/test/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:264;s:8:\"function\";s:8:\"__invoke\";s:5:\"class\";s:55:\"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:72:\"/virtual/XXXXX/test/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:239;s:8:\"function\";s:10:\"doDispatch\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:72:\"/virtual/XXXXX/test/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:73;s:8:\"function\";s:13:\"callListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:64:\"/virtual/XXXXX/test/src/Eccube/Event/EventDispatcherWrapper.php\";s:4:\"line\";i:32;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:87:\"/virtual/XXXXX/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:168;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:35:\"Eccube\\Event\\EventDispatcherWrapper\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:62:\"/virtual/XXXXX/test/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:219;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:62:\"/virtual/XXXXX/test/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:91;s:8:\"function\";s:15:\"handleThrowable\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:58:\"/virtual/XXXXX/test/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:201;s:8:\"function\";s:6:\"handle\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:30:\"/virtual/XXXXX/test/index.php\";s:4:\"line\";i:76;s:8:\"function\";s:6:\"handle\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;s:11:\"\0*\0severity\";i:16384;}" deprecated since Symfony 4.4, use "getThrowable()" instead. "Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent::getException()" method is テスト環境にて、すべてのプラグインを停止。 自分で行いました改造もほぼほぼロールバックした環境にてテストしましたが、エラーは同様でした。 何かアドバイスいただけましたら幸いです。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» 規格ありの商品のみカートに入らない | tomochika | 2022/1/14 12:58 |
Re: 規格ありの商品のみカートに入らない | yuh | 2022/12/20 11:00 |
Re: 規格ありの商品のみカートに入らない | h_tanaka | 2022/12/21 12:51 |