DB Syntax Error when Navigating Throughout Spam Pages
-
I just got this database error when going from page 15 of spam (for review) back to page 1.
I have no spam right now to see if the error can be reproduced, but I figured I’d bring it to the attention of someone in case it helps with any code fixes. See the bolded text for the important stuff. 🙂
Latest Spam
These are the latest comments identified as spam by Akismet. If you see any mistakes, simply mark the comment as “not spam” and Akismet will learn from the submission. If you wish to recover a comment from spam, simply select the comment, and click Not Spam. After 15 days we clean out the junk for you.
WordPress database error: [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 ‘-50, 0’ at line 1]
SELECT * FROM wp_comments WHERE comment_approved = ‘spam’ ORDER BY comment_date DESC LIMIT -50, 0No results found.
There are currently 730 comments identified as spam.
- The topic ‘DB Syntax Error when Navigating Throughout Spam Pages’ is closed to new replies.