问题描述
当我尝试在我的PHPBB页面上注册新用户时,出现此警告[PHPBB Debug] PHP Warning: in file [ROOT]/includes/ucp/ucp_register.PHP on line 206: preg_replace(): The /e modifier is no longer supported,use preg_replace_callback instead
。
此行如下所示:
$error = preg_replace('#^([A-Z_]+)$#e',"(!empty(\$user->lang['\\1'])) ? \$user->lang['\\1'] : '\\1'",$error);
。
问题是我根本不了解PHP,如何更改此行。
谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)