The Messaging PHPMailer plugin attempts to initialize the $to property of the PHPMailer object which is now private. Line 99 should be commented out, it is not required. Here is the apache error message.

[Sat Apr 19 21:13:47 2008] [error] [client 127.0.0.1] PHP Fatal error: Cannot access private property PHPMailer::$to in /home/work/web/portal/sites/all/modules/messaging/messaging_phpmailer/messaging_phpmailer.module on line 99

Comments

jeffmurphy’s picture

Status: Active » Reviewed & tested by the community

cd /home/work/web/portal/sites/all/modules/messaging/messaging_phpmailer
vi +93 messaging_phpmailer.module

change the "t" in "to" to "T" so the line reads as:

$mail->To = array();

jeffmurphy’s picture

You're right, the line apparently can just be commented out without affecting functionality.

m3avrck’s picture

Status: Reviewed & tested by the community » Fixed

thanks this is fixed now!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

decibel.places’s picture

I changed "to" to "To" and also commented out the line

I get these errors:



    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.module on line 194.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.inc on line 55.
    * warning: Invalid argument supplied for foreach() in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.inc on line 21.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.module on line 194.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.inc on line 55.
    * warning: Invalid argument supplied for foreach() in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.inc on line 21.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.module on line 194.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.inc on line 55.
    * warning: Invalid argument supplied for foreach() in /home2/netsperi/public_html/flydigits/sites/all/modules/mimemail/mimemail.inc on line 21.

upgraded from 5.x-1.0-beta to 5.x-1.0 and it seems fine...