Fatal error: Uncaught exception 'Exception' with message 'Error: 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 0, 24' at line 1<br />Error No: 1064' in /home/territor/public_html/api/Database.php:152
Stack trace:
#0 /home/territor/public_html/api/Products.php(203): Api\Database->results()
#1 /home/territor/public_html/api/Products.php(362): Api\Products->get_products(Array)
#2 /home/territor/public_html/view/ProductsView.php(227): Api\Products->get_products_compile(Array)
#3 /home/territor/public_html/view/IndexView.php(121): View\ProductsView->fetch()
#4 /home/territor/public_html/index.php(41): View\IndexView->fetch()
#5 {main}
thrown in /home/territor/public_html/api/Database.php on line 152