Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' with message '42000, 1064, 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 ')' at line 1' in /home/travelto/public_html/inc/php-activerecord/lib/Connection.php:312 Stack trace: #0 /home/travelto/public_html/inc/php-activerecord/lib/Table.php(218): ActiveRecord\Connection->query('select `package...', NULL) #1 /home/travelto/public_html/inc/php-activerecord/lib/Model.php(1619): ActiveRecord\Table->find_by_sql('select `package...', NULL, true) #2 /home/travelto/public_html/template/content/search.php(31): ActiveRecord\Model::find_by_sql('select `package...') #3 /home/travelto/public_html/template/index.php(325): include('/home/travelto/...') #4 /home/travelto/public_html/search.php(16): include('/home/travelto/...') #5 {main} thrown in /home/travelto/public_html/inc/php-activerecord/lib/Connection.php on line 312