Jump to content

Error: Object can't be loaded at line 1247


Recommended Posts

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 loaded
at 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);

 

 

 

 

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

×
×
  • Create New...