Mask485be Posted October 16, 2017 Share Posted October 16, 2017 (edited) Bonjour j'ai une fatal Error lors de la validation de la commande, quand j'utilise les méthodes de payement suivant Par virement , Cash on delivery , Chèque. Par contre avec le module Hipay la commande passe sans probleme J'ai tout essayé réinitialisé, désinstaller et supprimé les modules en cause et rien ne change Merci pour votre aide Hello I have a fatal error when validating the order, when I use the following payment methods By bank transfer, Cash on delivery, Check. On the other hand with the Hipay module the control passes without problem I have tried everything reset, uninstall and deleted the modules involved and nothing changes Thank you for your help Configuration : serveur : Linux #1 SMP Fri Sep 1 20:42:18 MSK 2017 x86_64 serveur : LiteSpeed Version de PHP : 7.0.24 Limite de mémoire : 512M Temps maximal d'exécution : 900 Taille max. pour envoi de fichiers : 24M Message debug [PrestaShopException]Fatal error at line 964 in file classes/Tools.php 959. * @param bool $htmlentities By default at true for parsing error message with htmlentities960. */961. public static function displayError($string = 'Fatal error', $htmlentities = true, Context $context = null)962. {963. if (defined('_PS_MODE_DEV_') && _PS_MODE_DEV_) {964. throw new PrestaShopException($string);965. } else if ('Fatal error' !== $string) {966. return $string;967. }968.969. return Context::getContext()->getTranslator()->trans('Fatal error', array(), 'Admin.Notifications.Error'); ToolsCore::displayError - [line 236 - classes/PaymentModule.php]231.232. // Does order already exists ?233. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) {234. if ($secure_key !== false && $secure_key != $this->context->cart->secure_key) {235. PrestaShopLogger::addLog('PaymentModule::validateOrder - Secure key does not match', 3, null, 'Cart', (int)$id_cart, true);236. die(Tools::displayError());237. }238.239. // For each package, generate an order240. $delivery_option_list = $this->context->cart->getDeliveryOptionList();241. $package_list = $this->context->cart->getPackageList(); PaymentModuleCore->validateOrder - [line 64 - modules/ps_wirepayment/controllers/front/validation.php] - [9 Arguments]59. '{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'),60. '{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),61. '{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))62. );63.64. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);65. Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key);66. }67. } Ps_WirepaymentValidationModuleFrontController->postProcess - [line 194 - classes/controller/Controller.php]189. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {190. $this->setMedia();191. }192.193. // postProcess handles ajaxProcess194. $this->postProcess();195.196. if (!empty($this->redirect_after)) {197. $this->redirect();198. }199. ControllerCore->run - [line 379 - classes/Dispatcher.php]374. if (isset($params_hook_action_dispatcher)) {375. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);376. }377.378. // Running controller379. $controller->run();380.381. // Execute hook dispatcher after382. if (isset($params_hook_action_dispatcher)) {383. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);384. } DispatcherCore->dispatch - [line 28 - index.php]23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)24. * International Registered Trademark & Property of PrestaShop SA25. */26.27. require(dirname(__FILE__).'/config/config.inc.php');28. Dispatcher::getInstance()->dispatch(); Edited October 16, 2017 by Mr.BlueGarou (see edit history) Link to comment Share on other sites More sharing options...
Trukes Posted February 4, 2018 Share Posted February 4, 2018 Same problem here. Did you fixed it? Link to comment Share on other sites More sharing options...
socomtactical Posted May 23, 2018 Share Posted May 23, 2018 same issue Link to comment Share on other sites More sharing options...
MarioCCH Posted May 29, 2018 Share Posted May 29, 2018 Do You fix it ?? Same issue.. Link to comment Share on other sites More sharing options...
LorenzoProdon Posted June 25, 2018 Share Posted June 25, 2018 Same :(( Link to comment Share on other sites More sharing options...
LorenzoProdon Posted June 26, 2018 Share Posted June 26, 2018 I fix it today with an upgrade from 1.7.3.2 to 1.7.3.3 using 1-clickupgrade Link to comment Share on other sites More sharing options...
pietpetoors Posted April 7, 2019 Share Posted April 7, 2019 I received the same in 1.7.5.1 today. Is there a fix for it? Link to comment Share on other sites More sharing options...
orelob Posted August 5, 2019 Share Posted August 5, 2019 Same error presta 1.7.6 - any ideas? Link to comment Share on other sites More sharing options...
Eden Sh Posted September 16, 2019 Share Posted September 16, 2019 I get the same error. Did someone find a way to solve this? 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