Fatal error: Uncaught mysqli_sql_exception: 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 ') and p.products_status = 1 and (p.products_model like 'J%' or p.products_mo...' at line 1 in /home/healingc/public_html/includes/functions/database.php:68
Stack trace:
#0 /home/healingc/public_html/includes/functions/database.php(68): mysqli_query(Object(mysqli), 'select distinct...')
#1 /home/healingc/public_html/templates/content/products.tpl.php(926): tep_db_query('select distinct...')
#2 /home/healingc/public_html/templates/New4/main_page.tpl.php(239): require('/home/healingc/...')
#3 /home/healingc/public_html/products.php(187): require('/home/healingc/...')
#4 {main}
thrown in /home/healingc/public_html/includes/functions/database.php on line 68