e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

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

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

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

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

Variable $ns is undeclared
Open

                    $ns->tablerender(LAN_SIGNUP_75, LAN_SIGNUP_101);
Severity: Minor
Found in signup.php by phan

Variable $ns is undeclared
Open

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

Variable $mySQLuser is undeclared
Open

            $legacy_sql_info = compact('mySQLserver', 'mySQLuser', 'mySQLpassword', 'mySQLdefaultdb', 'mySQLprefix');
Severity: Minor
Found in thumb.php by phan

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

                if(!is_array($info) || ($info['user_admin'] == 1 && (!defined('ADMINPERMS') || ADMINPERMS !== '0')) || ((!defined('ADMINPERMS') || ADMINPERMS !== '0') && !getperms('4')))
Severity: Minor
Found in usersettings.php by phan

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

                if (ADMIN && getperms('4'))
Severity: Minor
Found in usersettings.php by phan

Argument 1 (var) is ?array|?array{_CHANGED_BY_UID:1}|?array{_CHANGED_BY_UNAME:'e107-cli'}|?array{ue:array|array{user_extended_id:int}|null}|?array{user_class:string}|?array{user_email:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_loginname:mixed}|?array{user_email:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:''}|?array{user_email?:null,user_class:string,user_image:mixed,user_name:mixed,user_sess:''}|?array{user_id:array|mixed|string}|?array{user_image:mixed,user_name:mixed,user_sess:''}|?array{user_loginname:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_email:mixed}|?array{user_loginname:mixed,user_class:string,user_image:mixed,user_name:mixed,user_sess:''}|?array{user_loginname?:null,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_email:mixed}|?array{user_name:array|mixed|string}|?array{user_name:mixed}|?array{user_name?:null,user_loginname:mixed|null,user_class:string,user_image:mixed,user_sess:'',user_email:mixed|null,user_prefs:array|string,user_password?:null,user_id:array|mixed|string,_CHANGED_BY_UID:1,_CHANGED_BY_UNAME:'e107-cli'}|?array{user_password:,user_email:mixed|null,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_prefs:array|string,user_loginname:mixed|null}|?array{user_password:}|?array{user_password?:null,user_email:mixed|null,user_class:string,user_image:mixed,user_name:mixed,user_sess:'',user_prefs:array|string,user_loginname:mixed|null}|?array{user_prefs:array|string}|?array{user_sess:''}|?array{}|?bool|?string but \count() takes \Countable|array
Open

            if (count($triggerData))
Severity: Minor
Found in usersettings.php by phan

Variable $sql is undeclared
Open

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

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

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

Suspicious array access to null
Open

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

Invalid offset "chapter_parent" of array type array{book_sef:}|null
Open

        $row['book_id']             = (int) $row['chapter_parent'];
Severity: Minor
Found in page.php by phan

Assigning array<string></string> to property but \pageClass->page is array<string></string>
Open

        $this->page['cachecontrol']     = (isset($this->page['page_password']) && !$this->page['page_password'] && $this->authorized === true);
Severity: Minor
Found in page.php by phan

Argument 2 (content) is array|string|string[] 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

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

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

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

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

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

            $sortarr[] = $info[$column];
Severity: Info
Found in search.php by phan

Reference to undeclared property \secure_image->stop_keys
Open

  $stop_count = count($sch -> stop_keys);
Severity: Minor
Found in search.php by phan

Argument 3 (template) is null but \e_form::bbarea() takes string defined at /code/e107_handlers/form_handler.php:2446
Open

                    ".e107::getForm()->bbarea('submitnews_item', $tp->toForm(vartrue($_POST['submitnews_item'])),null, null, 'large')."
Severity: Minor
Found in submitnews.php by phan

Variable $mySQLpassword is undeclared
Open

            $legacy_sql_info = compact('mySQLserver', 'mySQLuser', 'mySQLpassword', 'mySQLdefaultdb', 'mySQLprefix');
Severity: Minor
Found in thumb.php by phan
Severity
Category
Status
Source
Language