【发布时间】:2014-07-17 23:15:12
【问题描述】:
将 php 更新到 5.5 后出现此错误:
Strict Standards: Non-static method Crypt_RSA_MathLoader::loadWrapper() should not be called statically, assuming $this from incompatible context in /usr/share/php/Crypt/RSA.php on line 195
Strict Standards: Non-static method Crypt_RSA_MathLoader::loadWrapper() should not be called statically, assuming $this from incompatible context in /usr/share/php/Crypt/RSA/MathLoader.php on line 97
我正在使用 pear 的 Crypt_RSA。谢谢。
【问题讨论】:
-
错误很简单
-
默认值:$obj = &Crypt_RSA_MathLoader::loadWrapper($wrapper_name);更改:$obj = (new Crypt_RSA_MathLoader)->loadWrapper($wrapper_name);没有帮助。
-
这可能不止一行,找到其他用法并更改它们