e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

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

$GALLERY_TEMPLATE['list']['caption'] = "My Gallery";

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

        if($bootswatch = e107::pref('theme', 'bootswatch', false))
Severity: Minor
Found in e107_themes/bootstrap3/theme.php by phan

Argument 3 (extraCodes) is null but \e_parse::parseTemplate() takes array|object defined at /code/e107_handlers/e_parse_class.php:846
Open

            return e107::getParser()->parseTemplate($text, true, $login_menu_shortcodes);

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'); // added to <head>
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Argument 2 (content) is 'width=device-width, initial-scale=1.0' 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'); // added to <head>
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Class \theme_shortcodes defined at /code/e107_themes/bootstrap5/theme_shortcodes.php:18 was previously defined as Class \theme_shortcodes at /code/e107_themes/bootstrap3/theme_shortcodes.php:14
Open

class theme_shortcodes extends e_shortcode

Call to undeclared method \e_shortcode::sc_news_title
Open

                $ret = $sc->sc_news_title();

Function getperms defined at /code/install.php:258 was previously defined at /code/class2.php:1322
Open

function getperms($arg, $ap = '')
Severity: Minor
Found in install.php by phan

Variable $this is undeclared
Open

        define('THEME', e_THEME.$this->previous_steps['prefs']['sitetheme'].'/');
Severity: Minor
Found in install.php by phan

Variable $sql is undeclared
Open

                $sql->select("content", "content_heading, content_class", "content_id='" . (int) $tmp[1] . "'");
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

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

Reference to undeclared constant \APP_PATH
Open

        $media = APP_PATH."/e107_media/".self::TEST_HASH;

Argument 3 (extraCodes) is null but \e_parse::parseTemplate() takes array|object defined at /code/e107_handlers/e_parse_class.php:846
Open

        return e107::getParser()->parseTemplate($text,true,$login_menu_shortcodes);

Variable $sql is undeclared
Open

            $sql->delete('tmp', "`tmp_time` = ".$row['tmp_time']." AND `tmp_info` = '".$row['tmp_info']."' ");
Severity: Minor
Found in fpw.php by phan

Variable $sql is undeclared
Open

        $sql->delete('tmp', "tmp_time < ".time()); // cleanup table.
Severity: Minor
Found in fpw.php by phan

Variable $ns is undeclared
Open

            $ns->tablerender("Testing Mode", nl2br($message));
Severity: Minor
Found in fpw.php by phan

Variable $ns is undeclared
Open

$ns->tablerender($caption, $text, 'fpw');
Severity: Minor
Found in fpw.php by phan

Returning type null but stage_6() is declared to return string
Open

        return null;
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

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

Variable $ns is undeclared
Open

        $ns->tablerender(ONLINE_EL4, ONLINE_EL16);
Severity: Minor
Found in online.php by phan
Severity
Category
Status
Source
Language