e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

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

            $adviseLoginName = LAN_SIGNUP_65.': '.$allData['data']['user_loginname'].'<br />'.LAN_SIGNUP_66.'<br />';
Severity: Minor
Found in signup.php by phan

Invalid offset "chapter_parent" of array type array{book_id:int}|array{book_name:mixed}|array{book_sef:mixed}|null
Open

        $row['book_icon']            = $this->getIcon($row['chapter_parent']);
Severity: Minor
Found in page.php by phan

Invalid offset "chapter_parent" of array type array{book_icon:mixed}|array{book_id:int}|array{book_name:mixed}|array{book_sef:mixed}|null
Open

        $row['book_description']    = $this->getDescription($row['chapter_parent']);
Severity: Minor
Found in page.php by phan

Call to undeclared method \e_db::db_getList
Open

                $pageArray = $sql->db_getList();
Severity: Critical
Found in page.php by phan

Argument 2 (content) is string 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 2 (content) is string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('keywords', eHelper::formatMetaKeys($this->page['page_metakeys']));
Severity: Minor
Found in page.php by phan

Assigning true to property but \pageClass->authorized is string
Open

            $this->authorized = true;
Severity: Minor
Found in page.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 operator: right operand of - is null (expected number)
Open

                $time = time() - $this->search_prefs['time_secs'];
Severity: Minor
Found in search.php by phan

Variable $admin_log is undeclared
Open

        $admin_log->user_audit(USER_AUDIT_SIGNUP,$signup_data);
Severity: Minor
Found in signup.php by phan

Variable $tp is undeclared
Open

    $text .= $tp->parseTemplate($ONLINE_TABLE_MISC, true, $scArray);
Severity: Minor
Found in online.php by phan

When fetching an array index from a value of type array{}|null[], found an array index of type null, but expected the index to be of the non-nullable type int|string
Open

        return varset($this->chapterData[$chapter]['chapter_name'], false);            
Severity: Minor
Found in page.php by phan

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

            e107::meta('keywords', eHelper::formatMetaKeys($this->page['page_metakeys']));
Severity: Minor
Found in page.php by phan

Call to undeclared method \e_shortcode::cpagecomments
Open

            $comments = $sc->cpagecomments();
Severity: Critical
Found in page.php by phan

Assigning true to property but \pageClass->authorized is string
Open

                $this->authorized = true;
Severity: Minor
Found in page.php by phan

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

               $search_info['comments']['listorder'] = $this->search_prefs['core_handlers']['comments']['order'];
Severity: Minor
Found in search.php by phan

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

                        $this->message = LAN_SEARCH_17.$this->search_prefs['time_secs'].LAN_SEARCH_18;
Severity: Minor
Found in search.php by phan

Variable $sql is undeclared
Open

            $sql->update('user_extended', $eufVals);
Severity: Minor
Found in signup.php by phan

Assigning false to property but \search_front->result_flag is int
Open

                $this->result_flag = false;
Severity: Minor
Found in search.php by phan

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

$enhanced_types['in'] = LAN_SEARCH_24.':';
Severity: Info
Found in search.php by phan
Severity
Category
Status
Source
Language