close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ERROR Mail::factory() should not be called statically

Thread began 12/02/2013 12:20 pm by sam308940 | Last modified 12/02/2013 2:08 pm by Jason Byrnes | 7012 views | 2 replies |

sam308940

ERROR Mail::factory() should not be called statically

this is a fairly new cart that was setup within the last few months. but now i am getting an error. i think something on the server must have changed because its an error referencing the pear mail file (which hasn't changed at all).

i am now running into an error that states:
Strict Standards: Non-static method Mail::factory() should not be called statically in /home/jillians/public_html/webassist/email/PEAR_Mail_using_SMTP_php.php on line 190

line 190 is this:
$theMailer =& Mail::factory('smtp', $paramArray);


ANY CLUES?
i will send some PM info that will allow you to test and see it.


note that the emails still send out. but it doesnt forward to the THANK YOU page.

Sign in to reply to this post

sam308940

see PM

Sign in to reply to this post

Jason ByrnesWebAssist

this is a error in the Mail Pear package and PHP 5.3 with strict error reporting enabled.

either disable strict error reporting in the php.ini file, or change line 190:
$theMailer =& Mail::factory('smtp', $paramArray);

to:
@$theMailer =& Mail::factory('smtp', $paramArray);

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...