天天看點

Strict Standards: Non-static method ... 錯誤的解決辦法

錯誤提示:

Strict Standards: Non-static method xxx() should not be called statically

解決辦法:

修改被調用類中 xxx() 方法為公共靜态方法,即: public static function xxx(){...}

繼續閱讀