e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Variable $ns is undeclared
Open

    $ns->tablerender(ONLINE_EL4, $text);
Severity: Minor
Found in online.php by phan

Argument 2 (text) is null but \e_render::tablerender() takes string defined at /code/e107_handlers/e_render_class.php:314
Open

    e107::getRender()->tablerender($e107CorePage->pageOutput['caption'], $e107CorePage->pageOutput['text'], 'cpage-chapter-list');
Severity: Minor
Found in page.php by phan

Argument 2 (pluginName) is null but \e107::getScBatch() takes string defined at /code/e107_handlers/e107_class.php:1608
Open

        $this->batch = e107::getScBatch('page',null,'cpage');
Severity: Minor
Found in page.php by phan

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

        e107::meta('twitter:title', $metaTitle);
Severity: Minor
Found in page.php by phan

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

            e107::meta('og:description', $metaDiz);
Severity: Minor
Found in page.php by phan

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

        e107::meta('og:updated_time', strtotime('10 minutes ago'));
Severity: Minor
Found in page.php by phan

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

    e107::meta('robots', 'noindex');
Severity: Minor
Found in print.php by phan

Invalid offset "google" of array type array{}
Open

            $google_js = check_class($this->search_prefs['google']) ? "onclick=\"uncheckG();\" " : "";
Severity: Minor
Found in search.php by phan

Invalid offset "selector" of array type array{}
Open

            if ($this->search_prefs['selector'] == 2) 
Severity: Minor
Found in search.php by phan

Invalid offset "google" of array type array{}
Open

if (check_class($search_prefs['google'])) {
Severity: Minor
Found in search.php by phan

Invalid offset "user_loginname" of array type array{user_ban:0}|array{user_ban:2}|array{user_ip:string}|array{user_join:int}|array{user_name:null}|array{user_password:bool|string}|array{user_prefs:array|string}|array{user_sess:string}
Open

            $signup_data['user_name'] = $allData['data']['user_loginname'];
Severity: Minor
Found in signup.php by phan

Call to deprecated function \e107::getDateConvert() defined at /code/e107_handlers/e107_class.php:1948
Open

        $gen = e107::getDateConvert();
Severity: Minor
Found in userposts.php by phan

Reference to undeclared constant \BULLET (Did you mean $bullet)
Open

        $bullet = '<img src="'.THEME_ABS.'images/'.BULLET.'" alt="" class="icon" />';
Severity: Minor
Found in userposts.php by phan

Returning type null but init() is declared to return bool
Open

            return null;
Severity: Minor
Found in usersettings.php by phan

Argument 1 (var) is ?array<string>|?array<string>|?array<string>|?array<string>|?array{user_email:mixed,user_password:,user_name:mixed}|?array{user_name:mixed}|?array{user_password:,user_name:mixed}|?array{}</string></string></string></string> but \count() takes \Countable|array
Open

                        if (count($do_log) > 1) { $log_action = USER_AUDIT_NEW_SET; } // Log multiple entries to one record
Severity: Minor
Found in usersettings.php by phan

Variable $sql is undeclared
Open

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

Argument 2 (pluginName) is null but \e107::getScBatch() takes string defined at /code/e107_handlers/e107_class.php:1608
Open

            $this->batch = e107::getScBatch('page',null,'cpage')->setVars($this->page)->wrapper('page/'.$this->templateID);
Severity: Minor
Found in page.php by phan

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

            e107::meta('og:image',($im));
Severity: Minor
Found in page.php by phan

Invalid offset "selector" of array type array{}
Open

         if($this->search_prefs['selector'] == 1) 
Severity: Minor
Found in search.php by phan

Invalid offset "user_select" of array type array{}
Open

        if (!$this->search_prefs['user_select'] && $_GET['r'] < 1) 
Severity: Minor
Found in search.php by phan
Severity
Category
Status
Source
Language