e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Suspicious array access to nullable ?array|?array{showarchive:0}
Open

        $date = $parms['year'];
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Call to method __construct from undeclared class \MagpieRSS
Open

                    $rss = new MagpieRSS( $rawData );

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

                    $temp['channel'] = $rss->channel;

Method \newsletter::createNewsletter is declared to return \none but has no return value
Open

    function createNewsletter()

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

        $letter['newsletter_title'] =  $tp->toDB($_POST['newsletter_title']);

Saw possibly unextractable annotation for a fragment of comment '* @param int id of issue': after int, did not see an element name (will guess based on comment order)
Open

     * @param int id of issue

Return type of select_close() is undeclared type \none
Open

    public function select_close()
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

Suspicious array access to nullable ?array
Open

$text = $tp->parseTemplate($LASTSEEN_TEMPLATE['start'], true);
Severity: Minor
Found in e107_plugins/online/lastseen_menu.php by phan

Call to undeclared method \e_shortcode::setChapter
Open

                $sc->setChapter($row['chapter_id']);
Severity: Critical
Found in e107_plugins/page/e_shortcode.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

                    <td>".$frm->radio_switch('pm_maint_expired', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Argument 1 (uid) is null but \private_message::pm_send_notify() takes int defined at /code/e107_plugins/pm/pm_class.php:379
Open

            if($pm->pm_send_notify(null,$pmInfo, 1) === true)
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Argument 6 (year) is string but \mktime() takes int
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

Method \pm_extended::__construct is declared to return \none but has no return value
Open

        public function __construct($prefs, $manager)
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $PM_OUTBOX_EMPTY is undeclared
Open

                $PM_OUTBOX['empty'] = $this->updateTemplate($PM_OUTBOX_EMPTY);
Severity: Minor
Found in e107_plugins/pm/pm.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

Call to undeclared method \e_db::db_getList
Open

            $ret['messages'] = $sql->db_getList();
Severity: Critical
Found in e107_plugins/pm/pm_class.php by phan

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/pm_conf.php by phan

Invalid offset "size" of array type array{limit:mixed}
Open

                $pm_info['outbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['outbox']['total'],'') : varset($pm_info['outbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Variable $poll_options is undeclared
Open

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

Variable $poll_title is undeclared
Open

        $_POST['poll_title'] = $poll_title;
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan
Severity
Category
Status
Source
Language