ECMall報Strict Standards: Non-static method Conf::get() should not be called statically解決

用到ECMall安裝後提示:Strict Standards: Non-static method Conf::get() should not be called statically, assuming $this from incompatible context in ….

查找原因後修改了eccore\ecmall.php 228行

    function get($key = ”)

修改爲 static function get($key = ”)

解決問題!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章