开发者

Error in PHP Mail_Queue PEAR library

I'm getting the following error when trying to use the PHP Mail_Queue PEAR library:

Declaration of Mail_Queue::isError() should be compatible with that 开发者_StackOverflow中文版of PEAR::isError()

PHP 5.2.3, Mail Queue Version 1.2.3

Searching on Google hasn't turned up anything. Any ideas what's causing this?


Surely too late but I resolved this issue by modifying the Mail/Queue.php file The declaration of Mail_Queue::isError should match exactly the one provided in PEAR::isError which takes two arguments.

So, changing (line 584 for release 1.2.6) :

function isError($value)

To :

function isError($value, $dummy = "")

Solves the warning. It is not 100% satisfying because this modification will disappear while next update but it saved my day (0% error & warning)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜