Jump to content

PrestaShopException('Can\'t load Order status');


Recommended Posts

[PrestaShopException]

 

Can't load Order status

at line 197 in file modules/paytr_checkout/controllers/front/payment.php

194.         $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);
195.         if (!Validate::isLoadedObject($order_status)) {
196.             PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true);
197.             throw new PrestaShopException('Can\'t load Order status');
198.         }
199. 
200.         // Does order already exists ?
201.         if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) {

what is the solution?

post-1154947-0-86201100-1482155572_thumb.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...