e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Call to undeclared method \e_db::db_getList
Open

$newsletterArray = $sql->db_getList();

Call to undeclared method \e_db::db_getList
Open

        $newsletterArray = $sql->db_getList();

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

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

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

        return "<a href='".$link."'>".varset($this->currentUser['user_name'])."</a>";

Call to undeclared method \e_shortcode::setChapter
Open

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

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

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

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

        $data         = $sql->retrieve($query, true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.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_blocked', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Assigning array<string></string> to property but \private_msg_ui->fields is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},pm_id:array{title:'ID',data:'int',width:'5%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_from:array{title:'From',type:'method',noedit:true,data:'int',filter:true,width:'5%%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_to:array{title:'To',type:'user',data:'int',width:'5%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_sent:array{title:'Date',type:'datestamp',data:'int',width:'15%',help:'',readParms:array{},writeParms:'auto=1&readonly=1',class:'center',thclass:'center'},pm_subject:array{title:'Subject',type:'text',data:'str',width:'15%',help:'',readParms:array{},writeParms:array{size:'xlarge'},class:'left',thclass:'left'},pm_text:array{title:'Message',type:'bbarea',data:'str',width:'40%',help:'',readParms:'expand=1&truncate=50',writeParms:'rows=5&size=block&cols=80',class:'left',thclass:'left'},pm_read:array{title:'Read',type:'boolean',noedit:1,data:'int',batch:true,filter:true,width:'5%',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_sent_del:array{title:'Delete PM',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_read_del:array{title:'Delete PM',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_attachments:array{title:'Attachment',type:'text',noedit:true,data:'str',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_option:array{title:'Option',type:'text',noedit:true,data:'str',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_size:array{title:'Size',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1'}}
Open

                $this->fields['pm_to']['nolist'] = true;
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Variable $tp is undeclared
Open

            define('ATTACHMENT_ICON', $tp->toGlyph('fa-paperclip'));
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Argument 2 (filenum) is int but \pm_extended::send_file() takes string defined at /code/e107_plugins/pm/pm_class.php:805
Open

        $pm->send_file($pm_proc_id, intval($qs[2]));
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $ns is undeclared
Open

            $ns->tablerender($caption, $pm->breadcrumb(LAN_PLUGIN_PM_INBOX) . $mes->render() . $pm->show_inbox($pm_proc_id), 'PM');
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

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

        $url = e107::url('pm','index', null, array('mode'=>'full')).'?show.'.$pmid;
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

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

        $pmlink = e107::url('pm','index', null, array('mode'=>'full')).'?show.'.$pmInfo['pm_id'];
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

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

                $ret = "<a href='".$url->create('user/profile/view', array('id' => $this->pmBlocked['pm_block_from'], 'name' => $this->pmBlocked['user_name']))."'>{$this->pmBlocked['user_name']}</a>";
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.php by phan

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

            return "<a href='".$this->url('action/delete-blocked', array('id' => $this->pmBlocked['pm_block_from']))."'><img src='".e_PLUGIN_ABS."pm/images/mail_delete.png' title='".LAN_DELETE."' alt='".LAN_DELETE."' class='icon S16' /></a>";
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.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/pm_shortcodes.php by phan

Variable $poll_id is undeclared
Open

    unset($poll_id, $_POST['poll_title'], $_POST['poll_option'], $_POST['activate'], $_POST['multipleChoice'], $_POST['showResults'], $_POST['startday'], $_POST['startmonth'], $_POST['startyear'], $_POST['endday'], $_POST['endmonth'], $_POST['endyear']);
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $poll_storage_method is undeclared
Open

        $_POST['storageMethod'] = $poll_storage_method;
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $poll_title is undeclared
Open

                $text .= (in_array("poll_title",$fieldpref)) ? "<td class='left'>".$tp->toHTML($poll_title, TRUE,"no_hook, emotes_off, defs")."</td>" : "";              
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan
Severity
Category
Status
Source
Language