e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $books = e107::getDb('pageHelper')->retrieve("SELECT chapter_id,chapter_sef,chapter_name,chapter_parent FROM #page_chapters ORDER BY chapter_id ASC", true);

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

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

Reference to undeclared property \pm_cron->startTime
Open

        $this->startTime = mktime(0, 0, 0, date('n'), date('d'), date('Y'));    // Date for start processing
Severity: Minor
Found in e107_plugins/pm/e_cron.php by phan

Argument 3 (row) is '' but \e107::url() takes array defined at /code/e107_handlers/e107_class.php:4225
Open

        $urlOutbox = e107::url('pm','index','', array('query'=>array('mode'=>'outbox')));
Severity: Minor
Found in e107_plugins/pm/e_shortcode.php by phan

Argument 3 (row) is '' but \e107::url() takes array defined at /code/e107_handlers/e107_class.php:4225
Open

        $urlCompose = e107::url('pm','index','', array('query'=>array('mode'=>'send')));
Severity: Minor
Found in e107_plugins/pm/e_shortcode.php by phan

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

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

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

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

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

    $var['main']['text'] = ADLAN_PM_54;
Severity: Info
Found in e107_plugins/pm/pm_conf.php by phan

Returning type void but pm_getInfo() is declared to return array
Open

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

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

            return "<input type='checkbox' name='selected_pm[{$this->pmBlocked['pm_block_from']}]' value='1' />";
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.php by phan

Variable $poll_options is undeclared
Open

            $pollopts = explode(chr(1),$poll_options);
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

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

$comments_table['poll'] = "LEFT JOIN #polls AS po ON c.comment_type=4 AND po.poll_id = c.comment_item_id";

Argument 2 (parseBB) is '' but \e_parse::toHTML() takes bool|false defined at /code/e107_handlers/e_parse_class.php:1532
Open

        $rss_title = $tp->toRss($tp->toHTML($pref['sitename'],'','defs')." : ".$tp->toHTML($rss_title,'','defs'));
Severity: Minor
Found in e107_plugins/rss_menu/rss.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);

Call to method __construct from undeclared class \logConsolidate
Open

    $logObj = new logConsolidate;
Severity: Critical
Found in e107_plugins/siteinfo/counter_menu.php by phan

Variable $pageInfo is undeclared
Open

        $totalever = ($pageInfo[$pageName]['ttlv'] ? $pageInfo[$pageName]['ttlv'] : 0) + $totalPageEver + $total;
Severity: Minor
Found in e107_plugins/siteinfo/counter_menu.php by phan

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

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

Reference to undeclared constant \ADMIN_FALSE_ICON
Open

            $textEnabled = ($slcm->isProviderEnabled($provider_name)) ? ADMIN_TRUE_ICON : ADMIN_FALSE_ICON;
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan

Argument 3 (default) is 'e107' but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

        $engine = e107::pref('core','comments_engine','e107');
Severity: Minor
Found in e107_plugins/social/e_comment.php by phan

Reference to undeclared constant \NEWS_NEXTPREV_NAVCOUNT
Open

            $opts['navcount'] = NEWS_NEXTPREV_NAVCOUNT;
Severity: Minor
Found in e107_plugins/news/news.php by phan
Severity
Category
Status
Source
Language