Array ( [errNo] => User Error [errMsg] => SQL: SELECT COUNT(*) FROM lots AS l INNER JOIN cars AS c ON (l.id_car=c.id) LEFT JOIN detailing_cars AS dc ON (dc.id_car=c.id) LEFT JOIN party AS p ON (p.id=dc.delivery_num) WHERE 1 AND l.block_visible ="offer" AND l.id!="474459" AND ((l.status="open" AND l.close_date_rb >="2024-12-21 17:59:56") OR (l.id_user="84" AND l.status NOT IN("del_part","del_full","open"))) AND (c.name LIKE "Opel%"c.name LIKE "VAUX%") AND l.type NOT IN("zch","moto") \ MYSQL: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'c.name LIKE "VAUX%") AND l.type NOT IN("zch","moto")' at line 1 [files] => Array ( [0] => 66 , /var/www/f-opt.com/_inc/lib/ierror.php [1] => 74 , /var/www/f-opt.com/_inc/lib/db.php [2] => 135 , /var/www/f-opt.com/_inc/lib/db.php [3] => 160 , /var/www/f-opt.com/_inc/lib/db.php [4] => 106 , /var/www/f-opt.com/_inc/mod/lot/model/lot.php [5] => 127 , /var/www/f-opt.com/_inc/mod/lot/controller/visitor.php [6] => 140 , /var/www/f-opt.com/_inc/lib/controller.php [7] => 33 , /var/www/f-opt.com/index.php ) )