hurray Posted September 1, 2014 Share Posted September 1, 2014 Hi, This morning when I was trying to change the order Status from "Payment Received" to "Order Sent", I got this error message. [PrestaShopException]object can't be loadedat line 1247 in file controllers/admin/AdminOrdersController.php 1241. 1242. public function renderView()1243. {1244. $order = new Order(Tools::getValue('id_order'));1245. if (!Validate::isLoadedObject($order))1246. throw new PrestaShopException('object can\'t 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 Argument] AdminControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 53 - superadmin/index.php] - [0 Argument] Besides I am also not being able to change the language of the back-office. I get this error "Notice: Undefined index: id_profile in /home/savdanac/public_html/controllers/admin/AdminEmployeesController.php on line 412" " Everything was working until two days ago. Is it normal that something goes broken like this without touching anything on the site? Link to comment Share on other sites More sharing options...
NemoPS Posted September 1, 2014 Share Posted September 1, 2014 What is the page url when you change the status? it looks like id_order is missing from the query string Link to comment Share on other sites More sharing options...
hurray Posted September 1, 2014 Author Share Posted September 1, 2014 Hi Nemo1, The URL when I change the product status is https://www.savdana.com/superadmin/?controller=AdminOrders&vieworder&token=7264a0863a4f93fac1a931fbca5592e9 The back-office seems completely broken. I tried creating a coupon voucher and when I clicked on "Save", it did nothing and all the info about the voucher disappeared. Link to comment Share on other sites More sharing options...
NemoPS Posted September 2, 2014 Share Posted September 2, 2014 did you install some third party module recently? Or made any significant change to your shop? Link to comment Share on other sites More sharing options...
hurray Posted September 2, 2014 Author Share Posted September 2, 2014 I just moved my shop from older version to 1.5.6.2 with a new template a week ago. Link to comment Share on other sites More sharing options...
NemoPS Posted September 3, 2014 Share Posted September 3, 2014 Something might have gone wrong during the upgrade, I suggest you re-upload the whole controllers/admin folder, replacing your files with the ones from a clean 1.5.6.2 (you can get it from dev/old versions here on the site) Link to comment Share on other sites More sharing options...
hurray Posted September 4, 2014 Author Share Posted September 4, 2014 Hi Nemo, I figured out the problem. The htaccess file was wrongly configured. 1 Link to comment Share on other sites More sharing options...
Recommended Posts