Jump to content
mendozino

Mail.php Error message

Recommended Posts

I am new on prestashop.

 

After adding 2 modules, i have received an error 500. with debug i receive the message below but have no idea how to fix?

I have renamed the 2 modules but it is still not working.

Any input I am more than happy to read.

 

Thank you

 

(1/1) ContextErrorException

Warning: Declaration of Mail::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) should be compatible with MailCore::send($idLang, $template, $subject, $templateVars, $to, $toName = NULL, $from = NULL, $fromName = NULL, $fileAttachment = NULL, $mode_smtp = NULL, $templatePath = _PS_MAIL_DIR_, $die = false, $idShop = NULL, $bcc = NULL, $replyTo = NULL, $replyToName = NULL)

in Mail.php line 156

at ErrorHandler->handleError(2, 'Declaration of Mail::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) should be compatible with MailCore::send($idLang, $template, $subject, $templateVars, $to, $toName = NULL, $from = NULL, $fromName = NULL, $fileAttachment = NULL, $mode_smtp = NULL, $templatePath = _PS_MAIL_DIR_, $die = false, $idShop = NULL, $bcc = NULL, $replyTo = NULL, $replyToName = NULL)', '/data/web/e72838/html/apps/prestashop-88494/override/classes/Mail.php', 156, array('className' => 'Mail', 'classDir' => '/data/web/e72838/html/apps/prestashop-88494/'))in PrestaShopAutoload.php line 152

at require_once()in PrestaShopAutoload.php line 152

at PrestaShopAutoload->load('Mail')in DebugClassLoader.php line 159

at DebugClassLoader->loadClass('Mail')

at spl_autoload_call('Mail')in PaymentModule.php line 561

at PaymentModuleCore->validateOrder(283, '10', 1.55, 'Banküberweisung', null, array('{bankwire_owner}' => 'Sportbenzin GmbH', '{bankwire_details}' => 'Clearing Nr. 8800<br /> IBAN: LI2608800551505202001', '{bankwire_address}' => 'Liechtensteinische Landesbank<br /> Städtle 44<br /> 9490 Vaduz'), 3, false, '28b2185c1949292119cf97b64b5381ae')in validation.php line 64

at Ps_WirepaymentValidationModuleFrontController->postProcess()in Controller.php line 270

at ControllerCore->run()in Dispatcher.php line 511

at DispatcherCore->dispatch()in index.php line 28

Share this post


Link to post
Share on other sites

Check if those 2 modules came with an override dir then rename all those files from the PS override dir, if they exist there too and are not used by other modules

Share this post


Link to post
Share on other sites

Thank you for the fast reply - you where right the modules came with an override which have caused the problems even when the modules where deactivated. 

Again - thank you!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More