Notice: Undefined variable: id_pneu in /home/autoexclusive/www/autoexclusive/devis_form.inc.php on line 29
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by e.livraison, e.delai' at line 1 select distinct p.id_pneu, mp.nm_marque, mp.path_big_img, dp.largeur, dp.hauteur, dp.diametre, id_type_pneu, id_charge_pneu, prix_pack, prix_vente, prix_vente_promo, p.prix_achat, hiver, p.id_fourn, p.origine, p.poids, suv, cop.code, stock_reel, stock_pack, qtite, e.livraison, (TO_DAYS(delai)-TO_DAYS('2024-08-23')) 'delai', 4 'stock', pf.stock 'stock_u', pf.stock2 'stock_u2' from autoexclusive.pneus p left join autoexclusive.entrees e on p.id_pneu=e.id_pneu and e.status_cmd=1 and ref_cmd like '' left join autoexclusive.pneus_fourn pf on p.id_pneu=pf.id_pneu left join autoexclusive.codes_oem_pneus cop on p.id_code_oem=cop.id, autoexclusive.dim_pneus dp, autoexclusive.marques_pneus mp where p.id_dim_pneu=dp.id_dim_pneu and p.id_marque_pneu=mp.id_marque_pneu and p.id_pneu= order by e.livraison, e.delai
Fatal error: Uncaught Error: Call to a member function fetch_object() on bool in /home/autoexclusive/www/autoexclusive/objets/pneu.php:633
Stack trace:
#0 /home/autoexclusive/www/autoexclusive/devis_form.inc.php(29): pneu->lire_intra_infos()
#1 /home/autoexclusive/www/autoexclusive/devis.php(646): include('/home/autoexclu...')
#2 /home/autoexclusive/www/autoexclusive/index.php(651): include('/home/autoexclu...')
#3 {main}
thrown in /home/autoexclusive/www/autoexclusive/objets/pneu.php on line 633