質問 > 管理機能 > 公開期間設定プラグインの商品登録でエラー |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2023/12/19 10:45
対応状況: 解決済
|
神 ![]() ![]() 登録日: 2016/7/22 居住地: 愛媛県 投稿: 2021 |
公開期間設定プラグインの商品登録でエラー EC-CUBE 3.0.16
公開期間設定プラグイン 1.0.6 上記プラグインを導入して、商品登録ページで公開期間を入力して登録ボタンを押すとシステムエラーが発生してしまいます。 Doctrine\ORM\ORMInvalidArgumentException: A new entity was found through the relationship 'Plugin\OpenPeriodProducts\Entity\OppProductClass#ProductClass' that was not configured to cascade persist operations for entity: Eccube\Entity\ProductClass@00000000023cfc1c00000000361f01af. 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\ProductClass#__toString()' to get a clue. (uncaught exception) at /vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 91 プラグインの再インストールやキャッシュ削除を試しましたが、解決しませんでした。 データベースにはプラグインのテーブル plg_opp_product_class が存在し、 product_class_id への外部キーも貼られています。 原因または解決方法わかりますでしょうか? |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» ![]() |
h_tanaka | 2023/12/19 10:45 |
![]() |
mcontact | 2023/12/19 11:42 |
![]() |
h_tanaka | 2023/12/19 11:53 |
![]() |
mcontact | 2023/12/19 13:32 |
![]() |
h_tanaka | 2023/12/19 14:07 |
