e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Argument 3 (default) is 'default' but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

        $var[0]['html']     = $frm->text('_blank_example', e107::pref('theme', 'example', 'default'));
Severity: Minor
Found in e107_themes/_blank/theme_config.php by phan

Argument 3 (default) is 'default' but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

        $var[1]['html']     = $frm->text('_blank_example2', e107::pref('theme', 'example2', 'default'));
Severity: Minor
Found in e107_themes/_blank/theme_config.php by phan

Variable $login_menu_shortcodes is undeclared
Open

            return $tp->parseTemplate($text, true, $login_menu_shortcodes);
Severity: Minor
Found in e107_themes/voux/theme_shortcodes.php by phan

Saw unextractable annotation for comment '* @var'
Open

     * @var
Severity: Info
Found in error.php by phan

Variable $sql is undeclared
Open

            $sql->select('user', 'user_email', "user_id=".intval($uid));
Severity: Minor
Found in fpw.php by phan

Variable $text is undeclared
Open

        $ns->tablerender(LAN_03, $text.e107::getMessage()->render());
Severity: Minor
Found in fpw.php by phan

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

    if(getperms('0'))
Severity: Minor
Found in fpw.php by phan

Suspicious type true of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

            echo 'Bad request - destination unreachable - '.$inc;
Severity: Minor
Found in index.php by phan

Call to method authenticate from undeclared class \Hybridauth\Hybridauth
Open

        $adapter = $hybridauth->authenticate($prov);
Severity: Critical
Found in index.php by phan

Argument 2 (newvalue) is 1 but \ini_set() takes string
Open

ini_set('session.use_only_cookies', 1);
Severity: Minor
Found in install.php by phan

Argument #1 of this call to \str_replace is typically a literal or constant but isn't, but argument #3 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order.
Open

              $pref_link     = str_replace($find, $replace, LAN_LOGIN_35);
Severity: Minor
Found in login.php by phan

Variable $MEMBERSONLY_CAPTION is undeclared
Open

    $MEMBERSONLY_TEMPLATE['default']['caption'] = $MEMBERSONLY_CAPTION;
Severity: Minor
Found in membersonly.php by phan

Variable $sql is undeclared
Open

                $content = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("poll", "poll_title", "poll_id=" . intval($id));
Severity: Minor
Found in online.php by phan

Variable $sc_style was undeclared, but array fields are being added to it.
Open

$sc_style['DOWNLOAD_VIEW_AUTHOR_LAN']['pre'] = "<tr><td style='width:20%' class='forumheader3'>";

Argument 1 (name) is 'viewport' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

e107::meta('viewport', 'width=device-width, initial-scale=1.0');
Severity: Minor
Found in e107_themes/_blank/theme.php by phan

Argument 3 (default) is 'css/bootstrap-dark.min.css' but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

$adminStyle = e107::pref('core', 'admincss', 'css/bootstrap-dark.min.css');
Severity: Minor
Found in e107_themes/bootstrap3/admin_theme.php by phan

Argument 3 (default) is 'top' but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

        $placement = e107::pref('theme', 'usernav_placement', 'top');

Method \theme,1::tablestyle is declared to return mixed but has no return value
Open

        function tablestyle($caption, $text, $mode='', $data = array())
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Variable $NEWS_MENU_TEMPLATE was undeclared, but array fields are being added to it.
Open

$NEWS_MENU_TEMPLATE['category']['start']       = '<ul class="nav nav-list news-menu-category">';
Severity
Category
Status
Source
Language