I have searched and found a great solution that fixed the problem in just a seconds.
Find php/pear/Mail.php, go to line 74 and change:
Code: Select all
function &factory($driver, $params = array())
to
static function &factory($driver, $params = array())
Code: Select all
$addresses = Mail_RFC822::parseAddressList($recipients, 'localhost', false);
to
$Mail_RFC822 = new Mail_RFC822();
$addresses = $Mail_RFC822->parseAddressList($recipients, 'localhost', false);
Code: Select all
function isError($data, $code = null)
to
static function isError($data, $code = null)