Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [PrestaShopException]
- Can't load Order status
- at line 190 in file classes/PaymentModule.php
- 185. }
- 186.
- 187. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);
- 188. if (!Validate::isLoadedObject($order_status)) {
- 189. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true);
- 190. throw new PrestaShopException('Can\'t load Order status');
- 191. }
- 192.
- 193. if (!$this->active) {
- 194. PrestaShopLogger::addLog('PaymentModule::validateOrder - Module is not active', 3, null, 'Cart', (int)$id_cart, true);
- 195. die(Tools::displayError());
- PaymentModuleCore->validateOrder - [line 64 - modules/banktransfer/controllers/front/validation.php] - [9 Arguments]
- 59. '{banktransfer_owner}' => Configuration::get('BANK_WIRE_OWNER'),
- 60. '{banktransfer_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),
- 61. '{banktransfer_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))
- 62. );
- 63.
- 64. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_banktransfer'), $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. }
- banktransferValidationModuleFrontController->postProcess - [line 178 - classes/controller/Controller.php]
- 173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
- 174. $this->setMedia();
- 175. }
- 176.
- 177. // postProcess handles ajaxProcess
- 178. $this->postProcess();
- 179.
- 180. if (!empty($this->redirect_after)) {
- 181. $this->redirect();
- 182. }
- 183.
- ControllerCore->run - [line 367 - classes/Dispatcher.php]
- 362. if (isset($params_hook_action_dispatcher)) {
- 363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
- 364. }
- 365.
- 366. // Running controller
- 367. $controller->run();
- 368. } catch (PrestaShopException $e) {
- 369. $e->displayMessage();
- 370. }
- 371. }
- 372.
- DispatcherCore->dispatch - [line 28 - index.php]
- 23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- 24. * International Registered Trademark & Property of PrestaShop SA
- 25. */
- 26.
- 27. require(dirname(__FILE__).'/config/config.inc.php');
- 28. Dispatcher::getInstance()->dispatch();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement