html2 Posted February 6, 2020 Share Posted February 6, 2020 Bonjour, J'ai un problème majeur sur n'importe quels modules de paiement. La commande arrive bien en BO mais le client lui arrive sur une page blanche. Avec le mode debug j'obtient : (1/1) ContextErrorException Notice: Undefined index: in Currency.php line 186 at CurrencyCore->__construct(1, null, 0) in PaymentModule.php line 234 at PaymentModuleCore->validateOrder(0, '1', 0.0, 'Chèque', null, array('{check_name}' => false, '{check_address}' => false, '{check_address_html}' => ''), 1, false, '032a1b520dd310a3776cad6e211f933e') in validation.php line 67 at Ps_CheckpaymentValidationModuleFrontController->postProcess() in Controller.php line 281 at ControllerCore->run() in Dispatcher.php line 515 at DispatcherCore->dispatch() in index.php line 28 Ligne de mon fichier Currency.php à la ligne 186 if (is_array($this->symbol)) { $this->sign = $this->symbol = $this->symbol[$idLang]; } else { $this->sign = $this->symbol; } Puis dans le fichier PaymentModule.php $id_currency = $currency_special ? (int) $currency_special : (int) $this->context->cart->id_currency; $this->context->currency = new Currency((int) $id_currency, null, (int) $this->context->shop->id); if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery') { $context_country = $this->context->country; } $order_status = new OrderState((int) $id_order_state, (int) $this->context->language->id); if (!Validate::isLoadedObject($order_status)) { PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int) $id_cart, true); throw new PrestaShopException('Can\'t load Order status'); } Une petite idée ? Merci Link to comment Share on other sites More sharing options...
html2 Posted February 19, 2020 Author Share Posted February 19, 2020 Bonjour aucune réponse ? Je suis vraiment embêté 😞 Une page blanche à la validation de la commande c'est pas top... Voici le log apache en plus PHP Notice:Undefined index: in /var/www/classes/Currency.php on line 186, referer: https://www.mon_site.fr/commande PHP Notice: Undefined index: in /var/www/classes/Currency.php on line 192, referer: https://www.mon_site.fr/commande Link to comment Share on other sites More sharing options...
html2 Posted February 25, 2020 Author Share Posted February 25, 2020 Vraiment personne n'a eu ce problème ? Link to comment Share on other sites More sharing options...
Alekssi Posted September 1, 2020 Share Posted September 1, 2020 Bonjour, J'ai relativement le même message en debug. Avez-vous résolu le problème ? Merci. Link to comment Share on other sites More sharing options...
Fadli Abderrafie Posted June 29, 2021 Share Posted June 29, 2021 no life with that prestashop same problem 2021 Link to comment Share on other sites More sharing options...
Mediacom87 Posted June 29, 2021 Share Posted June 29, 2021 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