バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > 販売種別(mtb_sale_type.id)が異なる商品をカートに入れるとエラー

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
yamashitab
投稿日時: 2024/1/10 13:13
対応状況: −−−
新米
登録日: 2024/1/10
居住地:
投稿: 1
販売種別(mtb_sale_type.id)が異なる商品をカートに入れるとエラー
▼テンプレート
[EC-CUBE]
4.0.6-p1
[レンタルサーバ] EC2
[OS] Amazon Linux release 2 (Karoo)
[PHP] 7.4.33
[データベース] MySQL 5.7.42
[WEBサーバ] Apache
[ブラウザ] chrome
[導入プラグインの有無] DeliveryPlus4(配送方法設定拡張プラグイン)
[カスタマイズの有無] 不明
[現象]
販売種別が異なる2つの商品をカートに入れようとするとエラーが発生してカートが初期化されます。
場所:商品詳細ページ /products/detail/xxx
メッセージ:ポップアップで『カートへの追加に失敗しました。』

販売種別の組み合わせによってはエラー無くカートへの追加が完了することもあります。
例)mtb_sale_type.id が
 1と4 →OK
 2と3 →OK
 2と4 →エラー
 3と4 →エラー
 4と4 →OK
4が含まれる場合にエラーとなるようですが、
組合せによっては正常に完了することもあります

site-log
```
[2024-01-10 11:59:28] app.DEBUG [N/A] [177af2e] [anon.] [Eccube\Log\Logger:log:68] - Commit executed. [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] app.INFO [N/A] [177af2e] [anon.] [Eccube\Log\Logger:log:68] - PROCESS END ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC END ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.ERROR [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - システムエラーが発生しました。 ["Entity has to be managed or scheduled for removal for single computation Eccube\\Entity\\CartItem@000000007023e8600000000037993cdf";,"/var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php",516,"#0 /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(344): Doctrine\\ORM\\UnitOfWork->computeSingleEntityChangeSet()\n#1 /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(368): Doctrine\\ORM\\UnitOfWork->commit()\n#2 /var/www/html/public/var/cache/prod/ContainerL6mwym2/EntityManager_9a5be93.php(83): Doctrine\\ORM\\EntityManager->flush()\n#3 /var/www/html/public/src/Eccube/Service/CartService.php(284): EntityManager_9a5be93->flush()\n#4 /var/www/html/public/src/Eccube/Service/CartService.php(390): Eccube\\Service\\CartService->restoreCarts()\n#5 /var/www/html/public/var/cache/prod/ContainerL6mwym2/CartService_9dde17f.php(43): Eccube\\Service\\CartService->removeProduct()\n#6 /var/www/html/public/src/Eccube/Controller/ProductController.php(423): CartService_9dde17f->removeProduct()\n#7 /var/www/html/public/vendor/symfony/http-kernel/HttpKernel.php(151): Eccube\\Controller\\ProductController->addCart()\n#8 /var/www/html/public/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#9 /var/www/html/public/vendor/symfony/http-kernel/Kernel.php(200): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#10 /var/www/html/public/index.php(76): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#11 {main}"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] php.INFO [b3bd5c54] [177af2e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Calling Doctrine\ORM\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling Doctrine\\ORM\\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. at /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:362)"} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] php.INFO [b3bd5c54] [177af2e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Calling Doctrine\ORM\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling Doctrine\\ORM\\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. at /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:362)"} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] php.INFO [b3bd5c54] [177af2e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Calling Doctrine\ORM\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling Doctrine\\ORM\\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. at /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:362)"} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - カート追加処理開始 {"product_id":3345,"product_class_id":3345,"quantity":5} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC START ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.DEBUG [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - Begin Transaction. [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - fallback to PC layout [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [N/A] [177af2e] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] app.INFO [N/A] [0790f98] [anon.] [Eccube\Log\Logger:log:68] - PROCESS END ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [b3bd5c54] [0790f98] [anon.] [Eccube\Log\Logger:log:66] - LOGIC END ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] php.INFO [b3bd5c54] [0790f98] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Configuration/Route.php:16)"} [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] php.INFO [b3bd5c54] [0790f98] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Request/ParamConverter/DoctrineParamConverter.php:314)"} [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] php.INFO [b3bd5c54] [0790f98] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Request/ParamConverter/DoctrineParamConverter.php:314)"} [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [b3bd5c54] [0790f98] [anon.] [Eccube\Log\Logger:log:66] - LOGIC START ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [b3bd5c54] [0790f98] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [N/A] [0790f98] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] app.INFO [N/A] [9847f6e] [anon.] [Eccube\Log\Logger:log:68] - PROCESS END ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [b3bd5c54] [9847f6e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC END ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] php.INFO [b3bd5c54] [9847f6e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Configuration/Route.php:16)"} [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [b3bd5c54] [9847f6e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC START ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [b3bd5c54] [9847f6e] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [N/A] [9847f6e] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
```

front-log
```
[2024-01-10 11:59:47] app.INFO [N/A] [76939aa] [1] [Eccube\Log\Logger:log:68] - PROCESS END ["admin_setting_system_log"] [POST, /masterpage/setting/system/log, 153.240.60.0, https://ec.famsapo.com/masterpage/setting/system/log, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] app.DEBUG [N/A] [177af2e] [anon.] [Eccube\Log\Logger:log:68] - Commit executed. [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] app.INFO [N/A] [177af2e] [anon.] [Eccube\Log\Logger:log:68] - PROCESS END ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC END ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.ERROR [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - システムエラーが発生しました。 ["Entity has to be managed or scheduled for removal for single computation Eccube\\Entity\\CartItem@000000007023e8600000000037993cdf";,"/var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php",516,"#0 /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(344): Doctrine\\ORM\\UnitOfWork->computeSingleEntityChangeSet()\n#1 /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(368): Doctrine\\ORM\\UnitOfWork->commit()\n#2 /var/www/html/public/var/cache/prod/ContainerL6mwym2/EntityManager_9a5be93.php(83): Doctrine\\ORM\\EntityManager->flush()\n#3 /var/www/html/public/src/Eccube/Service/CartService.php(284): EntityManager_9a5be93->flush()\n#4 /var/www/html/public/src/Eccube/Service/CartService.php(390): Eccube\\Service\\CartService->restoreCarts()\n#5 /var/www/html/public/var/cache/prod/ContainerL6mwym2/CartService_9dde17f.php(43): Eccube\\Service\\CartService->removeProduct()\n#6 /var/www/html/public/src/Eccube/Controller/ProductController.php(423): CartService_9dde17f->removeProduct()\n#7 /var/www/html/public/vendor/symfony/http-kernel/HttpKernel.php(151): Eccube\\Controller\\ProductController->addCart()\n#8 /var/www/html/public/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#9 /var/www/html/public/vendor/symfony/http-kernel/Kernel.php(200): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#10 /var/www/html/public/index.php(76): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#11 {main}"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] php.INFO [b3bd5c54] [177af2e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Calling Doctrine\ORM\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling Doctrine\\ORM\\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. at /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:362)"} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] php.INFO [b3bd5c54] [177af2e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Calling Doctrine\ORM\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling Doctrine\\ORM\\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. at /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:362)"} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] php.INFO [b3bd5c54] [177af2e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Calling Doctrine\ORM\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling Doctrine\\ORM\\EntityManager::flush() with any arguments to flush specific entities is deprecated and will not be supported in Doctrine ORM 3.0. at /var/www/html/public/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:362)"} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - カート追加処理開始 {"product_id":3345,"product_class_id":3345,"quantity":5} [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC START ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.DEBUG [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - Begin Transaction. [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - fallback to PC layout [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [b3bd5c54] [177af2e] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["product_add_cart"] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:28] front.INFO [N/A] [177af2e] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [POST, /products/add_cart/3345, 153.240.60.0, https://ec.famsapo.com/products/detail/3345, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] app.INFO [N/A] [0790f98] [anon.] [Eccube\Log\Logger:log:68] - PROCESS END ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [b3bd5c54] [0790f98] [anon.] [Eccube\Log\Logger:log:66] - LOGIC END ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] php.INFO [b3bd5c54] [0790f98] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Configuration/Route.php:16)"} [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] php.INFO [b3bd5c54] [0790f98] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Request/ParamConverter/DoctrineParamConverter.php:314)"} [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] php.INFO [b3bd5c54] [0790f98] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The repository_method option of @ParamConverter is deprecated and will be removed in 6.0. Use the expr option or @Entity. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Request/ParamConverter/DoctrineParamConverter.php:314)"} [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [b3bd5c54] [0790f98] [anon.] [Eccube\Log\Logger:log:66] - LOGIC START ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [b3bd5c54] [0790f98] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["product_detail"] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:17] front.INFO [N/A] [0790f98] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [GET, /products/detail/3345, 153.240.60.0, https://ec.famsapo.com/products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] app.INFO [N/A] [9847f6e] [anon.] [Eccube\Log\Logger:log:68] - PROCESS END ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [b3bd5c54] [9847f6e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC END ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] php.INFO [b3bd5c54] [9847f6e] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /var/www/html/public/vendor/sensio/framework-extra-bundle/Configuration/Route.php:16)"} [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [b3bd5c54] [9847f6e] [anon.] [Eccube\Log\Logger:log:66] - LOGIC START ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [b3bd5c54] [9847f6e] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["product_list"] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[2024-01-10 11:59:15] front.INFO [N/A] [9847f6e] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [GET, /products/list?category_id=&name=%E3%80%90%E9%80%81%E6%96%99%E8%BE%BC%E3%80%91%E3%82%AB%E3%83%AB%E3%82%B0%E3%83%83%E3%83%8970%E3%80%805L, 153.240.60.0, https://ec.famsapo.com/cart, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
```


配送方法設定
```
/* 販売種別ID(mtb_sales_type)と配送方法一覧の登録チェック */
select
d.id,
s.id, s.name
,d.name, d.description, d.visible, d.deliveryplus_size_min, d.deliveryplus_size_max
from mtb_sale_type s
left outer join dtb_delivery d
on s.id = d.sale_type_id
where visible = 1
and s.id in (1, 2, 3, 4)
order by s.id, d.deliveryplus_size_min asc
```
# id id name name description visible deliveryplus_size_min deliveryplus_size_max
9 1 自社から発送 自社倉庫より発送(60サイズ) 2kg迄
沖縄のみヤマト運輸 1 11.00 20.00
1 1 自社から発送 自社倉庫より発送(80サイズ) 5kg迄
沖縄のみヤマト運輸 1 21.00 50.00
2 1 自社から発送 自社倉庫より発送(100サイズ) 10kg迄
沖縄のみヤマト運輸 1 51.00 100.00
10 1 自社から発送 自社倉庫より発送(140サイズ) 20kg迄
沖縄のみヤマト運輸 1 101.00 200.00
11 1 自社から発送 自社倉庫より発送(160サイズ) 30kg迄
沖縄のみヤマト運輸 1 201.00 300.00
15 1 自社から発送 大口のため、送料は追って送信します 1 301.00
14 2 送料込 メーカー直送・送料込み 1 1.00 1.00
66 3 送料一律 送料一律/メーカーから配送 1
13 4 送料見積(追って、担当者より連絡) 送料は追って見積もり送信します 1 10000.00

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


題名 投稿者 日時
 » 販売種別(mtb_sale_type.id)が異なる商品をカートに入れるとエラー yamashitab 2024/1/10 13:13
     Re: 販売種別(mtb_sale_type.id)が異なる商品をカートに入れるとエラー tattsu 2024/1/10 13:54

 



ログイン


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

統計情報

総メンバー数は95,935名です
総投稿数は111,632件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2325
5
umebius
2085
6
yuh
1893
7
h_tanaka
1850
8
red
1574
9
mcontact
1535
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
804
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.