代码之家  ›  专栏  ›  技术社区  ›  arbales

Wordpress和PHP5.3

  •  2
  • arbales  · 技术社区  · 16 年前

    有人能提供一些建议来解释原因吗 wp-admin/options-general.php

    输出 WP_DEBUG error_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
    
    3 回复  |  直到 13 年前
        1
  •  2
  •   Pascal MARTIN    16 年前

    如果我没记错的话,wordpress使用了很多 @ operator 要避免显示错误。。。因此,如果发生事件,其中许多都不会显示 error_reporting 已激活:-(

    也许用 scream extension 在您的测试机上,禁用@operator可以帮助您吗?

    尽管如此,我还是在PHP5.3上尝试了wordpress,该页面似乎加载良好。。。顺便说一句,我使用的是2.8.x版本

        2
  •  1
  •   Sudar    16 年前

    尝试禁用所有已安装的插件。如果它解决了问题,那么试着启用每个插件一个我的一个来找出有问题的插件。

    您还可以使用wp-devel插件查找函数跟踪。 http://wordpress.org/extend/plugins/wp-devel/

        3
  •  0
  •   markratledge    16 年前

    Wordpress debug (Pear and more) plugins? 会有帮助吗?(我自己也没用过。)

    推荐文章