バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

プラグイン > その他 > プラグインインストール時に必ずエラーがでる

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
nanasess
投稿日時: 2022/11/22 16:26
対応状況: −−−
登録日: 2006/9/9
居住地:
投稿: 2313
Re: プラグインインストール時に必ずエラーがでる
2.17.2 で PHP8 に対応した関係で、古い構文がエラーになってしまいます。
https://github.com/EC-CUBE/ec-cube2/issues/551

以下のように static を付与すれば動くと思います


class RJsample extends SC_Plugin_Base{

	public function __construct(array $arrSelfInfo){
		parent::__construct($arrSelfInfo);
	}

	public static function install($arrPlugin, $objPluginInstaller = null){}
	
	public static function uninstall($arrPlugin, $objPluginInstaller = null){}
	
	public static function enable($arrPlugin, $objPluginInstaller = null){}
	
	public static function disable($arrPlugin, $objPluginInstaller = null){}
}



フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   プラグインインストール時に必ずエラーがでる rijye 2022/11/18 17:00
     Re: プラグインインストール時に必ずエラーがでる mcontact 2022/11/18 18:22
       Re: プラグインインストール時に必ずエラーがでる rijye 2022/11/21 9:41
         Re: プラグインインストール時に必ずエラーがでる mcontact 2022/11/21 10:49
           Re: プラグインインストール時に必ずエラーがでる rijye 2022/11/21 15:03
             Re: プラグインインストール時に必ずエラーがでる mcontact 2022/11/21 16:11
               Re: プラグインインストール時に必ずエラーがでる rijye 2022/11/21 17:37
                 Re: プラグインインストール時に必ずエラーがでる mcontact 2022/11/21 20:41
               » Re: プラグインインストール時に必ずエラーがでる nanasess 2022/11/22 16:26
                   Re: プラグインインストール時に必ずエラーがでる rijye 2022/11/22 17:09

 



ログイン


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

統計情報

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

投稿数ランキング

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
1296
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.