e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

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

        $uparams = array('id' => varset($this->currentUser['user_id']), 'name' => varset($this->currentUser['user_name']));

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

                if(!$pageArray = e107::getDb()->retrieve($query, true))
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

                if(!$chapArray = e107::getDb()->retrieve($query, true))
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

        $books = $sql->retrieve("SELECT * FROM #page_chapters WHERE ".$filter." ORDER BY chapter_order ASC" , true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.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

                $this->prefs['notify_class']['writeParms']['post']= e107::getForm()->button('testNotify', 1, 'primary', ADLAN_PM_91);
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_subject']['writeParms']['required'] = 1;
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Variable $PM_SEND_PM is undeclared
Open

                $PM_SEND_PM = $this->updateTemplate($PM_SEND_PM);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $PM_INBOX_TABLE is undeclared
Open

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

Variable $sql is undeclared
Open

        if($sql->select('private_msg', 'pm_id', $qry))
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $ns is undeclared
Open

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

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

    function pm_send_notify($uid, $pmInfo, $pmid, $attach_count = 0)
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

Returning type false but send_file() is declared to return \none
Open

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

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

if (!e107::isInstalled('pm') || !getperms('P'))
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

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

                if($this->pmPrefs['pm_limits'] == 1)
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "total" 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

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

            return e107::getForm()->button('pm_delete_selected',1,'delete',$tp->toGlyph('fa-trash').LAN_PM_53);
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.php by phan

Argument 1 (datestamp) is null but \convert::convert_date() takes int defined at /code/e107_handlers/date_handler.php:145
Open

            return e107::getDate()->convert_date($this->pmBlocked['pm_block_datestamp'], $parm);
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.php by phan

Variable $poll_end_datestamp is undeclared
Open

            $tmp = getdate($poll_end_datestamp);
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $user_pref is undeclared
Open

    $fieldpref = (varset($user_pref['admin_poll_columns'])) ? $user_pref['admin_poll_columns'] : array("poll_id","poll_title","poll_options","poll_vote_userclass"); ;
Severity: Minor
Found in e107_plugins/poll/admin_config.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

        if(!$array = $sql->retrieve($query, true))
Severity: Minor
Found in e107_plugins/poll/oldpolls.php by phan
Severity
Category
Status
Source
Language