Showing 6,974 of 6,975 total issues
Call to deprecated function \resize_image()
defined at /code/e107_handlers/resize_handler.php:47
Open
Open
if (!resize_image(e_UPLOAD.$filename, e_UPLOAD.$submitnews_file, $pref['subnews_resize']))
- Exclude checks
Argument #2 of this call to \strpos
is typically a literal or constant but isn't, but argument #1 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order. Open
Open
define('ADMIN', strpos(e_SELF, (e107::getFolder('admin')) != false || strpos(e_PAGE, 'admin') !== false));
- Exclude checks
Argument 1 (var)
is ?array|?array{user_class:string}|?array{user_email:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_loginname:mixed}|?array{user_email:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:''}|?array{user_email?:null,user_class:string,user_image:mixed,user_name:mixed,user_sess:''}|?array{user_image:mixed,user_name:mixed,user_sess:''}|?array{user_loginname:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_email:mixed}|?array{user_loginname:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:''}|?array{user_loginname?:null,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_email:mixed}|?array{user_name:mixed}|?array{user_password:,user_email:mixed|null,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_prefs:array|string,user_loginname:mixed|null}|?array{user_password:}|?array{user_password?:null,user_email:mixed|null,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_prefs:array|string,user_loginname:mixed|null}|?array{user_prefs:array|string}|?array{user_sess:''}|?array{}|?bool|?string
but \count()
takes \Countable|array
Open
Open
if (count($changedUserData))
- Exclude checks
Argument 2 (value)
is 1
but \e_form::button()
takes array|string
defined at /code/e107_handlers/form_handler.php:3876
Open
Open
".e107::getForm()->button('SaveValidatedInfo',1, 'submit', LAN_ENTER)."
- 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
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
$full_perms = getperms("0") || check_class(varset($pref['memberlist_access'], 253)); // Controls display of info from other users
- Exclude checks
Call to deprecated function \e107::getDateConvert()
defined at /code/e107_handlers/e107_class.php:1948
Open
Open
$gen = e107::getDateConvert();
- 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
Argument 4 (mediaCat)
is null
but \e_form::bbarea()
takes string
defined at /code/e107_handlers/form_handler.php:2446
Open
Open
".e107::getForm()->bbarea('submitnews_item', $tp->toForm(vartrue($_POST['submitnews_item'])),null, null, 'large')."
- Exclude checks
Argument 5 (pid)
is null
but \comment::enter_comment()
takes \unknown_type|string
defined at /code/e107_handlers/comment_class.php:675
Open
Open
$cobj->enter_comment($_POST['author_name'], $_POST['comment'], 'profile', $id, null, $_POST['subject']);
- Exclude checks
When fetching an array index from a value of type array<int>|array<int>|int|string,</int></int>
found an array index of type 'avatar',
but expected the index to be of type int
Open
Open
if (varset($_FILES['file_userfile']['error']['avatar'], false) === UPLOAD_ERR_OK || varset($_FILES['file_userfile']['error']['photo'], false) == UPLOAD_ERR_OK)
- Exclude checks
Suspicious array access to nullable ?array|?array{user_class:string}|?array{user_image:mixed,user_name:mixed,user_sess:''}|?array{user_name:mixed}|?array{user_sess:''}|?array{}|?bool|?string
Open
Open
$loginname = $changedUserData['user_loginname'] ? $changedUserData['user_loginname'] : $udata['user_loginname'];
- 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