Zen Cart Logo
Forums / General Questions / "Call to a member function" Error When Trying to Send E-mails

"Call to a member function" Error When Trying to Send E-mails

Locked

Views: 2,071

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Feb 2008, 9:04 PM
#1
starlyn avatar

starlyn

New Zenner

Join Date:
Jul 2007
Location:
Washington, MO
Posts:
50
Plugin Contributions:
0

"Call to a member function" Error When Trying to Send E-mails

When I go to Tools->Send Email, I see this error message at the top:

*Call to a member function read() on a non-object in *****/mail.php on line ***380

**
New account emails and customer-to-store emails appear to be working.

19 Feb 2008, 6:51 PM
#2
overmyhead avatar

overmyhead

New Zenner

Join Date:
Jun 2007
Posts:
26
Plugin Contributions:
0

Re: "Call to a member function" Error When Trying to Send E-mails

I've come across this same error. Still searching for a solution. :blush:

19 Feb 2008, 7:23 PM
#3
overmyhead avatar

overmyhead

New Zenner

Join Date:
Jun 2007
Posts:
26
Plugin Contributions:
0

Re: "Call to a member function" Error When Trying to Send E-mails

I upload the admin folder again and that seemed to work. :smile:

19 Feb 2008, 7:28 PM
#4
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: "Call to a member function" Error When Trying to Send E-mails

Good to see that
In future if possible please take the backup of the files you are going to overwrite.
After the things work out, compare the files so that you can figure out what the problem is. It it will help others as its not always possible for everyone to overwrite the files
Cheers :)

23 Feb 2008, 4:20 PM
#5
starlyn avatar

starlyn

New Zenner

Join Date:
Jul 2007
Location:
Washington, MO
Posts:
50
Plugin Contributions:
0

Re: "Call to a member function" Error When Trying to Send E-mails

I did the same thing and now it works. I had originally tried to overwrite the file by uploading with FileZilla, but it apparently wasn't replacing the file. I uploaded through my host and then it worked.