e107_handlers/sitelinks_class.php
Avoid deeply nested control flow statements. Open
Open
if(!empty($sublinkArray))
{
$this->eLinkList['sub_'.$row['link_id']] = $sublinkArray;
}
Consider simplifying this complex logical expression. Open
Open
if($style['linkdisplay'] != self::LINK_DISPLAY_OTHER)
{
foreach($this->eLinkList['head_menu'] as $key => $link)
{
Consider simplifying this complex logical expression. Open
Open
if(isset($style['sublinkdisplay']) || isset($style['subindent']) || isset($style['sublinkclass']) || isset($style['sublinkstart']) || isset($style['sublinkend']) || isset($style['subpostlink']))
{
foreach($style as $key => $val)
{
$aSubStyle[$key] = vartrue($style["sub" . $key]) ? $style["sub" . $key] : $style[$key];
Avoid too many return
statements within this method. Open
Open
return FALSE;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $qry[2] == $lnk[1];
Avoid too many return
statements within this method. Open
Open
return TRUE;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return TRUE;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $this->restoreKeys($sorted); // we restore the keys with this.
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return array();
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return FALSE;
Avoid too many return
statements within this method. Open
Open
return TRUE;
Avoid too many return
statements within this method. Open
Open
return TRUE;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return TRUE;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return FALSE;
Avoid too many return
statements within this method. Open
Open
return TRUE;
Avoid too many return
statements within this method. Open
Open
return TRUE;
Avoid too many return
statements within this method. Open
Open
return FALSE;
Reference to undeclared constant \LINKSTART_HILITE
Open
Open
$style['linkstart_hilite'] = defined('LINKSTART_HILITE') ? LINKSTART_HILITE : "";
- Exclude checks
Reference to undeclared constant \E_32_NOTIFY
Open
Open
'notify' => E_32_NOTIFY,
- Exclude checks
Reference to undeclared constant \E_32_THEMEMANAGER
Open
Open
'theme_manage' => E_32_THEMEMANAGER,
- Exclude checks
Assigning array{}
to property but \e_navigation->_md5cache
is \md5
Open
Open
protected $_md5cache = array();
- Exclude checks
Reference to undeclared constant \E_16_PLUGMANAGER
Open
Open
return $this->pluginLinks(E_16_PLUGMANAGER, "standard") ;
- Exclude checks
Reference to undeclared constant \E_16_MANAGE
Open
Open
$array_sub_functions[17][] = array(e_ADMIN.'newspost.php', LAN_MANAGE, ADLAN_3, 'H', 3, E_16_MANAGE, E_32_MANAGE);
- Exclude checks
Reference to undeclared constant \E_32_ADMIN
Open
Open
0 => array(e_ADMIN_ABS.'administrator.php', ADLAN_8, ADLAN_9, '3', 2, E_16_ADMIN, E_32_ADMIN),
- Exclude checks
Reference to undeclared constant \LINKSEPARATOR
Open
Open
$style['linkseparator'] = defined('LINKSEPARATOR') ? LINKSEPARATOR : '';
- 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
if((!$link_qry && !e_QUERY) && (empty($link) == FALSE) && (strpos(e_SELF,$link) !== FALSE))
- Exclude checks
Reference to undeclared constant \E_32_BANLIST
Open
Open
'banlist' => E_32_BANLIST,
- Exclude checks
Reference to undeclared constant \E_32_DOCS
Open
Open
'docs' => E_32_DOCS,
- Exclude checks
Reference to undeclared constant \E_32_PREFS
Open
Open
'prefs' => E_32_PREFS,
- Exclude checks
Reference to undeclared constant \E_16_BANLIST
Open
Open
2 => array(e_ADMIN_ABS.'banlist.php', ADLAN_34, ADLAN_35, '4', 2, E_16_BANLIST, E_32_BANLIST),
- Exclude checks
Reference to undeclared constant \E_32_META
Open
Open
16 => array(e_ADMIN_ABS.'meta.php', ADLAN_66, ADLAN_67, 'T', 1, E_16_META, E_32_META),
- Exclude checks
Reference to undeclared constant \E_32_DATAB
Open
Open
'database' => E_32_DATAB,
- Exclude checks
Reference to undeclared constant \E_32_EMOTE
Open
Open
'emoticon' => E_32_EMOTE,
- Exclude checks
Reference to undeclared constant \E_32_USERCLASS
Open
Open
'userclass' => E_32_USERCLASS,
- Exclude checks
Reference to undeclared constant \E_16_PLUGMANAGER
Open
Open
return $this->pluginLinks(E_16_PLUGMANAGER, "array") ;
- Exclude checks
Reference to undeclared constant \E_16_ADPASS
Open
Open
1 => array(e_ADMIN_ABS.'updateadmin.php', ADLAN_10, ADLAN_11, false, 2, E_16_ADPASS, E_32_ADPASS),
- Exclude checks
Reference to undeclared constant \E_16_MENUS
Open
Open
15 => array(e_ADMIN_ABS.'menus.php', ADLAN_6, ADLAN_7, '2', 5, E_16_MENUS, E_32_MENUS),
- Exclude checks
Reference to undeclared constant \E_16_SEARCH
Open
Open
20 => array(e_ADMIN_ABS.'search.php', LAN_SEARCH, ADLAN_143, 'X', 1, E_16_SEARCH, E_32_SEARCH),
- Exclude checks
Reference to undeclared constant \E_16_USERCLASS
Open
Open
25 => array(e_ADMIN_ABS.'userclass2.php', ADLAN_38, ADLAN_39, '4', 2, E_16_USERCLASS, E_32_USERCLASS),
- Exclude checks
Reference to undeclared constant \LINKDISPLAY
Open
Open
$style['linkdisplay'] = defined('LINKDISPLAY') ? LINKDISPLAY : '';
- Exclude checks
Reference to undeclared constant \HILITE
Open
Open
if(strpos($link,HILITE))
- Exclude checks
Reference to undeclared constant \LINKDISPLAY
Open
Open
if(LINKDISPLAY == self::LINK_DISPLAY_SLIDER)
- Exclude checks
Reference to undeclared constant \POSTLINK
Open
Open
$style['postlink'] = defined('POSTLINK') ? POSTLINK : '';
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (e_MENU === "debug" && getperms('0'))
- Exclude checks
Reference to undeclared constant \LINKCLASS_HILITE
Open
Open
$style['linkclass_hilite'] = defined('LINKCLASS_HILITE') ? LINKCLASS_HILITE : "";
- Exclude checks
Reference to undeclared constant \E_32_POLLS
Open
Open
'poll' => E_32_POLLS,
- Exclude checks
Reference to undeclared constant \E_32_IMAGES
Open
Open
'image' => E_32_IMAGES,
- Exclude checks
Reference to undeclared constant \E_32_USER
Open
Open
'users' => E_32_USER,
- Exclude checks
Reference to undeclared constant \E_32_LINKS
Open
Open
'links' => E_32_LINKS,
- Exclude checks
Reference to undeclared constant \E_32_WELCOME
Open
Open
'wmessage' => E_32_WELCOME
- Exclude checks
Property \e_navigation->_md5cache
has undeclared type \md5
Open
Open
protected $_md5cache = array();
- 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
if(($link_slf == e_SELF && !$link_qry) || (e_QUERY && empty($link) == FALSE && strpos(e_SELF."?".e_QUERY,$link)!== FALSE) )
- Exclude checks
Reference to undeclared constant \E_32_CACHE
Open
Open
'cache' => E_32_CACHE,
- Exclude checks
Reference to undeclared constant \E_32_MANAGE
Open
Open
$array_sub_functions[17][] = array(e_ADMIN.'newspost.php', LAN_MANAGE, ADLAN_3, 'H', 3, E_16_MANAGE, E_32_MANAGE);
- Exclude checks
Reference to undeclared constant \E_32_CUST
Open
Open
'custom' => E_32_CUST,
- Exclude checks
Reference to undeclared constant \E_32_IMAGES
Open
Open
11 => array(e_ADMIN_ABS.'image.php', LAN_MEDIAMANAGER, LAN_MEDIAMANAGER, 'A', 5, E_16_IMAGES, E_32_IMAGES),
- Exclude checks
Reference to undeclared constant \E_16_SETTINGS
Open
Open
$array_sub_functions[17][] = array(e_ADMIN.'newspost.php?pref', LAN_PREFS, LAN_PREFS, 'H', 3, E_16_SETTINGS, E_32_SETTINGS);
- Exclude checks
Reference to undeclared constant \E_32_LINKS
Open
Open
12 => array(e_ADMIN_ABS.'links.php', LAN_NAVIGATION, ADLAN_139, 'I', 1, E_16_LINKS, E_32_LINKS),
- Exclude checks
Reference to undeclared constant \E_32_ADPASS
Open
Open
1 => array(e_ADMIN_ABS.'updateadmin.php', ADLAN_10, ADLAN_11, false, 2, E_16_ADPASS, E_32_ADPASS),
- Exclude checks
Reference to undeclared constant \E_32_UPLOADS
Open
Open
23 => array(e_ADMIN_ABS.'upload.php', ADLAN_72, ADLAN_73, 'V', 3, E_16_UPLOADS, E_32_UPLOADS),
- Exclude checks
Reference to undeclared constant \E_32_CACHE
Open
Open
4 => array(e_ADMIN_ABS.'cache.php', ADLAN_74, ADLAN_75, 'C', 1, E_16_CACHE, E_32_CACHE),
- Exclude checks
Reference to undeclared constant \E_32_FRONT
Open
Open
10 => array(e_ADMIN_ABS.'frontpage.php', ADLAN_60, ADLAN_61, 'G', 1, E_16_FRONT, E_32_FRONT),
- Exclude checks
Reference to undeclared constant \SUBLINKEND
Open
Open
$style['sublinkend'] = defined('SUBLINKEND') ? SUBLINKEND : '';
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(e_MENU === "debug" && getperms('0'))
- Exclude checks
Reference to undeclared constant \E_32_FRONT
Open
Open
'frontpage' => E_32_FRONT,
- Exclude checks
Reference to undeclared constant \E_32_PLUGMANAGER
Open
Open
'plug_manage' => E_32_PLUGMANAGER,
- Exclude checks
Reference to undeclared constant \E_32_ADMINLOG
Open
Open
'syslogs' => E_32_ADMINLOG,
- Exclude checks
Reference to undeclared constant \E_32_SETTINGS
Open
Open
$array_sub_functions[17][] = array(e_ADMIN.'newspost.php?pref', LAN_PREFS, LAN_PREFS, 'H', 3, E_16_SETTINGS, E_32_SETTINGS);
- Exclude checks
Reference to undeclared constant \E_32_DATAB
Open
Open
6 => array(e_ADMIN_ABS.'db.php', ADLAN_44, ADLAN_45, '0', 4, E_16_DATAB, E_32_DATAB),
- Exclude checks
Reference to undeclared constant \LINKSTART
Open
Open
$style['linkstart'] = defined('LINKSTART') ? LINKSTART : '';
- 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
return (strpos(e_SELF, $link_slf) && e_QUERY == $link_qry);
- Exclude checks
Reference to undeclared constant \E_32_CRON
Open
Open
'cron' => E_32_CRON,
- Exclude checks
Reference to undeclared constant \E_32_MAINTAIN
Open
Open
'maintain' => E_32_MAINTAIN,
- Exclude checks
Reference to undeclared constant \E_32_PHP
Open
Open
'phpinfo' => E_32_PHP,
- Exclude checks
Reference to undeclared constant \E_32_CREATE
Open
Open
$array_sub_functions[17][] = array(e_ADMIN.'newspost.php?create', LAN_CREATE, ADLAN_2, 'H', 3, E_16_CREATE, E_32_CREATE);
- Exclude checks
Reference to undeclared constant \E_16_DATAB
Open
Open
6 => array(e_ADMIN_ABS.'db.php', ADLAN_44, ADLAN_45, '0', 4, E_16_DATAB, E_32_DATAB),
- Exclude checks
Reference to undeclared constant \E_16_LINKS
Open
Open
12 => array(e_ADMIN_ABS.'links.php', LAN_NAVIGATION, ADLAN_139, 'I', 1, E_16_LINKS, E_32_LINKS),
- Exclude checks
Reference to undeclared constant \E_16_WELCOME
Open
Open
13 => array(e_ADMIN_ABS.'wmessage.php', ADLAN_28, ADLAN_29, 'M', 3, E_16_WELCOME, E_32_WELCOME),
- Exclude checks
Reference to undeclared constant \E_16_MAINTAIN
Open
Open
14 => array(e_ADMIN_ABS.'ugflag.php', ADLAN_40, ADLAN_41, '9', 4, E_16_MAINTAIN, E_32_MAINTAIN),
- Exclude checks
Reference to undeclared constant \E_16_PREFS
Open
Open
19 => array(e_ADMIN_ABS.'prefs.php', LAN_PREFS, ADLAN_5, '1', 1, E_16_PREFS, E_32_PREFS),
- Exclude checks
Reference to undeclared constant \E_16_COMMENT
Open
Open
38 => array(e_ADMIN_ABS.'comment.php', LAN_COMMENTMAN, LAN_COMMENTMAN, 'B', 5, E_16_COMMENT, E_32_COMMENT),
- Exclude checks
Reference to undeclared constant \E_32_FILE
Open
Open
'filemanage' => E_32_FILE,
- Exclude checks
Reference to undeclared constant \E_32_LANGUAGE
Open
Open
'language' => E_32_LANGUAGE,
- Exclude checks
Reference to undeclared constant \E_32_MENUS
Open
Open
'menus' => E_32_MENUS,
- Exclude checks
Reference to undeclared constant \E_32_NEWSFEED
Open
Open
'newsfeed' => E_32_NEWSFEED,
- Exclude checks
Reference to undeclared constant \E_32_EURL
Open
Open
'eurl' => E_32_EURL,
- Exclude checks
Reference to undeclared constant \E_32_CUST
Open
Open
5 => array(e_ADMIN_ABS.'cpage.php', ADLAN_42, ADLAN_43, '5|J', 3, E_16_CUST, E_32_CUST),
- Exclude checks
Reference to undeclared constant \E_32_MENUS
Open
Open
15 => array(e_ADMIN_ABS.'menus.php', ADLAN_6, ADLAN_7, '2', 5, E_16_MENUS, E_32_MENUS),
- Exclude checks
Reference to undeclared constant \E_16_META
Open
Open
16 => array(e_ADMIN_ABS.'meta.php', ADLAN_66, ADLAN_67, 'T', 1, E_16_META, E_32_META),
- Exclude checks
Reference to undeclared constant \E_32_PHP
Open
Open
18 => array(e_ADMIN_ABS.'phpinfo.php', ADLAN_68, ADLAN_69, '0', 20, E_16_PHP, E_32_PHP),
- Exclude checks
Reference to undeclared constant \E_32_PREFS
Open
Open
19 => array(e_ADMIN_ABS.'prefs.php', LAN_PREFS, ADLAN_5, '1', 1, E_16_PREFS, E_32_PREFS),
- Exclude checks
Reference to undeclared constant \E_16_LANGUAGE
Open
Open
26 => array(e_ADMIN_ABS.'language.php', ADLAN_132, ADLAN_133, 'L', 1, E_16_LANGUAGE, E_32_LANGUAGE),
- Exclude checks
Reference to undeclared constant \E_32_COMMENT
Open
Open
'comment' => E_32_COMMENT,
- Exclude checks
Reference to undeclared constant \E_32_CREDITS
Open
Open
'credits' => E_32_CREDITS,
- Exclude checks
Reference to undeclared constant \E_16_CUST
Open
Open
5 => array(e_ADMIN_ABS.'cpage.php', ADLAN_42, ADLAN_43, '5|J', 3, E_16_CUST, E_32_CUST),
- Exclude checks
Reference to undeclared constant \E_32_WELCOME
Open
Open
13 => array(e_ADMIN_ABS.'wmessage.php', ADLAN_28, ADLAN_29, 'M', 3, E_16_WELCOME, E_32_WELCOME),
- Exclude checks
Reference to undeclared constant \E_32_ADMINLOG
Open
Open
21 => array(e_ADMIN_ABS.'admin_log.php', ADLAN_155, ADLAN_156, 'S', 4, E_16_ADMINLOG, E_32_ADMINLOG),
- Exclude checks
Reference to undeclared constant \E_16_NOTIFY
Open
Open
30 => array(e_ADMIN_ABS.'notify.php', ADLAN_149, ADLAN_150, 'O', 4, E_16_NOTIFY, E_32_NOTIFY),
- Exclude checks
Variable $aSubStyle
was undeclared, but array fields are being added to it. Open
Open
$aSubStyle[$key] = vartrue($style["sub" . $key]) ? $style["sub" . $key] : $style[$key];
- Exclude checks
Variable $style
is undeclared Open
Open
$sub['link_expand'] = ((isset($pref['sitelinks_expandsub']) && $pref['sitelinks_expandsub']) && empty($style['linkmainonly']) && !defined("LINKSRENDERONLYMAIN") && isset($this->eLinkList[$main_linkid]) && is_array($this->eLinkList[$main_linkid]));
- Exclude checks
Argument 2 (enabled)
is ''
but \sitelinks::hilite()
takes bool|false
defined at /code/e107_handlers/sitelinks_class.php:482
Open
Open
if ($this->hilite($linkInfo['link_url'], $style['linkstart_hilite'])== TRUE)
- Exclude checks
Reference to undeclared constant \E_32_ADMIN
Open
Open
'admin' => E_32_ADMIN,
- Exclude checks
Reference to undeclared constant \LINKCLASS
Open
Open
$style['linkclass'] = defined('LINKCLASS') ? LINKCLASS : "";
- Exclude checks
Reference to undeclared constant \E_32_USER_EXTENDED
Open
Open
'user_extended' => E_32_USER_EXTENDED,
- Exclude checks
Reference to undeclared constant \E_16_CACHE
Open
Open
4 => array(e_ADMIN_ABS.'cache.php', ADLAN_74, ADLAN_75, 'C', 1, E_16_CACHE, E_32_CACHE),
- Exclude checks
Reference to undeclared constant \SUBLINKSTART
Open
Open
$style['sublinkstart'] = defined('SUBLINKSTART') ? SUBLINKSTART : '';
- Exclude checks
Reference to undeclared constant \E_32_MAINTAIN
Open
Open
14 => array(e_ADMIN_ABS.'ugflag.php', ADLAN_40, ADLAN_41, '9', 4, E_16_MAINTAIN, E_32_MAINTAIN),
- Exclude checks
Reference to undeclared constant \SUBLINKCLASS
Open
Open
$style['sublinkclass'] = defined('SUBLINKCLASS') ? SUBLINKCLASS : '';
- Exclude checks
Reference to undeclared constant \E_16_NEWS
Open
Open
17 => array(e_ADMIN_ABS.'newspost.php', ADLAN_0, ADLAN_1, 'H|N|7|H0|H1|H2|H3|H4|H5', 3, E_16_NEWS, E_32_NEWS),
- Exclude checks
Reference to undeclared constant \E_16_INSPECT
Open
Open
29 => array(e_ADMIN_ABS.'fileinspector.php', ADLAN_147, ADLAN_148, 'Y', 4, E_16_INSPECT, E_32_INSPECT),
- Exclude checks
Reference to undeclared constant \E_16_EMOTE
Open
Open
8 => array(e_ADMIN_ABS.'emoticon.php', ADLAN_58, ADLAN_59, 'F', 1, E_16_EMOTE, E_32_EMOTE),
- Exclude checks
Reference to undeclared constant \E_16_PHP
Open
Open
18 => array(e_ADMIN_ABS.'phpinfo.php', ADLAN_68, ADLAN_69, '0', 20, E_16_PHP, E_32_PHP),
- Exclude checks
Reference to undeclared constant \E_32_SEARCH
Open
Open
20 => array(e_ADMIN_ABS.'search.php', LAN_SEARCH, ADLAN_143, 'X', 1, E_16_SEARCH, E_32_SEARCH),
- Exclude checks
Reference to undeclared constant \E_16_ADMINLOG
Open
Open
21 => array(e_ADMIN_ABS.'admin_log.php', ADLAN_155, ADLAN_156, 'S', 4, E_16_ADMINLOG, E_32_ADMINLOG),
- Exclude checks
Reference to undeclared constant \E_16_UPLOADS
Open
Open
23 => array(e_ADMIN_ABS.'upload.php', ADLAN_72, ADLAN_73, 'V', 3, E_16_UPLOADS, E_32_UPLOADS),
- Exclude checks
Reference to undeclared constant \E_32_MAIL
Open
Open
27 => array(e_ADMIN_ABS.'mailout.php', ADLAN_136, ADLAN_137, 'W', 2, E_16_MAIL, E_32_MAIL),
- 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
if(!preg_match("/all|item|cat|list/", e_QUERY) && (strpos(e_SELF, str_replace("../", "",$link)) !== false))
- Exclude checks
Reference to undeclared constant \E_32_ADPASS
Open
Open
'admin_pass' => E_32_ADPASS,
- Exclude checks
Reference to undeclared constant \E_16_ADMIN
Open
Open
0 => array(e_ADMIN_ABS.'administrator.php', ADLAN_8, ADLAN_9, '3', 2, E_16_ADMIN, E_32_ADMIN),
- Exclude checks
Reference to undeclared constant \E_32_BANLIST
Open
Open
2 => array(e_ADMIN_ABS.'banlist.php', ADLAN_34, ADLAN_35, '4', 2, E_16_BANLIST, E_32_BANLIST),
- Exclude checks
Reference to undeclared constant \E_32_LANGUAGE
Open
Open
26 => array(e_ADMIN_ABS.'language.php', ADLAN_132, ADLAN_133, 'L', 1, E_16_LANGUAGE, E_32_LANGUAGE),
- Exclude checks
Variable $sub
was undeclared, but array fields are being added to it. Open
Open
$sub['link_expand'] = ((isset($pref['sitelinks_expandsub']) && $pref['sitelinks_expandsub']) && empty($style['linkmainonly']) && !defined("LINKSRENDERONLYMAIN") && isset($this->eLinkList[$main_linkid]) && is_array($this->eLinkList[$main_linkid]));
- 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
$link_match = (empty($tmp[0])) ? "": strpos(e_SELF,$tmp[0]); // e_SELF is the actual displayed page
- Exclude checks
Reference to undeclared constant \E_32_INSPECT
Open
Open
'fileinspector' => E_32_INSPECT,
- Exclude checks
Reference to undeclared constant \E_32_SEARCH
Open
Open
'search' => E_32_SEARCH,
- Exclude checks
Reference to undeclared constant \E_32_NEWS
Open
Open
17 => array(e_ADMIN_ABS.'newspost.php', ADLAN_0, ADLAN_1, 'H|N|7|H0|H1|H2|H3|H4|H5', 3, E_16_NEWS, E_32_NEWS),
- Exclude checks
Reference to undeclared constant \E_16_THEMEMANAGER
Open
Open
22 => array(e_ADMIN_ABS.'theme.php', ADLAN_140, ADLAN_141, '1|TMP', 5, E_16_THEMEMANAGER, E_32_THEMEMANAGER),
- Exclude checks
Reference to undeclared constant \E_32_USER
Open
Open
24 => array(e_ADMIN_ABS.'users.php', ADLAN_36, ADLAN_37, '4|U0|U1|U2|U3', 2, E_16_USER, E_32_USER),
- Exclude checks
Reference to undeclared constant \LINKEND
Open
Open
$style['linkend'] = defined('LINKEND') ? LINKEND : '';
- Exclude checks
Reference to undeclared constant \PRELINK
Open
Open
$style['prelink'] = defined('PRELINK') ? PRELINK : '';
- Exclude checks
Reference to undeclared constant \E_32_META
Open
Open
'meta' => E_32_META,
- Exclude checks
Reference to undeclared constant \E_32_NEWS
Open
Open
'news' => E_32_NEWS,
- 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
if(!preg_match("/all|item|cat|list/", e_QUERY) && (empty($link) == false) && (strpos(e_SELF, str_replace("../", "",$link)) !== false))
- Exclude checks
Reference to undeclared constant \E_16_IMAGES
Open
Open
11 => array(e_ADMIN_ABS.'image.php', LAN_MEDIAMANAGER, LAN_MEDIAMANAGER, 'A', 5, E_16_IMAGES, E_32_IMAGES),
- Exclude checks
Reference to undeclared constant \E_32_MAIN
Open
Open
'main' => E_32_MAIN,
- Exclude checks
Suspicious array access to nullable ?array{link_function:mixed,link_sub:,link_identifier:mixed}|?array{link_identifier:mixed,link_sub:}|?array{link_identifier:string}|?array{link_sub:}|?mixed
Open
Open
$this->compile($inArray, $val['link_sub'], $val['link_id']);
- Exclude checks
Reference to undeclared constant \E_32_MAIL
Open
Open
'mail' => E_32_MAIL,
- Exclude checks
Reference to undeclared constant \E_32_UPLOADS
Open
Open
'upload' => E_32_UPLOADS,
- Exclude checks
Reference to undeclared constant \E_16_CREATE
Open
Open
$array_sub_functions[17][] = array(e_ADMIN.'newspost.php?create', LAN_CREATE, ADLAN_2, 'H', 3, E_16_CREATE, E_32_CREATE);
- Exclude checks
Reference to undeclared constant \E_32_EMOTE
Open
Open
8 => array(e_ADMIN_ABS.'emoticon.php', ADLAN_58, ADLAN_59, 'F', 1, E_16_EMOTE, E_32_EMOTE),
- Exclude checks
Reference to undeclared constant \E_16_FRONT
Open
Open
10 => array(e_ADMIN_ABS.'frontpage.php', ADLAN_60, ADLAN_61, 'G', 1, E_16_FRONT, E_32_FRONT),
- Exclude checks
Reference to undeclared constant \E_32_THEMEMANAGER
Open
Open
22 => array(e_ADMIN_ABS.'theme.php', ADLAN_140, ADLAN_141, '1|TMP', 5, E_16_THEMEMANAGER, E_32_THEMEMANAGER),
- Exclude checks
Reference to undeclared constant \E_16_USER
Open
Open
24 => array(e_ADMIN_ABS.'users.php', ADLAN_36, ADLAN_37, '4|U0|U1|U2|U3', 2, E_16_USER, E_32_USER),
- Exclude checks
Suspicious array access to nullable ?array{link_function:mixed,link_sub:array|array{}|mixed|string|true,link_identifier:mixed}|?array{link_identifier:mixed,link_sub:array|array{}|mixed|string|true}|?array{link_identifier:string}|?array{link_sub:array|array{}|mixed|string|true}|?mixed
Open
Open
$this->compile($inArray, $val['link_sub'], $val['link_id']);
- Exclude checks
Reference to undeclared constant \E_16_USER_EXTENDED
Open
Open
28 => array(e_ADMIN_ABS.'users_extended.php', ADLAN_78, ADLAN_79, '4', 2, E_16_USER_EXTENDED, E_32_USER_EXTENDED),
- Exclude checks
Reference to undeclared constant \E_32_NOTIFY
Open
Open
30 => array(e_ADMIN_ABS.'notify.php', ADLAN_149, ADLAN_150, 'O', 4, E_16_NOTIFY, E_32_NOTIFY),
- 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
if(strpos(e_REQUEST_URL, $match) !== false)
- Exclude checks
Reference to undeclared constant \E_32_USERCLASS
Open
Open
25 => array(e_ADMIN_ABS.'userclass2.php', ADLAN_38, ADLAN_39, '4', 2, E_16_USERCLASS, E_32_USERCLASS),
- Exclude checks
Reference to undeclared constant \E_32_PLUGMANAGER
Open
Open
33 => array(e_ADMIN_ABS.'plugin.php', ADLAN_98, ADLAN_99, 'Z', 5 , E_16_PLUGMANAGER, E_32_PLUGMANAGER),
- Exclude checks
Reference to undeclared constant \E_16_E107
Open
Open
36 => array(e_ADMIN_ABS.'credits.php', LAN_CREDITS, LAN_CREDITS, false, 20, E_16_E107, E_32_E107),
- Exclude checks
Reference to undeclared constant \E_16_PLUGMANAGER
Open
Open
$the_icon = ($iconSize == E_16_PLUGMANAGER) ? $plug_value['icon'] : $plug_value['icon_32'];
- Exclude checks
Argument 3 (subject)
is int
but \str_replace()
takes array|string
Open
Open
$rid = str_replace(array(' ', '_'), '-', $act).($id ? "-{$id}" : '');
- Exclude checks
Returning type null
but admin()
is declared to return string
Open
Open
return $ret;
- Exclude checks
Suspicious type array|true
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
return '<div class="dropdown-menu">'.$text.'</div>'; // @todo use template?
- Exclude checks
Reference to undeclared constant \E_16_MAIL
Open
Open
27 => array(e_ADMIN_ABS.'mailout.php', ADLAN_136, ADLAN_137, 'W', 2, E_16_MAIL, E_32_MAIL),
- Exclude checks
Reference to undeclared constant \E_32_INSPECT
Open
Open
29 => array(e_ADMIN_ABS.'fileinspector.php', ADLAN_147, ADLAN_148, 'Y', 4, E_16_INSPECT, E_32_INSPECT),
- Exclude checks
Reference to undeclared constant \E_16_DOCS
Open
Open
34 => array(e_ADMIN_ABS.'docs.php', ADLAN_12, ADLAN_13, false, 20, E_16_DOCS, E_32_DOCS),
- Exclude checks
When fetching an array index from a value of type array|array{icon:mixed|string}|array{key:string},
found an array index of type 6,
but expected the index to be of type string
Open
Open
$val['icon_32'] = $val[6];
- Exclude checks
Reference to undeclared constant \E_32_USER_EXTENDED
Open
Open
28 => array(e_ADMIN_ABS.'users_extended.php', ADLAN_78, ADLAN_79, '4', 2, E_16_USER_EXTENDED, E_32_USER_EXTENDED),
- Exclude checks
Reference to undeclared constant \E_32_E107
Open
Open
36 => array(e_ADMIN_ABS.'credits.php', LAN_CREDITS, LAN_CREDITS, false, 20, E_16_E107, E_32_E107),
- Exclude checks
When fetching an array index from a value of type array|array{icon:mixed|string}|array{icon_32:mixed|string}|array{key:string}|array{title:mixed|string},
found an array index of type 0,
but expected the index to be of type string
Open
Open
$val['link'] = $val[0];
- Exclude checks
Suspicious array access to nullable ?array{link_function:mixed,link_sub:,link_identifier:mixed}|?array{link_identifier:mixed,link_sub:}|?array{link_identifier:string}|?array{link_sub:}|?mixed
Open
Open
if( $val['link_id'] != $pid)
- Exclude checks
Returning type null
but admin()
is declared to return string
Open
Open
return null;
- Exclude checks
Argument 1 (array_arg)
is string
but \sort()
takes array
Open
Open
sort($uclist, SORT_NUMERIC);
- Exclude checks
Reference to undeclared constant \E_16_EURL
Open
Open
32 => array(e_ADMIN_ABS.'eurl.php', ADLAN_159, ADLAN_160, 'K', 1, E_16_EURL, E_32_EURL),
- Exclude checks
Reference to undeclared constant \E_32_DOCS
Open
Open
34 => array(e_ADMIN_ABS.'docs.php', ADLAN_12, ADLAN_13, false, 20, E_16_DOCS, E_32_DOCS),
- Exclude checks
Reference to undeclared constant \E_32_COMMENT
Open
Open
38 => array(e_ADMIN_ABS.'comment.php', LAN_COMMENTMAN, LAN_COMMENTMAN, 'B', 5, E_16_COMMENT, E_32_COMMENT),
- Exclude checks
Reference to undeclared constant \E_32_CRON
Open
Open
31 => array(e_ADMIN_ABS.'cron.php', ADLAN_157, ADLAN_158, 'U', 4, E_16_CRON, E_32_CRON),
- Exclude checks
Argument 5 (sub_link)
is true
but \e_navigation::admin()
takes array|false
defined at /code/e107_handlers/sitelinks_class.php:1251
Open
Open
$replace['SUB_MENU'] .= $this->admin(false, $active_page, $e107_vars[$act]['sub'], $tmpl, true, (isset($e107_vars[$act]['sort']) ? $e107_vars[$act]['sort'] : $sortlist));
- Exclude checks
Argument 1 (id)
is null
but \e_render::setUniqueId()
takes string
defined at /code/e107_handlers/e_render_class.php:212
Open
Open
$ns->setUniqueId(null);
- Exclude checks
Argument 2 (mode)
is true
but \e_parse::replaceConstants()
takes string
defined at /code/e107_handlers/e_parse_class.php:3025
Open
Open
$dbLink = e_HTTP. e107::getParser()->replaceConstants($data['link_url'], TRUE, TRUE);
- Exclude checks
When fetching an array index from a value of type array|array{icon:mixed|string}|array{icon_32:mixed|string}|array{key:string},
found an array index of type 1,
but expected the index to be of type string
Open
Open
$val['title'] = $val[1];
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (isset($e107_vars[$act]['perm']) && $e107_vars[$act]['perm'] !== false && !getperms($e107_vars[$act]['perm'])) // check perms first.
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (getperms($perms))
- Exclude checks
Reference to undeclared constant \E_16_PLUGMANAGER
Open
Open
$merged = array_merge($array_functions_assoc, $this->pluginLinks(E_16_PLUGMANAGER, "array"));
- Exclude checks
Argument 3 (subject)
is int
but \str_replace()
takes array|string
Open
Open
|| (str_replace("?", "", e_PAGE.e_QUERY) == str_replace("?", "", $act))
- Exclude checks
Suspicious argument null
for an echo/print statement Open
Open
echo $ret;
- 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
$data = $sql->retrieve($query,true);
- Exclude checks
Argument 1 (title)
is false
but \e_navigation::admin()
takes string
defined at /code/e107_handlers/sitelinks_class.php:1251
Open
Open
$replace['SUB_MENU'] .= $this->admin(false, $active_page, $e107_vars[$act]['sub'], $tmpl, true, (isset($e107_vars[$act]['sort']) ? $e107_vars[$act]['sort'] : $sortlist));
- Exclude checks
Call to undeclared method \e_shortcode::setDepth
Open
Open
$sc->setDepth(0);
- Exclude checks
Reference to undeclared constant \E_16_CRON
Open
Open
31 => array(e_ADMIN_ABS.'cron.php', ADLAN_157, ADLAN_158, 'U', 4, E_16_CRON, E_32_CRON),
- Exclude checks
Reference to undeclared constant \E_16_PLUGMANAGER
Open
Open
function pluginLinks($iconSize = E_16_PLUGMANAGER, $linkStyle = 'adminb')
- Exclude checks
Default value for array
$sub_link
can't be false
Open
Open
function admin($title, $active_page, $e107_vars, $tmpl = array(), $sub_link = false, $sortlist = false)
- Exclude checks
Reference to undeclared constant \E_32_EURL
Open
Open
32 => array(e_ADMIN_ABS.'eurl.php', ADLAN_159, ADLAN_160, 'K', 1, E_16_EURL, E_32_EURL),
- Exclude checks
Reference to undeclared constant \E_16_PLUGMANAGER
Open
Open
33 => array(e_ADMIN_ABS.'plugin.php', ADLAN_98, ADLAN_99, 'Z', 5 , E_16_PLUGMANAGER, E_32_PLUGMANAGER),
- Exclude checks
When fetching an array index from a value of type array|array{key:string},
found an array index of type 5,
but expected the index to be of type string
Open
Open
$val['icon'] = $val[5];
- Exclude checks
Suspicious array access to nullable ?array{link_function:mixed,link_sub:array|array{}|mixed|string|true,link_identifier:mixed}|?array{link_identifier:mixed,link_sub:array|array{}|mixed|string|true}|?array{link_identifier:string}|?array{link_sub:array|array{}|mixed|string|true}|?mixed
Open
Open
if( $val['link_id'] != $pid)
- Exclude checks