質問 > その他 > 急なFatalErrorExceptionエラー。 |
その他
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
COYS |
投稿日時: 2020/12/22 13:25
対応状況: −−−
|
半人前 登録日: 2019/12/27 居住地: 投稿: 12 |
急なFatalErrorExceptionエラー。 ▼テンプレート
[EC-CUBE] 4.0.3 [レンタルサーバ] XSERVER [PHP] PHP7.3.16 [導入プラグインの有無] あり [カスタマイズの有無] 定期購入のプラグインを使用しているため、プラグイン用の決済プラグインを使用 [現象] 本日から急に在庫の変更をするとシステムエラーになってしまい、のちにプラグイン(会員ランクアップ)のアップデートを行ったら以下のシステムエラーになってしまい、原因がわからず困っています。 アップデートの失敗かと思いキャッシュディレクトリの中のものは削除したのですが戻らず… DEVツールで以下のエラーがでます。 FatalErrorException Compile Error: Trait method __construct has not been applied, because there are collisions with other trait methods on Eccube\Entity\ProductClass in ProductClass.php line 28 ProductClass.php line 28に該当する部分には class ProductClass extends \Eccube\Entity\AbstractEntity { use \Plugin\FlashSale\Entity\FSProductClassTrait, \Plugin\QuantityDiscount\Entity\ProductClassTrait, \Plugin\IplPeriodicPurchase\Entity\ProductClassTrait, \Plugin\CustomerRank\Entity\ProductClassTrait; と記載があります… お忙しい時期にすみませんがご教授願います。 |
468 |
投稿日時: 2020/12/22 14:01
対応状況: −−−
|
神 登録日: 2008/10/26 居住地: 投稿: 3217 |
Re: 急なFatalErrorExceptionエラー。 Compile Error: Trait method __construct has not been applied, because there are collisions with other trait methods on Eccube\Entity\ProductClass
こちらのメッセージをgoogle翻訳にかけると コンパイルエラー:Eccube \ Entity \ ProductClassの他のトレイトメソッドとの衝突があるため、トレイトメソッド__constructは適用されていません とあります。 use \Plugin\FlashSale\Entity\FSProductClassTrait, \Plugin\QuantityDiscount\Entity\ProductClassTrait, \Plugin\IplPeriodicPurchase\Entity\ProductClassTrait, \Plugin\CustomerRank\Entity\ProductClassTrait; で4つのプラグインのTraitを利用しようとしていますが function ****の定義が同じ名称でダブっていたりするのではないでしょうか? 特に会員ランクアッププラグインをアップデートされた後に発生するようになったという事ですので /Plugin/CustomerRank/Entity/ProductClassTraitの記述に何かあるのではないでしょうか? プラグインの配布元のサポートを受けられるのが良いかと思います。
|
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |