gpt4 book ai didi

php - WordPress 和 PHP 5.3

转载 作者:行者123 更新时间:2023-12-04 07:05:02 27 4
gpt4 key购买 nike

任何人都可以就原因提供任何建议 wp-admin/options-general.php不会在 PHP 5.3 中加载我的 Wordpress 安装?如果我启用调试,然后有 PHP 报告错误,我确实会收到弃用错误,但它们似乎并不相关。此外,如果我修复了这些错误,页面仍然无法加载。

顶部栏和几个导航框加载,但中央框架内什么都没有?

我正在运行 dotdeb 的 PHP 5.3

输出 WP_DEBUGerror_reporting(0) :

Deprecated: Assigning the return value of new by reference is deprecated in /home/willyum/willyum.info/blog/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/willyum/willyum.info/blog/wp-includes/pomo/mo.php on line 171

Deprecated: Assigning the return value of new by reference is deprecated in /home/willyum/willyum.info/blog/wp-includes/l10n.php on line 407

Deprecated: Assigning the return value of new by reference is deprecated in /home/willyum/willyum.info/blog/wp-includes/query.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /home/willyum/willyum.info/blog/wp-includes/theme.php on line 1133

Deprecated: Assigning the return value of new by reference is deprecated in /home/willyum/willyum.info/blog/wp-includes/taxonomy.php on line 617

最佳答案

如果我没记错的话,wordpress 使用了很多 @ operator避免显示错误...因此,其中许多未显示,事件 if error_reporting被激活:-(
(这是@操作符邪恶的原因之一...)

也许使用 scream extension在您的测试机上,禁用@ 运算符,有帮助吗?

不过,我刚刚在 PHP 5.3 上尝试过 wordpress,该页面似乎加载良好......我使用的是 2.8.x 版本,顺便说一句

关于php - WordPress 和 PHP 5.3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1242871/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com