e107_handlers/mailout_admin_class.php
Returning type array<int meaningful data for email>|array{}</int>
but checkEmailPost()
is declared to return true
Open
Open
return $errList;
- Exclude checks
Suspicious array access to false
Open
Open
if (count($ourTemplate->lastTemplateData['email_overrides']))
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= '<tr><td>'.LAN_MAILOUT_173.'</td><td>'.($mailData['mail_togo_count'] +
- 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
$line = "Count update for {$saveRow['mail_source_id']} - {$saveRow['mail_togo_count']}, {$saveRow['mail_sent_count']}, {$saveRow['mail_fail_count']}, {$saveRow['mail_bounce_count']} => ";
- Exclude checks
Call to deprecated function \e_parse::text_truncate()
defined at /code/e107_handlers/e_parse_class.php:1286
Open
Open
$text .= e107::getParser()->text_truncate($val, 200, '...');
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= $this->showMailDetail($mailData, 'basic');
- Exclude checks
Variable $counters
is undeclared Open
Open
foreach ($counters as $k => $v)
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .=
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "</tbody></table>\n</fieldset>";
- Exclude checks
Invalid offset "mail_fail_count"
of array type array{}
Open
Open
$line = "Count update for {$saveRow['mail_source_id']} - {$saveRow['mail_togo_count']}, {$saveRow['mail_sent_count']}, {$saveRow['mail_fail_count']}, {$saveRow['mail_bounce_count']} => ";
- Exclude checks
Argument 2 (key)
is false
but \e107::getCoreTemplate()
takes null|string
defined at /code/e107_handlers/e107_class.php:3348
Open
Open
$templates = e107::getCoreTemplate('email', false, 'front', false);
- Exclude checks
Suspicious array access to false
Open
Open
$email['mail_overrides'] = $ourTemplate->lastTemplateData['email_overrides'];
- Exclude checks
Variable $text
is undeclared Open
Open
$ns-> tablerender(ADLAN_136.SEP.LAN_MAILOUT_171, $mes->render().$text);
- Exclude checks
Invalid offset "mail_source_id"
of array type array{}
Open
Open
$line = "Count update for {$saveRow['mail_source_id']} - {$saveRow['mail_togo_count']}, {$saveRow['mail_sent_count']}, {$saveRow['mail_fail_count']}, {$saveRow['mail_bounce_count']} => ";
- Exclude checks
Invalid offset "mail_togo_count"
of array type array{}
Open
Open
$line = "Count update for {$saveRow['mail_source_id']} - {$saveRow['mail_togo_count']}, {$saveRow['mail_sent_count']}, {$saveRow['mail_fail_count']}, {$saveRow['mail_bounce_count']} => ";
- Exclude checks
Returning type array<int send format error>|array<int sender email address specified>|array<int sender name specified>|array<int subject specified>|array<int text in email body>|array<int>|array{}</int></int></int></int></int></int>
but checkEmailPost()
is declared to return true
Open
Open
return $errList;
- Exclude checks
Call to deprecated function \e_parse::text_truncate()
defined at /code/e107_handlers/e_parse_class.php:1286
Open
Open
$text .= ($v > 1) ? $tp->text_truncate($val, $v, '...') : $val;
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= "<div class='buttons-bar center'>
- Exclude checks
Argument 2 (replace)
is int|true
but \str_replace()
takes array|string
Open
Open
$results[] = str_replace('[x]', $res, LAN_MAILOUT_226);
- Exclude checks
Returning type ?'\x3cspan class=\'label label-warning\'\x3eNo \'email address sources\' selected in Preferences\x3c/span\x3e'|?string
but emailSelector()
is declared to return string
Open
Open
return $text;
- Exclude checks
Variable $text
is undeclared Open
Open
$ns->tablerender(ADLAN_136.SEP.LAN_MAILOUT_171, $text);
- Exclude checks
Invalid offset "mail_sent_count"
of array type array{}
Open
Open
$line = "Count update for {$saveRow['mail_source_id']} - {$saveRow['mail_togo_count']}, {$saveRow['mail_sent_count']}, {$saveRow['mail_fail_count']}, {$saveRow['mail_bounce_count']} => ";
- Exclude checks
Invalid offset "mail_bounce_count"
of array type array{}
Open
Open
$line = "Count update for {$saveRow['mail_source_id']} - {$saveRow['mail_togo_count']}, {$saveRow['mail_sent_count']}, {$saveRow['mail_fail_count']}, {$saveRow['mail_bounce_count']} => ";
- Exclude checks
Return type of loadMailHandlers()
is undeclared type \number
Open
Open
public function loadMailHandlers($options = 'all')
- Exclude checks
Returning type 0
but loadMailHandlers()
is declared to return \number
Open
Open
return $ret;
- Exclude checks
Argument 2 (datestamp)
is string
but \e_form::datepicker()
takes bool|false|int
defined at /code/e107_handlers/form_handler.php:1712
Open
Open
return e107::getForm()->datepicker($calName, $calVal, $options);
- Exclude checks
Returning type 0
but loadMailHandlers()
is declared to return \number
Open
Open
return $ret;
- Exclude checks
Variable $counters
was undeclared, but array fields are being added to it. Open
Open
$counters['add'] = $mailData['mail_togo_count'];
- Exclude checks
Variable $counters
is undeclared Open
Open
$line .= implode(', ', $counters);
- Exclude checks