e107_plugins/newsletter/admin_config.php
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!getperms('P'))
- Exclude checks
Argument 2 (fname)
is true
but \e107::lan()
takes string
defined at /code/e107_handlers/e107_class.php:3987
Open
Open
e107::lan('newsletter',true);
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<input class='btn btn-default btn-secondary btn-large' type='image' title='".LAN_DELETE."' name='delete[newsletter_".$data['newsletter_id']."]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm(".$tp->toAttribute($tp->toJSON(LAN_CONFIRMDEL." [ID: ".$data['newsletter_id']." ]")).") \"/>
- Exclude checks
Suspicious array access to bool
Open
Open
$mes->addSuccess(str_replace('[x]', $counters['add'], NLLAN_40));
- Exclude checks
Method \newsletter::show_options
is declared to return \none
but has no return value Open
Open
function show_options($action)
- Exclude checks
Variable $newsletterArray
was undeclared, but array fields are being added to it. Open
Open
$newsletterArray[$p_id]['newsletter_subscribers'] = chr(1).$val; // keep this single value in the list
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<td><a class='btn btn-large' href='".e_SELF."?edit.".$data['newsletter_id']."'>".ADMIN_EDIT_ICON."</a><input type='image' title='".LAN_DELETE."' name='delete[issue_".$data['newsletter_id']."]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm(".$tp->toAttribute($tp->toJSON(NLLAN_19." [ID: ".$data['newsletter_id']." ]")).") \"/>
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<td><a class='btn btn-large' href='".e_SELF."?edit.".$data['newsletter_id']."'>".ADMIN_EDIT_ICON."</a><input type='image' title='".LAN_DELETE."' name='delete[issue_".$data['newsletter_id']."]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm(".$tp->toAttribute($tp->toJSON(NLLAN_19." [ID: ".$data['newsletter_id']." ]")).") \"/>
- Exclude checks
Suspicious array access to bool
Open
Open
if ($counters['add'] == 0)
- Exclude checks
Argument 3 (subject)
is int
but \str_replace()
takes array|string
Open
Open
$issue = intval(str_replace('nlmailnow_', '', $issue));
- 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
$id = intval(str_replace('newsletter_', '', $tmp['key']));
- Exclude checks
Return type of show_options()
is undeclared type \none
Open
Open
function show_options($action)
- Exclude checks
Variable $var
was undeclared, but array fields are being added to it. Open
Open
$var['main']['text'] = NLLAN_44;
- Exclude checks
Saw an @param annotation for _POST,
but the param list of function createNewsletter() : \none
is empty Open
Open
* @param int $_POST['editid'] - ID of newsletter if existing - indicates edit to be saved
- Exclude checks
Variable $text
is undeclared Open
Open
$ns->tablerender($caption, $mes->render() . $text);
- Exclude checks
Function admin_config_adminmenu
defined at /code/e107_plugins/newsletter/admin_config.php:729
was previously defined at /code/e107_plugins/poll/admin_config.php:230
Open
Open
function admin_config_adminmenu()
- Exclude checks
Argument 2 (value)
is array|null|string|string[]
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
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
Method \newsletter::createNewsletter
is declared to return \none
but has no return value Open
Open
function createNewsletter()
- Exclude checks
Variable $letter
was undeclared, but array fields are being added to it. Open
Open
$letter['newsletter_title'] = $tp->toDB($_POST['newsletter_title']);
- Exclude checks
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
Open
* @param int id of issue
- Exclude checks
Method \newsletter::editNewsletter
is declared to return \none
but has no return value Open
Open
function editNewsletter($id)
- Exclude checks
Return type of editNewsletter()
is undeclared type \none
Open
Open
function editNewsletter($id)
- 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
$id = intval(str_replace('issue_', '', $tmp['key']));
- Exclude checks
Call to deprecated function \show_admin_menu()
defined at /code/e107_admin/boot.php:354
Open
Open
show_admin_menu(NLLAN_47, $action, $var);
- Exclude checks
Return type of createNewsletter()
is undeclared type \none
Open
Open
function createNewsletter()
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$nlArray = $sql -> db_getList();
- Exclude checks
Variable $caption
is undeclared Open
Open
$ns->tablerender($caption, $mes->render() . $text);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$nlArray = $sql->db_getList();
- Exclude checks
Variable $letter
was undeclared, but array fields are being added to it. Open
Open
$letter['newsletter_title'] = $tp->toDB($_POST['newsletter_title']);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$nlArray = $sql->db_getList();
- Exclude checks
Variable $mailout
is undeclared Open
Open
$mail_style .= "<div><b>{$mailout['mail_subject']}<br />[ ".NLLAN_12." ".$newsletterInfo['newsletter_issue']." ]</b></div><br /><br />";
- Exclude checks