Title: Multiple database errors
Last modified: March 31, 2025

---

# Multiple database errors

 *  Resolved [tomeydemarcos](https://wordpress.org/support/users/tomeydemarcos/)
 * (@tomeydemarcos)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/multiple-database-errors-2/)
 * When trying to do a scan, mulitple error show like this below:
 * **WordPress database error:** [Unknown column ‘fakegoogle’ in ‘where clause’]
   `
   SELECT SUM(blockCount) as blockCount FROM wp_wfblockediplog WHERE unixday >= 
   FLOOR(UNIX_TIMESTAMP(DATE_SUB(NOW(), interval 1 day)) / 86400) AND blockType 
   IN ("fakegoogle", "badpost", "country", "advanced", "waf")`
 * **WordPress database error:** [Unknown column ‘fakegoogle’ in ‘where clause’]
   `
   SELECT SUM(blockCount) as blockCount FROM wp_wfblockediplog WHERE unixday >= 
   FLOOR(UNIX_TIMESTAMP(DATE_SUB(NOW(), interval 7 day)) / 86400) AND blockType 
   IN ("fakegoogle", "badpost", "country", "advanced", "waf")`
 * **WordPress database error:** [Unknown column ‘fakegoogle’ in ‘where clause’]
   `
   SELECT SUM(blockCount) as blockCount FROM wp_wfblockediplog WHERE unixday >= 
   FLOOR(UNIX_TIMESTAMP(DATE_SUB(NOW(), interval 30 day)) / 86400) AND blockType
   IN ("fakegoogle", "badpost", "country", "advanced", "waf")`
 * **WordPress database error:** [Unknown column ‘throttle’ in ‘where clause’]
   `
   SELECT SUM(blockCount) as blockCount FROM wp_wfblockediplog WHERE unixday >= 
   FLOOR(UNIX_TIMESTAMP(DATE_SUB(NOW(), interval 1 day)) / 86400) AND blockType 
   IN ("throttle", "brute")`
 * **WordPress database error:** [Unknown column ‘throttle’ in ‘where clause’]
   `
   SELECT SUM(blockCount) as blockCount FROM wp_wfblockediplog WHERE unixday >= 
   FLOOR(UNIX_TIMESTAMP(DATE_SUB(NOW(), interval 7 day)) / 86400) AND blockType 
   IN ("throttle", "brute")`
 * **WordPress database error:** [Unknown column ‘throttle’ in ‘where clause’]
   `
   SELECT SUM(blockCount) `

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/multiple-database-errors-2/#post-18394673)
 * Hi [@tomeydemarcos](https://wordpress.org/support/users/tomeydemarcos/), thanks
   for getting in touch about this.
 * I have seen a similar error crop up with a mismatched plugin vs. database version
   of Wordfence on a site that had been cleaned after a malware infection.
 * Update to the latest version of Wordfence if you haven’t already done so, then
   send a diagnostic report to **wftest @ wordfence . com**? You can find the link
   to do so at the top of the **Wordfence > Tools > Diagnostics** page. Then click
   on **“Send Report by Email”**. Please add your forum username where indicated
   and _respond here after you have sent it._
 * **NOTE:** It should look as follows – Screenshot of [Tools > Diagnostic > Send by Email](https://www.wordfence.com/wp-content/uploads/2021/09/diagnosticsendbyemail.png)
 * Thanks,
   Peter.
 *  Thread Starter [tomeydemarcos](https://wordpress.org/support/users/tomeydemarcos/)
 * (@tomeydemarcos)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/multiple-database-errors-2/#post-18408621)
 * Hello! Thanks for reply. I tried to send email but i have this error ” There 
   was an error while sending the email.”
 * WHat can be the issue?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple database errors’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tomeydemarcos](https://wordpress.org/support/users/tomeydemarcos/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/multiple-database-errors-2/#post-18408621)
 * Status: resolved