mendozino Posted October 4, 2019 Share Posted October 4, 2019 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 More sharing options...
Rhobur Posted October 5, 2019 Share Posted October 5, 2019 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 Link to comment Share on other sites More sharing options...
mendozino Posted October 7, 2019 Author Share Posted October 7, 2019 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! 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