LinnuxFX Posted June 17, 2013 Share Posted June 17, 2013 HELLO, Could you please help me with my prestashop module error. After I do everything I find here to see my error with Wire Transfer module, the last error that I could not solve is here: [PrestaShopException] Can't load Order state status at line 145 in file classes/PaymentModule.php 139. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery') 140. $context_country = $this->context->country; 141. 142. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id); 143. if (!Validate::isLoadedObject($order_status)) 144. throw new PrestaShopException('Can\'t load Order state status'); 145. 146. if (!$this->active) 147. die(Tools::displayError()); 148. // Does order already exists ? 149. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] BankwireValidationModuleFrontController->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] LinnuxFX Link to comment Share on other sites More sharing options...
bellini13 Posted June 17, 2013 Share Posted June 17, 2013 you should try adding some debug statements above line 145 to see what the id_order_state value is 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