mysqli_sql_exception: 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 'LIMIT 1' at line 5 in /home/sites/artproaudio.com/html/functions/Db.class.php:55 Stack trace: #0 /home/sites/artproaudio.com/html/functions/Db.class.php(55): mysqli->query('SELECT DISTINCT...') #1 /home/sites/artproaudio.com/html/functions/Departments.class.php(465): Db::query('SELECT DISTINCT...') #2 /home/sites/artproaudio.com/html/includes/product.php(18): Departments::GetDepartmentNameByProductID(NULL) #3 /home/sites/artproaudio.com/html/index.php(45): include('/home/sites/art...') #4 {main}