e107_core/shortcodes/batch/user_shortcodes.php
Avoid too many return
statements within this method. Open
Open
return ($boot) ? $tp->toGlyph('fa-user') : $this->sc_user_realname_icon();
Avoid too many return
statements within this method. Open
Open
return "";
Avoid too many return
statements within this method. Open
Open
return ($boot) ? $tp->toGlyph('fa-comment') : '';
Avoid too many return
statements within this method. Open
Open
return ($boot) ? $tp->toGlyph('fa-map-marker') : '';
Argument 1 (id)
is string
but \user_class::uc_get_classicon()
takes int
defined at /code/e107_handlers/userclass_class.php:1065
Open
Open
$icon_path = e107::getUserClass()->uc_get_classicon($userclass);
- Exclude checks
Variable $embed_already_rendered
is undeclared Open
Open
if(!in_array($hook, $embed_already_rendered)){
- Exclude checks
Reference to undeclared constant \USER_BIRTHDAY_ICON
Open
Open
return USER_BIRTHDAY_ICON;
- Exclude checks
Variable $pref
is undeclared Open
Open
$key = varset($pref['e_userprofile_list']);
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (USERID == $this->var['user_id'] || (ADMIN && getperms("4")))
- Exclude checks
Reference to undeclared constant \USER_REALNAME_ICON
Open
Open
$ret = USER_REALNAME_ICON;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(ADMIN && getperms("4"))
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (ADMIN && getperms("4"))
- Exclude checks
Argument 4 (width)
is null
but \comment::compose_comment()
takes int
defined at /code/e107_handlers/comment_class.php:1056
Open
Open
return e107::getComment()->compose_comment('profile', 'comment', $this->var['user_id'], null, $this->var['user_name'], false,'html');
- Exclude checks
Variable $USER_EMBED_USERPROFILE_TEMPLATE
is undeclared Open
Open
$ret .= str_replace($search, $replace, $USER_EMBED_USERPROFILE_TEMPLATE);
- Exclude checks
Argument 2 (parseBB)
is ''
but \e_parse::toHTML()
takes bool|false
defined at /code/e107_handlers/e_parse_class.php:1532
Open
Open
$extended_record = str_replace("{EXTENDED_NAME}", $tp->toHTML($ue_name,"","defs"), $extended_record);
- Exclude checks
Argument 2 (className)
is null
but \e107::getAddonConfig()
takes string
defined at /code/e107_handlers/e107_class.php:2962
Open
Open
$data = e107::getAddonConfig('e_user',null,'profile',$this->var);
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'field',
but expected the index to be of type int
Open
Open
$fld = 'user_'.$parm['field'];
- Exclude checks
Variable $arr
was undeclared, but array fields are being added to it. Open
Open
$arr[] = $name();
- Exclude checks
Reference to undeclared constant \USER_EMAIL_ICON
Open
Open
return USER_EMAIL_ICON;
- Exclude checks
Call to deprecated function \e107_user_extended::user_extended_get_categories()
defined at /code/e107_handlers/user_extended_class.php:595
Open
Open
$ueCatList = $ue->user_extended_get_categories();
- Exclude checks
Variable $embed_already_rendered
was undeclared, but array fields are being added to it. Open
Open
$embed_already_rendered[] = $hook;
- Exclude checks
Returning type false
but sc_user_euf()
is declared to return string
Open
Open
return false;
- Exclude checks
Reference to undeclared constant \USER_ICON
Open
Open
$icon = USER_ICON;
- Exclude checks
Variable $USER_EMBED_USERPROFILE_TEMPLATE
is undeclared Open
Open
$ret .= str_replace($search, $replace, $USER_EMBED_USERPROFILE_TEMPLATE);
- Exclude checks
Returning type false
but sc_user_euf()
is declared to return string
Open
Open
return false;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
else if(ADMIN && getperms("4") && !$this->var['user_admin'])
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
else if(ADMIN && getperms("4") && !$this->var['user_admin'])
- Exclude checks