Showing 6,974 of 6,975 total issues
Argument 3 (selected)
is string|string[]
but \e_form::select()
takes bool|false
defined at /code/e107_handlers/form_handler.php:3325
Open
Open
$text .= e107::getForm()->select('category', $newArray, $_POST['category'], array('default'=>''));
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!(ADMIN && getperms('4')))
- Exclude checks
Variable $sql
is undeclared Open
Open
$sql->select("forum", "forum_name, forum_class", "forum_id=" . intval($tmp[0]));
- Exclude checks
Variable $textstring
is undeclared Open
Open
$text = $textstart . $textstring . $textend;
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
$books = e107::getDb()->retrieve("SELECT chapter_id,chapter_sef,chapter_name,chapter_parent,chapter_meta_description,chapter_image,chapter_icon FROM #page_chapters ORDER BY chapter_id ASC" , true);
- Exclude checks
Invalid offset "chapter_parent"
of array type array{book_sef:mixed}|null
Open
Open
$row['book_id'] = (int) $row['chapter_parent'];
- Exclude checks
Invalid offset "chapter_parent"
of array type array{book_icon:mixed}|array{book_id:int}|array{book_name:mixed}|array{book_sef:}|null
Open
Open
$row['book_description'] = $this->getDescription($row['chapter_parent']);
- Exclude checks
Argument 2 (options)
is 'w=1200'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$mimg = $tp->thumbUrl($this->page['page_metaimage'],'w=1200', false, true);
- Exclude checks
Argument 2 (content)
is array|string|string[]
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:image', $im);
- 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
echo "<b>multipageFlag</b> ".$this->multipageFlag." <br />";
- 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
Argument 2 (needle)
is bool
but \strpos()
takes int|string
Open
Open
define('ADMIN', strpos(e_SELF, (e107::getFolder('admin')) != false || strpos(e_PAGE, 'admin') !== false));
- Exclude checks
Call to deprecated class \form
defined at /code/e107_handlers/form_handler.php:8340
Open
Open
$user_frm = new form;
- Exclude checks
Suspicious type bool
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
$parms = $ftotal.",10,".$from.",".e_REQUEST_SELF."?[FROM].forums.".$id;
- Exclude checks
Argument 1 (var)
is ?array|?array{user_class:string,user_image:mixed,user_sess:'',user_prefs:array|string,user_loginname:mixed|null,user_name:null,user_password?:null}|?array{user_email?:null,user_class:string,user_image:mixed,user_sess:'',user_prefs:array|string,user_loginname:mixed|null,user_name:null,user_password?:null}|?bool|?string
but \count()
takes \Countable|array
Open
Open
if (count($changedUserData) && isset($user_logging_opts[USER_AUDIT_NEW_SET]))
- Exclude checks