バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > 管理機能 > 商品購入で「注文する」をクリックするとシステムエラーが発生

管理機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
akan
投稿日時: 2021/12/8 14:15
対応状況: −−−
新米
登録日: 2021/12/8
居住地:
投稿: 5
商品購入で「注文する」をクリックするとシステムエラーが発生
▼テンプレート
[EC-CUBE] 4.0.3
[レンタルサーバ] X server
[OS] Linux
[PHP] 7.3.31
[データベース] MySQL5.7
[WEBサーバ] Apache 2.4.6
[ブラウザ] Google Chrome
[導入プラグインの有無] 商品オプションプラグイン、まとめ買い価格設定プラグイン、会員項目追加プラグイン、マイページ/ファイルアップロードプラグイン
[現象]
商品購入で「注文する」をクリックするとシステムエラーが発生します。
解決方法が分からず困っています。
原因が分かりましたら、ご教授のほど何卒よろしくお願いします。

デバッグモードでのエラーログは下記のような状態です。

A new entity was found through the relationship 'Eccube\Entity\CartItem#Cart' that was not configured to cascade persist operations for entity: Eccube\Entity\Cart@0000000006a5daba000000005d8be7b0. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Eccube\Entity\Cart#__toString()' to get a clue.

【ERROR】

front Doctrine\ORM\ORMInvalidArgumentException: A new entity was found through the relationship 'Eccube\Entity\CartItem#Cart' that was not configured to cascade persist operations for entity: Eccube\Entity\Cart@000000001bdcbcf9000000000ed1a550. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Eccube\Entity\Cart#__toString()' to get a clue. (uncaught exception) at public_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 102

【CRITICAL】

request Uncaught PHP Exception Doctrine\ORM\ORMInvalidArgumentException: "A new entity was found through the relationship 'Eccube\Entity\CartItem#Cart' that was not configured to cascade persist operations for entity: Eccube\Entity\Cart@000000001bdcbcf9000000000ed1a550. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Eccube\Entity\Cart#__toString()' to get a clue." at public_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 102
balisys
投稿日時: 2021/12/9 21:27
対応状況: −−−
仙人
登録日: 2020/7/5
居住地:
投稿: 398
Re: 商品購入で「注文する」をクリックするとシステムエラーが発生
キャッシュ消してから試されるとどのようになりますでしょうか。

また、こちらはプラグイン導入後にエラーが発生している状況でしょうか。
その場合、導入しているプラグインを一旦無効にしてエラーが解消するか試されてみるとよいかもしれません。
akan
投稿日時: 2021/12/10 13:36
対応状況: −−−
新米
登録日: 2021/12/8
居住地:
投稿: 5
Re: 商品購入で「注文する」をクリックするとシステムエラーが発生
返信ありがとうございます。
キャッシュ削除でもエラーは解消されません。

プラグイン導入後でも問題なく動作していましたので
バックアップデータから一度復元してみます。
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,887名です
総投稿数は110,000件です

投稿数ランキング

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