e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->post->Fileman

Argument 2 (content) is string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

        e107::meta('twitter:site','@'.$screenName);
Severity: Minor
Found in e107_plugins/social/e_module.php by phan

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

        e107::meta('fb:app_id', $appID);
Severity: Minor
Found in e107_plugins/social/e_module.php by phan

Assigning callable to property but \TagCloud->htmlizeTagFunction is null
Open

    $this->htmlizeTagFunction = $htmlizeTagFunction;

Reference to undeclared property \TagCloud->orderBy
Open

      $orderDirection = strtolower($this->orderBy['direction']) == 'desc' ? 'SORT_DESC' : 'SORT_ASC';

Variable $value is undeclared
Open

            <td><p>".$frm->text('buttonText',$value,50)."</p></td>

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

        if(!empty($_GET['debug']) && getperms('0'))

Suspicious array access to nullable ?array|?array<string></string>
Open

        $themecount[$defaulttheme] += $defaultusers;
Severity: Minor
Found in e107_plugins/user/usertheme_menu.php by phan

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

            $themeCount[$file] = 0;

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $listdbusers = $cPanel->api2->MysqlFE->listusers()->{'cpanelresult'}->{'data'};

Argument 1 (val) is null but \e107::wysiwyg() takes bool defined at /code/e107_handlers/e107_class.php:4568
Open

if((e107::wysiwyg(null, true) === 'tinymce4' && check_class($pref['post_html'])) || strpos(e_SELF,"tinymce4/admin_config.php") )
Severity: Minor
Found in e107_plugins/tinymce4/e_footer.php by phan

Variable $text was undeclared, but it is being used as the left-hand side of an assignment operation
Open

        $text .= "

Variable $text was undeclared, but it is being used as the left-hand side of an assignment operation
Open

            $text .= "</td>

Variable $text was undeclared, but it is being used as the left-hand side of an assignment operation
Open

        $text .= "<div class='inline-form'>Color: ".$frm->select('glyph-color',$sel)."     Custom: ".$frm->text('glyph-custom','').$frm->button('glyph-save','Go')."</div>";    

Returning type null but showSelect() is declared to return array
Open

                return null;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Reference to undeclared constant \PARAMS_SERIALIZED
Open

        $params = unserialize(PARAMS_SERIALIZED);

Reference to instance property user from undeclared class \cpanelAPI
Open

        $prefix = $cPanel->user."_".self::TEST_PREFIX;

Argument 2 (content) is array|string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $siteLogo);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Invalid operator: left operand of << is bool (expected int)
Open

        $flags = $flags & ~(1 << $bit) | ($active << $bit);

When fetching an array index from a value of type string, found an array index of type 'name', but expected the index to be of type int
Open

        $this->configName = $config['@attributes']['name'];
Severity
Category
Status
Source
Language