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 MySQL server version for the right syntax to use near 'ORDER BY id' at line 4 in /home/profurgo/public_html/models/db/PDOQuery.php:46
Stack trace:
#0 /home/profurgo/public_html/models/db/PDOQuery.php(46): PDOStatement->execute(Array)
#1 /home/profurgo/public_html/models/BaseData.php(25): PDOQuery->fetchAll('\r\n\t\t\t\tSELECT * ...')
#2 /home/profurgo/public_html/controllers/site/SiteProductsController.php(21): BaseData->readExtended('AND category_id...')
#3 /home/profurgo/public_html/index.php(131): SiteProductsController->index(Array)
#4 {main}
thrown in /home/profurgo/public_html/models/db/PDOQuery.php on line 46