Jump to content

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...