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 'show ORDER BY pending_publication_date DESC, id DESC LIMIT 6' at line 1