xtoffx Posted June 22, 2019 Share Posted June 22, 2019 suddenly my shop does not work anymore. it is a version 1752 that I use to start an activity. I had not finished filling it. see here the error message :class Order extends OrderCore { /** * Return a unique reference like : GWJTHMZUN#2 * * With multishipping, order reference are the same for all orders made with the same cart * in this case this method suffix the order reference by a # and the order number * * @since 1.5.0.14 */ public static function generateReference() { $Context = Context::getContext(); $id_order_max = Db::getInstance()->getValue('SELECT max(`id_order`) FROM `'._DB_PREFIX_.'orders` WHERE `id_shop`="'.pSQL($Context->shop->id).'"'); return $id_order_max+1; } } I do not know what to do. Any ideas ? 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