e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

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

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

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

if ((USER || (intval($pref['user_reg']) !== 1) || (vartrue($pref['auth_method'],'e107') != 'e107')) && !getperms('0'))
Severity: Minor
Found in signup.php by phan

Variable $this is undeclared
Open

        if(empty($noPasswordInput) && !isset($_POST['password1']) && $this->pref['user_reg_veri'] === 1)
Severity: Minor
Found in signup.php by phan

Argument 1 (classList) is 0 but \user_class::get_editable_classes() takes string defined at /code/e107_handlers/userclass_class.php:273
Open

            $publicClasses = e107::getUserClass()->get_editable_classes(e_UC_PUBLIC, true);
Severity: Minor
Found in signup.php by phan

Variable $sql is undeclared
Open

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

Argument 1 (caption) 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

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

        $row['book_name']             = $this->getName($row['chapter_parent']);
Severity: Minor
Found in page.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_meta_description'], false);            
Severity: Minor
Found in page.php by phan

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

            $this->page['err'] = TRUE;
Severity: Minor
Found in page.php by phan

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

            e107::meta('twitter:card', 'summary_large_image');
Severity: Minor
Found in page.php by phan

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

            e107::meta('twitter:card', 'summary_large_image');
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

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

Argument 5 (pid) is null but \comment::enter_comment() takes \unknown_type|string defined at /code/e107_handlers/comment_class.php:675
Open

                $cobj->enter_comment($_POST['author_name'], $_POST['comment'], "page", $this->pageID, $pid, $_POST['subject']);
Severity: Minor
Found in page.php by phan

null passed to foreach instead of array
Open

        foreach ($this->search_prefs['plug_handlers'] as $plug_dir => $active) 
Severity: Minor
Found in search.php by phan

Variable $sql is undeclared
Open

                $sql->select("forum", "forum_name", "forum_id=" . $forum_thread['thread_forum_id']);
Severity: Minor
Found in online.php by phan

Variable $tp is undeclared
Open

        $textstring .= $tp->parseTemplate($ONLINE_TABLE, true, $scArray); // preg_replace("/\{(.*?)\}/e", '$\1', $ONLINE_TABLE);
Severity: Minor
Found in online.php by phan

Argument 2 (override) is true but \e107::title() takes false|string defined at /code/e107_handlers/e107_class.php:2885
Open

            e107::title(eHelper::formatMetaTitle($this->page['page_metatitle']),true);
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('twitter:image', $mimg);
Severity: Minor
Found in page.php by phan

Variable $tp is undeclared
Open

        $table         = $tp->toDB($_POST['table']);
Severity: Minor
Found in rate.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
Severity
Category
Status
Source
Language