e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Variable $PM_INBOX_HEADER is undeclared
Open

                $PM_INBOX['start'] = $this->updateTemplate($PM_INBOX_HEADER);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $PM_OUTBOX_FOOTER is undeclared
Open

                $PM_OUTBOX['end'] = $this->updateTemplate($PM_OUTBOX_FOOTER);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $tp is undeclared
Open

        $pmSource = $tp->toDB($qs[2]);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

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

    function pm_mark_read($pm_id, $pm_info)
Severity: Minor
Found in e107_plugins/pm/pm_class.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_attach', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (value) is null but \e_form::userpicker() takes array|string defined at /code/e107_handlers/form_handler.php:2012
Open

                $ret = e107::getForm()->userpicker('pm_to', null, array('limit'=>10));
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.php by phan

Argument 3 (event_type) is '' but \e_admin_log::add() takes int defined at /code/e107_handlers/admin_log_class.php:178
Open

                e107::getLog()->add('POLL_03','ID: '.$ret.' - '.$poll_title,'');        // Intentionally only log admin-entered polls
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

Suspicious array access to ?mixed
Open

                        if($row['custom'])
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

Suspicious array access to ?mixed
Open

                            $this -> rssItems[$k]['media'] = $row['media'];
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

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

                    <link rel='self' href='".$tp->toRss(e107::url('rss_menu','atom', array('rss_url'=>$this->contentType, 'rss_topicid'=>$this->topicid),'full'))."' />\n";
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

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

        $mime["mp3"] = "audio/mpeg";
Severity: Info
Found in e107_plugins/rss_menu/rss.php by phan

Argument 2 (value) is 1 but \e_form::button() takes array|string defined at /code/e107_handlers/form_handler.php:3876
Open

            ".$frm->button('save_social_logins',1,'submit',LAN_SAVE)."
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan

Argument 1 (str) is int but \strtolower() takes string
Open

        $radio_label = strtolower($provider_name);
Severity: Minor
Found in e107_plugins/social/admin_config.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('newsfeed',true);
Severity: Minor
Found in e107_plugins/newsfeed/admin_config.php by phan

Reference to undeclared property \xmlClass->error (Did you mean expr->errors)
Open

                    if (NEWSFEED_DEBUG) echo $xml -> error;

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

    function createNewsletter()

Call to undeclared method \e_db::db_getList
Open

        $nlArray = $sql -> db_getList();
Severity: Critical
Found in e107_plugins/newsletter/admin_config.php by phan

Reference to undeclared property \newsletter_mailout->mail_read (Did you mean expr->mailRead)
Open

                        $this->mail_read++;
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

Argument 1 (older_date) is null but \convert::computeLapse() takes int defined at /code/e107_handlers/date_handler.php:601
Open

        $seen_ago = $this->gen->computeLapse($this->currentUser['user_currentvisit'], false, false, true, 'short');

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
Severity
Category
Status
Source
Language