MySQL Error!
------------------------

The Error returned was:
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 'AND category !=6 approve=1 AND date < '2017-01-18 08:58:10' ORDER BY date DESC L' at line 1

Error Number:
1064