e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

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',$mimg);
Severity: Minor
Found in page.php by phan

Argument 1 (name) is 'robots' 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

Reference to undeclared constant \TEXTDIRECTION
Open

if(defined("TEXTDIRECTION") && TEXTDIRECTION === "rtl")
Severity: Minor
Found in print.php by phan

Variable $sql is undeclared
Open

            $sql->gen("INSERT INTO `#user_extended` (user_extended_id) values ('{$nid}')");
Severity: Minor
Found in signup.php by phan

Variable $sql is undeclared
Open

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

Variable $tp is undeclared
Open

        $textend = $tp->parseTemplate($ONLINE_TABLE_END, 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_icon'], 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['cachecontrol'] = false;
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

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 2 (options) is false but \e_parse::toGlyph() takes array|string defined at /code/e107_handlers/e_parse_class.php:3973
Open

        <button class='btn btn-primary' type='submit' name='s' value='1' data-loading-icon='fa-spinner' >".$tp->toGlyph('fa-search',false)."</button>";
Severity: Minor
Found in search.php by phan

Invalid offset 0 of array type array{}
Open

                $ret = varset($search_info[0]);
Severity: Minor
Found in search.php by phan

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

            $extraErrors[] = $badCodeMsg."\\n";
Severity: Minor
Found in signup.php by phan

Variable $ns is undeclared
Open

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

Variable $tp is undeclared
Open

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

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

            e107::meta('robots', $this->page['page_metarobots']);
Severity: Minor
Found in page.php by phan

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

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

Argument 2 (options) is 'w=1200' but \e_parse::thumbUrl() takes array defined at /code/e107_handlers/e_parse_class.php:2531
Open

            $mimg = $tp->thumbUrl($this->page['menu_image'],'w=1200', false, true);
Severity: Minor
Found in page.php by phan

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

            e107::meta('twitter:image', $im);
Severity: Minor
Found in page.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_password:bool|string}|array{user_prefs:array|string}|array{user_sess:string}
Open

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