lape Posted March 4, 2017 Share Posted March 4, 2017 (edited) When customers try to send a mail through my contact page or if i send a mail through my backoffice i get a HTTP ERROR 500 I put error on true and it says this Strict Standards: Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL) in /var/www/vhosts/funky-lama.com/httpdocs/override/classes/Mail.php on line 305 Fatal error: Class 'Swift_RecipientList' not found in /var/www/vhosts/funky-lama.com/httpdocs/override/classes/Mail.php on line 81 http://www.funky-lama.com/nl/contact-us Edited March 4, 2017 by lape (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted March 4, 2017 Share Posted March 4, 2017 I see the word "override" in the file paths. That means that some module is responsible. Only you know which modules you have installed 1 Link to comment Share on other sites More sharing options...
lape Posted March 4, 2017 Author Share Posted March 4, 2017 I'm guessing there isnt an easy way to see which one besides deactivating them one by one? Link to comment Share on other sites More sharing options...
musicmaster Posted March 4, 2017 Share Posted March 4, 2017 I'm guessing there isnt an easy way to see which one besides deactivating them one by one? The only way I would know is downloading the file and looking at it in a text editor. Usually there will be enough info to determine the module. Link to comment Share on other sites More sharing options...
lape Posted March 5, 2017 Author Share Posted March 5, 2017 I actually just renamed the mail.php cause apparently its not a file that is needed and everything is working again. 1 Link to comment Share on other sites More sharing options...
joseantgv Posted March 6, 2017 Share Posted March 6, 2017 I actually just renamed the mail.php cause apparently its not a file that is needed and everything is working again. If you open the overrided file maybe there's a comment at the beginning of the function with the module that overrided it (depends on your PS version). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now