Loading...
 
Skip to main content

Mail Queue undefined method Zend\Mail\Message::getRecipients in 15.x (Zend2) compared to 12.x

Status
Closed
Subject
Mail Queue undefined method Zend\Mail\Message::getRecipients in 15.x (Zend2) compared to 12.x
Version
15.x
15.x Regression
Category
  • Error
  • Regression
  • Community projects
  • Support request
Feature
Mail Queue
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
rjsmelo
Lastmod by
Xavier de Pedro
Rating
(0)
Description
Copy to clipboard
root@site:/path# php console.php mail-queue:send --site=site.example.com Mail queue processor starting... Sending message 1... PHP Fatal error: Call to undefined method Zend\Mail\Message::getRecipients() in /path/lib/core/Tiki/Command/MailQueueSendCommand.php on line 51


Same process works as expected in an equivalent tiki12 setup. (same server, type of commands, smtp account, equivalent cron job)

Using
URL: https://svn.code.sf.net/p/tikiwiki/code/branches/15.x
Relative URL: ^/branches/15.x
Repository Root: https://svn.code.sf.net/p/tikiwiki/code
Repository UUID: b456876b-0849-0410-b77d-98878d47e9d5
Revision: 58070
Node Kind: directory
Schedule: normal
Last Changed Author: luciash
Last Changed Rev: 58070
Last Changed Date: 2016-03-23 22:54:14 +0100 (dc, 23 mar 2016)

Solution

Can you please tests? It should be fixed on r58089.


Fix Confirmed. Thanks Ricardo!

Importance
8
Easy to solve?
8
Priority
64
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5866
Created
Thursday 24 March, 2016 21:46:23 UTC
by Xavier de Pedro
LastModif
Tuesday 29 March, 2016 12:45:54 UTC


Show PHP error messages