未定义的偏移量:Bounce_Driver.class.php第507行中有2个错误

时间:2019-05-24 02:44:34

标签: php undefined offset email-bounces

我正在使用名为bounce_driver.class.phpBounce Driver)的第三方PHP软件包。我只需要在我的require_once代码中添加一个“ index.php”调用即可将其包括在内。

总体而言,它可以很好地确定电子邮件退回的原因。但是,我的错误日志不断报告

  

未定义的偏移量:第507行的/bounce_driver.class.php的/ path中的2。

由于我没有编写弹跳驱动程序,因此我不愿意触摸它,因为其他所有功能都可以正常工作。

任何帮助将不胜感激。

这是该区域的代码;

Line 505.......elseif (isset($line) && isset($entity) && preg_match('/^\s+(.+)\s*/', $line) && $entity) {
Line 506.......$line = trim($line);
Line 507.......if (strpos($array[2], '=?') !== FALSE)
Line 508.......$line = iconv_mime_decode($array[2], ICONV_MIME_DECODE_CONTINUE_ON_ERROR, "UTF-8");
Line 509.......$hash[$entity] .= ' '. $line;
Line 510.....}

......

除了上面提到的特定问题外,没有错误报告

0 个答案:

没有答案