Closed (fixed)
Project:
Messaging
Version:
5.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2008 at 21:52 UTC
Updated:
22 Aug 2008 at 18:02 UTC
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
Comment #1
jeffmurphy commentedcd /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();
Comment #2
jeffmurphy commentedYou're right, the line apparently can just be commented out without affecting functionality.
Comment #3
m3avrck commentedthanks this is fixed now!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
decibel.places commentedI changed "to" to "To" and also commented out the line
I get these errors:
upgraded from 5.x-1.0-beta to 5.x-1.0 and it seems fine...