Ticket #1880 (closed 改善提案: 修正済)

Opened 12 years ago

Last modified 12 years ago

PHP5.3にて、SC_Helper_Plugin::getSingletonInstanceがstaticメソッドでない旨の警告がでる

Reported by: habu Owned by: habu
Priority: Milestone: EC-CUBE2.12.1
Component: その他 Version: 2.12.0
Keywords: Cc:
修正済み: yes

Description (last modified by habu) (diff)

PHP5.3にて、インストール時からずっと、以下の警告がでる。

Strict Standards: Non-static method SC_Helper_Plugin::getSingletonInstance() should not be called statically in data/class/SC_ClassAutoloader.php on line 71

警告が出たままだと、setCookieがうまくいかない(setCookieの前に警告が出力されてしまう)関係で、管理画面にログインできない。

PHP 5.3.8にて確認。

関連チケット: #1679 警告撲滅

Change History

comment:1 Changed 12 years ago by habu

  • Owner changed from somebody to habu
  • Status changed from new to assigned

comment:2 Changed 12 years ago by habu

  • 修正済み set

r21941 にて修正。

comment:3 follow-up: ↓ 4 Changed 12 years ago by habu

  • Description modified (diff)

comment:4 in reply to: ↑ 3 Changed 12 years ago by h_yoshimoto

habu への返信

ありがとうございます!

再現しない事を確認しましたので閉じさせて頂きます。

comment:5 Changed 12 years ago by h_yoshimoto

  • Status changed from assigned to closed
  • Resolution set to 修正済
Note: See TracTickets for help on using tickets.