異常資訊: ( ! ) Strict standards: Declaration of SugarEmailAddress::save() should be compatible with that of SugarBean::save() in D:\dev\server\xampp1\htdocs\sugar\include\SugarEmailAddress\SugarEmailAddress.php on line 1011 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0017 | 523432 | {main}( ) | ..\install.php:0 |
2 | 0.2274 | 7165168 | require_once( 'D:\dev\server\xampp1\htdocs\sugar\include\entryPoint.php' ) | ..\install.php:60 |
在運作PHP軟體時,如果遇到類似的錯誤,“Strict Standards”,不是錯誤,而是PHP5.3和之前的版本不太相容。5.3之後的版本規定聲明需要在使用之前。
修改php.ini就可以解決,其實就是不顯示出這個異常:
原php.ini error_reporting = E_ALL | E_STRICT
修改為 error_reporting = E_ALL & ~E_NOTICE