【发布时间】:2011-02-17 17:27:25
【问题描述】:
我的服务器正在运行 PHP 5.3,而我的 WordPress 安装正在向我吐出这些错误,导致我的 session_start() 中断。
Deprecated: Assigning the return value of new by reference is deprecated in /home//public_html/hub/wp-settings.php on line 647
Deprecated: Assigning the return value of new by reference is deprecated in /home//public_html/hub/wp-settings.php on line 662
Deprecated: Assigning the return value of new by reference is deprecated in /home//public_html/hub/wp-settings.php on line 669
Deprecated: Assigning the return value of new by reference is deprecated in /home//public_html/hub/wp-settings.php on line 676
Deprecated: Assigning the return value of new by reference is deprecated in /home//public_html/hub/wp-settings.php on line 712
这很烦人,但我不想关闭屏幕错误报告。如何禁用这些令人讨厌的已弃用警告?
我正在运行 WordPress 2.9.2。
【问题讨论】:
-
3.3.1 不是 wordpress 的最新版本吗?
-
他似乎喜欢一个带有旧 wordpress 的旧 php
标签: php wordpress deprecation-warning