signup.php
Invalid offset "user_name"
of array type array{user_ban:0}|array{user_ban:2}|array{user_ip:string}|array{user_join:int}|array{user_password:bool|string}|array{user_prefs:array|string}|array{user_sess:string}
Open
Open
if(!vartrue($allData['data']['user_name']))
- Exclude checks
Argument 2 (login_name)
is null
but \UserHandler::HashPassword()
takes string
defined at /code/e107_handlers/user_handler.php:226
Open
Open
$allData['data']['user_prefs'] = e107::serialize(array('email_password' => $userMethods->HashPassword($savePassword, $allData['data']['user_email'])));
- Exclude checks
Invalid offset "user_loginname"
of array type array{user_ban:0}|array{user_ban:2}|array{user_sess:string}
Open
Open
$allData['data']['user_password'] = $userMethods->HashPassword($savePassword,$allData['data']['user_loginname']);
- Exclude checks
Invalid offset "user_email"
of array type array{user_ban:0}|array{user_ban:2}|array{user_password:bool|string}|array{user_sess:string}
Open
Open
$allData['data']['user_prefs'] = e107::serialize(array('email_password' => $userMethods->HashPassword($savePassword, $allData['data']['user_email'])));
- Exclude checks
Variable $tp
is undeclared Open
Open
$signup_data['user_realname'] = $tp->toDB($_POST['realname']);
- Exclude checks
Variable $sql
is undeclared Open
Open
$sql->gen("INSERT INTO `#user_extended` (user_extended_id) values ('{$nid}')");
- Exclude checks
Suspicious type true
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
$extraErrors[] = $badCodeMsg."\\n";
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender("", $message);
- Exclude checks
Invalid offset "user_loginname"
of array type array{user_ban:0}|array{user_ban:2}|array{user_ip:string}|array{user_join:int}|array{user_password:bool|string}|array{user_prefs:array|string}|array{user_sess:string}
Open
Open
$allData['data']['user_name'] = $allData['data']['user_loginname'];
- Exclude checks
Invalid offset "user_loginname"
of array type array{user_ban:0}|array{user_ban:2}|array{user_class:''}|array{user_ip:string}|array{user_join:int}|array{user_name:null}|array{user_password:bool|string}|array{user_perms:''}|array{user_prefs:''}|array{user_prefs:array|string}|array{user_realm:''}|array{user_sess:string}|array{user_signature:''}
Open
Open
$adviseLoginName = LAN_SIGNUP_65.': '.$allData['data']['user_loginname'].'<br />'.LAN_SIGNUP_66.'<br />';
- Exclude checks
Variable $admin_log
is undeclared Open
Open
$admin_log->user_audit(USER_AUDIT_SIGNUP,$signup_data);
- Exclude checks
Variable $sql
is undeclared Open
Open
$sql->update('user_extended', $eufVals);
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if ((USER || (intval($pref['user_reg']) !== 1) || (vartrue($pref['auth_method'],'e107') != 'e107')) && !getperms('0'))
- Exclude checks
Variable $this
is undeclared Open
Open
if(empty($noPasswordInput) && !isset($_POST['password1']) && $this->pref['user_reg_veri'] === 1)
- Exclude checks
Argument 1 (classList)
is 0
but \user_class::get_editable_classes()
takes string
defined at /code/e107_handlers/userclass_class.php:273
Open
Open
$publicClasses = e107::getUserClass()->get_editable_classes(e_UC_PUBLIC, true);
- Exclude checks
Invalid offset "user_loginname"
of array type array{user_ban:0}|array{user_ban:2}|array{user_ip:string}|array{user_join:int}|array{user_name:null}|array{user_password:bool|string}|array{user_prefs:array|string}|array{user_sess:string}
Open
Open
$signup_data['user_name'] = $allData['data']['user_loginname'];
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(getperms('0'))
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_SIGNUP_75, LAN_SIGNUP_101);
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_SIGNUP_78, $text, 'coppa');
- Exclude checks
Variable $sql
is undeclared Open
Open
if($ipcount = $sql->select('user', '*', "user_ip='".$allData['user_ip']."' and user_ban !='2' "))
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($_POST['email'] && $sql->select("user", "*", "user_email='".$_POST['email']."' AND user_ban='".USER_BANNED."'"))
- Exclude checks
Argument 2 (login_name)
is null
but \UserHandler::HashPassword()
takes string
defined at /code/e107_handlers/user_handler.php:226
Open
Open
$allData['data']['user_password'] = $userMethods->HashPassword($savePassword,$allData['data']['user_loginname']);
- Exclude checks
Variable $sql
is undeclared Open
Open
$nid = $sql->insert('user', $allData);
- Exclude checks
Invalid offset "user_login"
of array type array{activation_url:string}|array{user_ban:0}|array{user_ban:2}|array{user_class:''}|array{user_id:}|array{user_ip:string}|array{user_join:int}|array{user_name:null}|array{user_password:bool|string}|array{user_perms:''}|array{user_prefs:''}|array{user_prefs:array|string}|array{user_realm:''}|array{user_sess:string}|array{user_signature:''}
Open
Open
if(!vartrue($allData['data']['user_name'])) $allData['data']['user_name'] = $allData['data']['user_login'];
- Exclude checks
Variable $tp
is undeclared Open
Open
$text = $tp->parseTemplate($COPPA_FAIL);
- Exclude checks
Variable $signupData
was undeclared, but array fields are being added to it. Open
Open
$signupData[$a] = $tp->toForm(varset($allData['data'][$a],''));
- Exclude checks
Call to deprecated class \form
defined at /code/e107_handlers/form_handler.php:8340
Open
Open
$rs = new form;
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_SIGNUP_78, $text, 'coppa');
- Exclude checks
Variable $sql
is undeclared Open
Open
$user_class_update = $sql->update("user", "user_class = '{$allData['data']['user_class']}' WHERE user_name='{$allData['data']['user_name']}' LIMIT 1");
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender($after_signup['caption'], $after_signup['text']);
- Exclude checks
Variable $tp
is undeclared Open
Open
$text = $tp->toHTML(str_replace('{NEWLOGINNAME}', $loginname, $pref['signup_text_after']), TRUE, 'parse_sc,defs')."<br />";
- Exclude checks
Variable $tp
is undeclared Open
Open
$text = $tp->parseTemplate($COPPA_TEMPLATE, TRUE, $signup_shortcodes);
- Exclude checks
Invalid offset "user_email"
of array type array{user_ban:0}|array{user_ban:2}|array{user_class:''}|array{user_ip:string}|array{user_join:int}|array{user_name:null}|array{user_password:bool|string}|array{user_perms:''}|array{user_prefs:''}|array{user_prefs:array|string}|array{user_realm:''}|array{user_sess:string}|array{user_signature:''}
Open
Open
if (((int) $pref['user_reg_veri'] !== 2) && $allData['data']['user_email']) // Don't send if email address blank - means that its not compulsory
- Exclude checks
Argument 1 (user_id)
is false
but \e107::getSystemUser()
takes int
defined at /code/e107_handlers/e107_class.php:2081
Open
Open
$sysuser = e107::getSystemUser(false, false);
- Exclude checks
Variable $tp
is undeclared Open
Open
$text = $tp->parseTemplate($SIGNUP_BEGIN.$SIGNUP_BODY.$SIGNUP_END, TRUE, $signup_shortcodes);
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
$adviseLoginName = LAN_SIGNUP_65.': '.$allData['data']['user_loginname'].'<br />'.LAN_SIGNUP_66.'<br />';
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(getperms('0') && !empty($_POST['simulation']))
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
if(!$sql->select("user", "user_id", "user_loginname='".$allData['data']['user_loginname']."' AND user_password='".$allData['data']['user_password']."'"))
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender("", LAN_SIGNUP_36);
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_SIGNUP_79, e107::getMessage()->render('default', true).$text, 'signup' );
- Exclude checks
Variable $row
is undeclared Open
Open
if ($init_class = $userMethods->userClassUpdate($row, 'userpartial'))
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
$user_class_update = $sql->update("user", "user_class = '{$allData['data']['user_class']}' WHERE user_name='{$allData['data']['user_name']}' LIMIT 1");
- Exclude checks
Invalid offset "user_loginname"
of array type array{user_ban:0}|array{user_ban:2}|array{user_class:''}|array{user_ip:string}|array{user_join:int}|array{user_name:null}|array{user_password:bool|string}|array{user_perms:''}|array{user_prefs:''}|array{user_prefs:array|string}|array{user_realm:''}|array{user_sess:string}|array{user_signature:''}
Open
Open
if(!$sql->select("user", "user_id", "user_loginname='".$allData['data']['user_loginname']."' AND user_password='".$allData['data']['user_password']."'"))
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_SIGNUP_8,$text);
- Exclude checks
Function req
defined at /code/signup.php:668
was previously defined at /code/usersettings.php:1166
Open
Open
function req($field)
- Exclude checks
Variable $sql
is undeclared Open
Open
if(!$sql->select("user", "user_id", "user_loginname='".$allData['data']['user_loginname']."' AND user_password='".$allData['data']['user_password']."'"))
- Exclude checks
Variable $tp
is undeclared Open
Open
$signupData[$a] = $tp->toForm(varset($allData['data'][$a],''));
- Exclude checks