天天看点

Strict Standards: Non-static method ... 错误的解决办法

错误提示:

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

解决办法:

修改被调用类中 xxx() 方法为公共静态方法,即: public static function xxx(){...}

继续阅读