locant57 Posted January 26, 2018 Share Posted January 26, 2018 Hello everyone, a few days ago I noticed a problem on the BO that concerns the change in the status of orders. When it worked well, when changing the status of an order, I could update it, through the appropriate drop-down window, choosing between Accepted Payment, Preparation in progress, Ordinecevaso, etc ... For a few days, I see the drop-down window, select the state that interests me, but when I type the "Add" button, the page remains to load, until I decide to block the page loading and update it. After updating the page on the drop-down, the item that I had chosen remains selected, and if I go to check the status of the order, in fact this has changed. The problem is that it no longer makes me see the history of the various state changes. If I do not block the page load, but I wait, after a certain time check the following message: [PrestaShopException] the object can not be loaded at line 1247 in file controller / admin / AdminOrdersController.php 1241. 1242. public function renderView () 1243. { 1244. $ order = new Order (Tools :: getValue ( 'Id_order')); 1245. if (! Validate :: isLoadedObject ($ order)) 1246. launch new PrestaShopException ('object not it can be loaded '); 1247. 1248. $ customer = new customer ($ order-> id_customer); 1249. $ carrier = new Carrier ($ order-> id_carrier); 1250. $ products = $ this-> getProducts (order $); 1251. $ currency = new Currency ((int) $ order-> id_currency); AdminOrdersControllerCore-> renderView - [line 1497 - classes / controller / AdminController.php] - [0 Topic] AdminControllerCore-> initContent - [line 167 - classes / controller / Controller.php] - [0 Topic] ControllerCore-> run - [line 348 - classes / Dispatcher.php] - [0 Argument] DispatcherCore-> dispatch - [line 53 - admin1234 / index.php] - [0 Topic] I found several posts on the forum for PrestaShopException, but none for my specific problem. I hope someone can help me. Greetings. Antonio Link to comment Share on other sites More sharing options...
NemoPS Posted January 27, 2018 Share Posted January 27, 2018 Interesting, it looks like no id order is passed to the page (given the error). Do you have any module hooked to orderStatusUpdate? You can check it in modules/positions Link to comment Share on other sites More sharing options...
locant57 Posted January 27, 2018 Author Share Posted January 27, 2018 Thank you for your answer. I checked on modules / locations, if there was some module connected to orderStatusUpdate. I did not find any linked forms. Do you have any other idea where the problem might be? Thank you for your help. 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