V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
crowcheng
V2EX  ›  问与答

求助,一个 Wordpress 错误提醒不知道怎么解决

  •  
  •   crowcheng · 2019-12-26 23:56:04 +08:00 · 1301 次点击
    这是一个创建于 1553 天前的主题,其中的信息可能已经有所发展或是发生改变。

    提示这个 Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 7 in /www/wwwroot/sheepp/wp-content/themes/p2/inc/mentions.php on line 77

    代码是这样的 function find_mentions( $content ) { if ( ! preg_match_all( $this->mentions_regex, $content, $matches ) ) return array();

    2 条回复    2019-12-27 12:22:51 +08:00
    pandait
        1
    pandait  
       2019-12-27 00:46:19 +08:00 via Android
    正则有问题呗。
    ji39
        2
    ji39  
       2019-12-27 12:22:51 +08:00
    换个主题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2848 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:21 · PVG 23:21 · LAX 08:21 · JFK 11:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.