e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Argument 2 (nostrip) is '' but \e_parse::toDB() takes bool|false defined at /code/e107_handlers/e_parse_class.php:508
Open

    $topic_id         = $tp->toDB($tmp[2],'');
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

Variable $sql is undeclared
Open

    if(!$sql->select('rss', '*', "`rss_class` = 0 AND `rss_limit` > 0 AND `rss_topicid` NOT REGEXP ('\\\*') ORDER BY `rss_name`"))
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

Variable $sql is undeclared
Open

    if(!$sql->select('rss', '*', "rss_class != 2 AND rss_url='".$content_type."' ".$check_topic." AND rss_limit > 0 "))
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

Argument 2 (fname) is false but \e107::lan() takes string defined at /code/e107_handlers/e107_class.php:3987
Open

e107::lan('social',false, true);
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan

Returning type array{caption:'Help',text:string} but renderHelp() is declared to return string
Open

            return array("caption"=>LAN_HELP,'text'=> $tp->toHTML($notice,true));
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan

Call to undeclared method \e_shortcode::getProviders
Open

        $allProviders = $soc->getProviders();
Severity: Critical
Found in e107_plugins/social/e_admin.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', SITENAME);
Severity: Minor
Found in e107_plugins/social/e_event.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',$siteButton);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

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

        e107::meta('twitter:site','@'.$screenName);
Severity: Minor
Found in e107_plugins/social/e_module.php by phan

Call to undeclared method \e_db::db_getList
Open

            $array = $sql->db_getList();
Severity: Critical
Found in e107_plugins/user/e_dashboard.php by phan

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

                    $entries[0] = $log_data['host'];
Severity: Info
Found in e107_plugins/user/e_dashboard.php by phan

Argument 6 (year) is string but \mktime() takes int
Open

            $diz = date('D jS', mktime(1,1,1,$monthNumber,$i, $yearNumber));
Severity: Minor
Found in e107_plugins/user/e_dashboard.php by phan

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

if (!getperms("2"))         // Same permissions as menu configuration

Reference to instance property uapi from undeclared class \cpanelAPI
Open

                $cPanel->uapi->Mysql->delete_user(['name' => $user['user']]);

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $this->cPanel->api2->Fileman->fileop(['op' => 'unlink',

Argument 2 (replace) is 0 but \str_replace() takes array|string
Open

                $results[E_MESSAGE_SUCCESS][$start] = str_replace('[x]', $cnt, ADLAN_PM_75);
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Comment declares @param $parm multiple times
Open

    function sc_sendpm($parm=null)
Severity: Info
Found in e107_plugins/pm/e_shortcode.php by phan

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

            $sc = e107::getScBatch('pm', true, 'pm');
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Returning type null but show_pm() is declared to return string
Open

                return null;
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $ns is undeclared
Open

                    $ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PM_55) . $mes->render() . LAN_PM_56);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan
Severity
Category
Status
Source
Language