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 '('now', '-12 month')' at line 1 in /Users/ppss/Sites/PPSS/api/alerter/details.php:652
Stack trace:
#0 /Users/ppss/Sites/PPSS/api/alerter/details.php(652): PDO->prepare('SELECT ID,PRODU...')
#1 /Users/ppss/Sites/PPSS/api/alerter/details.php(820): renderExpireNoReturn()
#2 /Users/ppss/Sites/PPSS/api/alerter/details.php(975): render('EXPIRE_NR_ITEMS...')
#3 {main}
thrown in /Users/ppss/Sites/PPSS/api/alerter/details.php on line 652