Fatal error: Uncaught 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 ') ) ORDER BY products_ordered_recently DESC, products_ordered DESC) as p2 ORDER' at line 1 in /home/unclereco/public_html/catalog/includes/functions/database.php:51
Stack trace:
#0 /home/unclereco/public_html/catalog/includes/functions/database.php(51): mysqli_query(Object(mysqli), 'SELECT * FROM (...')
#1 /home/unclereco/public_html/catalog/includes/modules/products_next_previous.php(202): tep_db_query('SELECT * FROM (...')
#2 /home/unclereco/public_html/catalog/product_info.php(63): include('/home/unclereco...')
#3 {main}
thrown in /home/unclereco/public_html/catalog/includes/functions/database.php on line 51