karinebb Posted December 14, 2016 Share Posted December 14, 2016 (edited) Bonjour suite à une migration de prestashop 1.4 vers 1.6 j'ai un bug surl le passage de commande en back office. J'ai l'erreur suivante : The order address country is not active.at line 391 in file classes/PaymentModule.php 386. $this->context->country = $context_country;387. }388.389. if (!$this->context->country->active) {390. PrestaShopLogger::addLog('PaymentModule::validateOrder - Country is not active', 3, null, 'Cart', (int)$id_cart, true);391. throw new PrestaShopException('The order address country is not active.');392. }393.394. if (self::DEBUG_MODE) {395. PrestaShopLogger::addLog('PaymentModule::validateOrder - Payment is about to be added', 1, null, 'Cart', (int)$id_cart, true);396. } PaymentModuleCore->validateOrder - [line 1160 - controllers/admin/AdminOrdersController.php] - [9 Arguments] AdminOrdersControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] En revanche lorsqu'on retourne sur la page commande, la commande est bien créée.. Vous auriez une idée ? Merci ! Edited December 14, 2016 by karinebb (see edit history) 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