Fatal error: Uncaught exception 'PDOException' with message '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 '/,6' at line 7' in /home/wpma/www/www/classes/database.php:47
Stack trace:
#0 /home/wpma/www/www/classes/database.php(47): PDO->prepare('\r\n\t\t SELECT ...')
#1 /home/wpma/www/www/classes/subclasses/pagedata/get-entries.inc(188): database->query('\r\n\t\t SELECT ...')
#2 /home/wpma/www/www/classes/pagedata.php(93): include('/home/wpma/www/...')
#3 /home/wpma/www/www/pages/news/pre-render.inc(99): pagedata->getEntries(Array, '6', '6/')
#4 /home/wpma/www/www/front-end/pre-render.inc(54): require_once('/home/wpma/www/...')
#5 /home/wpma/www/www/index.php(89): require_once('/home/wpma/www/...')
#6 {main}
thrown in /home/wpma/www/www/classes/database.php on line 47