e107_admin/boot.php
Consider simplifying this complex logical expression. Open
Open
if(strpos(e_REQUEST_URI,$plugDir) !== false && !deftrue('e_ADMIN_UI') && !empty($_plugins) && !empty($_globalLans) && is_array($_plugins) && (count($_plugins) > 0))
{
$_plugins = array_keys($_plugins);
foreach ($_plugins as $_p)
Argument 2 (active_page)
is null
but \e_navigation::admin()
takes string
defined at /code/e107_handlers/sitelinks_class.php:1251
Open
Open
return e107::getNav()->admin($title, $active_page, $var, false, false, $sortlist);
- Exclude checks
Saw an @param annotation for vars,
but it was not found in the param list of function show_admin_menu($title, $active_page, $var, false $js = null, false $sub_link = null, false $sortlist = null) : null|string;
Open
Open
* @param $vars
- Exclude checks
Call to undeclared method \e_shortcode::renderAddonUpdate
Open
Open
$text .= $sc->renderAddonUpdate($themes);
- Exclude checks
Call to deprecated function \e_parse::text_truncate()
defined at /code/e107_handlers/e_parse_class.php:1286
Open
Open
'.$tp->text_truncate($description,150).'
- Exclude checks
Argument 2 (simple)
is 'advanced'
but \xmlClass::parseXml()
takes bool|true
defined at /code/e107_handlers/xml_class.php:495
Open
Open
$rows = e107::getXml()->parseXml($data, 'advanced');
- Exclude checks
Argument 2 (simple)
is 'advanced'
but \xmlClass::parseXml()
takes bool|true
defined at /code/e107_handlers/xml_class.php:495
Open
Open
$rows = e107::getXml()->parseXml($data, 'advanced');
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(e_AJAX_REQUEST && getperms('0') && varset($_GET['mode']) == 'addons' && ($_GET['type'] == 'update'))
- Exclude checks
Call to undeclared method \e_shortcode::getUpdateable
Open
Open
$themes = $sc->getUpdateable('theme');
- Exclude checks
Call to undeclared method \e_shortcode::renderAddonUpdate
Open
Open
$text = $sc->renderAddonUpdate($plugins);
- Exclude checks
Argument 4 (tmpl)
is false
but \e_navigation::admin()
takes array
defined at /code/e107_handlers/sitelinks_class.php:1251
Open
Open
return e107::getNav()->admin($title, $active_page, $var, false, false, $sortlist);
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(e_AJAX_REQUEST && getperms('0') && varset($_GET['mode']) == 'core' && ($_GET['type'] == 'update'))
- Exclude checks
Argument 4 (bRaw)
is null
but \ecache::set()
takes bool|int
defined at /code/e107_handlers/cache_handler.php:235
Open
Open
$cache->set($tag, $text, true, null, true);
- Exclude checks
Suspicious argument null
for an echo/print statement Open
Open
echo $ret;
- 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_URI,$plugDir) !== false && !deftrue('e_ADMIN_UI') && !empty($_plugins) && !empty($_globalLans) && is_array($_plugins) && (count($_plugins) > 0))
- Exclude checks
Call to undeclared method \e_shortcode::getUpdateable
Open
Open
$plugins = $sc->getUpdateable('plugin');
- Exclude checks
Argument 2 (active_page)
is int
but \e_navigation::admin()
takes string
defined at /code/e107_handlers/sitelinks_class.php:1251
Open
Open
return e107::getNav()->admin($title, $active_page, $var, false, false, $sortlist);
- Exclude checks