Showing 6,974 of 6,975 total issues
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
Open
$this->fields['options']['readParms'] = 'editClass='.e_UC_NOBODY;
- Exclude checks
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
Open
$this->fields['pm_to']['writeParms']['required'] = 1;
- Exclude checks
Return type of logLine()
is undeclared type \none
Open
Open
function logLine($logText, $closeAfter = FALSE, $addTimeDate = FALSE)
- Exclude checks
Assigning null
to property but \pm_cron->logHandle
is false|resource
Open
Open
$this->logHandle = NULL;
- Exclude checks
Variable $PM_OUTBOX_HEADER
is undeclared Open
Open
$PM_OUTBOX['start'] = $this->updateTemplate($PM_OUTBOX_HEADER);
- Exclude checks
Variable $tp
is undeclared Open
Open
$pmSource = $tp->toDB($_POST['pm_come_from']);
- Exclude checks
Return type of __construct()
is undeclared type \none
Open
Open
public function __construct($prefs=null)
- Exclude checks
Returning type true
but pm_send_notify()
is declared to return \none
Open
Open
return true;
- Exclude checks
Argument 1 (classes)
is int
but \user_class::getUsersInClass()
takes string
defined at /code/e107_handlers/userclass_class.php:1192
Open
Open
return e107::getUserClass()->getUsersInClass($class, 'user_name, user_email, user_class');
- Exclude checks
Argument 2 (newvalue)
is 600
but \ini_set()
takes string
Open
Open
@ini_set("max_execution_time", 10 * 60);
- Exclude checks
Variable $limitList
was undeclared, but array fields are being added to it. Open
Open
$limitList[$row['limit_classnum']] = $row;
- Exclude checks
Invalid offset "pm_limits"
of array type array{}
Open
Open
$pm_info['outbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['outbox']['total'],'') : varset($pm_info['outbox']['size'],''));
- Exclude checks
Invalid offset "total"
of array type array{}
Open
Open
return e107::getParser()->parseTemplate("{NEXTPREV={$this->pmNextPrev['total']},{$this->pmPrefs['perpage']},{$this->pmNextPrev['start']},".e_SELF."?{$parm}.[FROM]}");
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
return "<input type='checkbox' name='selected_pm[{$this->pmBlocked['pm_block_from']}]' value='1' />";
- Exclude checks
Argument 6 (year)
is string
but \mktime()
takes int
Open
Open
$start = mktime(0, 0, 0, 1, 1, $cur_year);
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<a class='btn btn-default btn-secondary btn-large' href='".e_SELF."?edit.".$data['newsletter_id']."'>".ADMIN_EDIT_ICON."</a>
- Exclude checks
Argument 3 (maxlength)
is '200'
but \e_form::number()
takes int
defined at /code/e107_handlers/form_handler.php:925
Open
Open
<td>".$frm->number('newsletter_', $newsletter_issue, '200')."</td>
- Exclude checks
When fetching an array index from a value of type false|int|string,
found an array index of type 'key',
but expected the index to be of type int
Open
Open
if(strpos($tmp['key'], 'newsletter') === 0)
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON
Open
Open
<td><a href='".e_SELF."?remove.{$p_id}.{$val}'>".ADMIN_DELETE_ICON."</a>".(($nl_row['user_ban'] > 0) ? NLLAN_62 : "")."</td>
- Exclude checks
Argument 2 (mname)
is false
but \e_menu::renderMenu()
takes string
defined at /code/e107_handlers/menu_class.php:631
Open
Open
return e107::getMenu()->renderMenu($parm, false, false, true);
- Exclude checks