Jump to content

ClassNotFoundException


Recommended Posts

tout d'un coup ma boutique n'affiche plus et m'envoie un message d'erreur :

C'est la version 1752. je voulais démarrer une boutique avec

l'erreur : 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; } }

le debug commence comme ça :

ClassNotFoundException

Attempted to load class "Order" from the global namespace.
Did you forget a "use" statement?

ça concernerait cart.php mais je suis dépassé  je n'ai pas les compétences pour comprendre ce message

Quelqu'un voit quel est le problème ?

Merci

 

chrome_2019-06-22_01-56-25.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...