嘿,任何人都可以向我解释为什么在我尝试保存注册表单时出现此错误。
致命错误:无法在第252行的/home/wolf/public_html/wp-content/plugins/userpro/admin/admin-functions.php中取消设置字符串偏移
以下是php的问题。
/** List all groups **/
function userpro_admin_list_groups(){
global $userpro;
$output = null;
$groups = $userpro->groups;
unset($groups['register']);
unset($groups['edit']);
unset($groups['view']);
unset($groups['login']);
unset($groups['social']);
$array = array(
'register' => __('Registration Fields','userpro'),
'edit' => __('Edit Profile Fields','userpro'),
'login' => __('Login Fields','userpro'),
'social' => __('Social Fields','userpro')
);
如果有人能够对此发表一些看法,就我看来没有什么是错误的那样会很好,甚至连插件制造商都在为此着想......
php的配置是5.4 Apache是2.4 Mysql正在运行5.6