Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 name ASC' at line 1 in /home/fingate/webapps/fingateapp/system/classes/generic/class.database.php:73
Stack trace:
#0 /home/fingate/webapps/fingateapp/system/classes/generic/class.database.php(73): PDOStatement->execute()
#1 /home/fingate/webapps/fingateapp/system/classes/generic/class.database.php(77): Database->execute()
#2 /home/fingate/webapps/fingateapp/system/scripts/sql/sql_functions.php(54): Database->resultset()
#3 /home/fingate/webapps/fingateapp/system/html/admin/fg/selectBranch.php(48): q()
#4 {main}
thrown in /home/fingate/webapps/fingateapp/system/classes/generic/class.database.php on line 73