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 status = 1 ORDER BY date_add DESC LIMIT 1' at line 2

Error Number:
1064