バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > その他 > Customizeフォルダーでのカスタマイズ方法

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
umebius
投稿日時: 2019/12/12 10:27
対応状況: −−−
登録日: 2016/7/22
居住地:
投稿: 2085
Re: Customizeフォルダーでのカスタマイズ方法
Call to a member function find() on null
FatalThrowableError

継承元(parent)のコンストラクタを呼ぶか、Customize\Service\CsvExportService;のコンストラクタにも下記のプロパティ代入を追記してもらえれば、そのエラーは出なくなると思います。

継承元のコンストラクタ
/**
     * CsvExportService constructor.
     *
     * @param EntityManagerInterface $entityManager
     * @param CsvRepository $csvRepository
     * @param CsvTypeRepository $csvTypeRepository
     * @param OrderRepository $orderRepository
     * @param CustomerRepository $customerRepository
     * @param EccubeConfig $eccubeConfig
     */
    public function __construct(
        EntityManagerInterface $entityManager,
        CsvRepository $csvRepository,
        CsvTypeRepository $csvTypeRepository,
        OrderRepository $orderRepository,
        ShippingRepository $shippingRepository,
        CustomerRepository $customerRepository,
        ProductRepository $productRepository,
        EccubeConfig $eccubeConfig,
        FormFactoryInterface $formFactory
    ) {
        $this->entityManager = $entityManager;
        $this->csvRepository = $csvRepository;
        $this->csvTypeRepository = $csvTypeRepository;
        $this->orderRepository = $orderRepository;
        $this->shippingRepository = $shippingRepository;
        $this->customerRepository = $customerRepository;
        $this->eccubeConfig = $eccubeConfig;
        $this->productRepository = $productRepository;
        $this->formFactory = $formFactory;
    }
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   Customizeフォルダーでのカスタマイズ方法 jacker 2019/12/10 13:35
     Re: Customizeフォルダーでのカスタマイズ方法 umebius 2019/12/10 17:04
       Re: Customizeフォルダーでのカスタマイズ方法 jacker 2019/12/11 11:31
         Re: Customizeフォルダーでのカスタマイズ方法 umebius 2019/12/11 18:32
           Re: Customizeフォルダーでのカスタマイズ方法 jacker 2019/12/12 9:25
             Re: Customizeフォルダーでのカスタマイズ方法 jacker 2019/12/12 10:16
           » Re: Customizeフォルダーでのカスタマイズ方法 umebius 2019/12/12 10:27
               Re: Customizeフォルダーでのカスタマイズ方法 jacker 2019/12/12 14:16

 



ログイン


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

統計情報

総メンバー数は88,874名です
総投稿数は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.