You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error(E_COMPILE_ERROR): Cannot make static method SC_Plugin_Base::install() non static in class SamplePlugin on [/http://check/eccube-2.17.2-mysql/data/downloads/plugin/SamplePlugin/SamplePlugin.php(xx)] from xxx.xxx.xxx.xxx
login_id = testadmin(0)[eca3e814]
概要
2.17.2で、SC_Plugin_Baseを継承したプラグインをインストール・有効化するとシステムエラーが発生する
原因
以下の変更に起因するもの。
PHP8対応 #405
https://github.com/EC-CUBE/ec-cube2/pull/405/files#diff-e3893a4908e7945ee32224a3e23f4bd79752fd68785f97ad37246e1c115aff87
回避方法
SC_Plugin_Base を継承せずにマジックメソッドを使用することで回避が可能。
https://gist.github.com/nanasess/6447bfd9e3cd26815c9ce7d0e8b1cb71
The text was updated successfully, but these errors were encountered: