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 6 in /home/sites/apexelectronics.com/html/functions/Db.class.php:55
Stack trace:
#0 /home/sites/apexelectronics.com/html/functions/Db.class.php(55): mysqli->query()
#1 /home/sites/apexelectronics.com/html/functions/Departments.class.php(483): Db::query()
#2 /home/sites/apexelectronics.com/html/includes/product.php(18): Departments::GetParentDepartmentNameByProductID()
#3 /home/sites/apexelectronics.com/html/index.php(45): include('...')
#4 {main}