バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > その他 > An open transaction is required for this operation.

その他

新規スレッドを追加する

スレッド表示 | 古いものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
kiraD
投稿日時: 2021/7/28 16:07
対応状況: −−−
半人前
登録日: 2021/7/28
居住地:
投稿: 16
Re: An open transaction is required for this operation.
Command経由で実行する際に、トランザクションにロックがかかっているためそのようなエラーが出ていると思います。
どこかでflush()し忘れている箇所などないでしょうか?
もしくは、下記などを参考にし、lockModeを指定することで解決できるかもしれません。

https://stackoverflow.com/questions/22592582/using-find-from-repository-throwing-a-transactionrequiredexception
kenshi
投稿日時: 2021/7/11 23:22
対応状況: 開発中
一人前
登録日: 2020/6/29
居住地:
投稿: 83
An open transaction is required for this operation.
Command経由で注文ステータス変更

決済処理中 or 購入処理中 → キャンセル

$this->orderStateMachine->apply($Order, キャンセル)

In TransactionRequiredException.php line 38:
  An open transaction is required for this operation.


管理画面からは、問題なく「決済処理中 or 購入処理中 → キャンセル」可能
Command経由からはエラーが出る

調査中ですが、解決できる情報がなく困っています。
ご協力よろしくお願いいたします。
スレッド表示 | 古いものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

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

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1638
8
red
1570
9
mcontact
1285
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.